Open Samyu09 opened 8 months ago
The otlpHeaders
configuration setting is using comma-separated key=value pairs, see also https://github.com/inception-health/otel-export-trace-action?tab=readme-ov-file#action-inputs.
Your example should work like this:
- name: Export Trace
uses: inception-health/otel-export-trace-action@latest
with:
otlpEndpoint: ${{ secrets.OTEL_ENDPOINT }}
otlpHeaders: Content-Type=application/json, authorization=Basic ${{ secrets.BASIC_AUTH_TOKEN }}
githubToken: ${{ secrets.OTEL_TOK }}
runId: ${{ github.event.workflow_run.id }}
i have configured auth server at openteleemtry end this way
and the github action to send traces is as follows
any help ?? on customizing the otlpHeaders here so as to make it work???