Could we add customized headers dynamically for OtlpMetricExporter? #4220
-
We have the need to add our own generated signature for auth when the metric data was exported. How could we reach that? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
cijothomas
Feb 23, 2023
Replies: 1 comment
-
You can control the httpclient used by OTLPExporters, so that can be leveraged to achieve this goal. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aaron-ai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can control the httpclient used by OTLPExporters, so that can be leveraged to achieve this goal.
https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/src/OpenTelemetry.Exporter.OpenTelemetryProtocol#configure-httpclient