imandra-ai / ocaml-opentelemetry

Instrumentation for https://opentelemetry.io
http://docs.imandra.ai/ocaml-opentelemetry/
33 stars 7 forks source link

feat: Allow setting API headers #20

Closed psafont closed 2 years ago

psafont commented 2 years ago

This can be done through the API or by setting OTEL_EXPORTER_OTLP_HEADERS

This is needed to export data to new relic, for example: https://docs.newrelic.com/docs/more-integrations/open-source-telemetry-integrations/opentelemetry/opentelemetry-setup/