Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow static headers for OTLP exporter #160

Merged

Conversation

brendanmaguire
Copy link
Contributor

  • A new parameter is added which can be used to specify static headers to be included in the HTTP requests
  • Defaults to an empty map

* A new parameter is added which can be used to specify static headers to be included in the HTTP requests
* Defaults to an empty map
@catostrophe catostrophe added the enhancement New feature or request label Mar 30, 2022
@catostrophe catostrophe changed the title Allow static headers for Otlp exporter Allow static headers for OTLP exporter Mar 30, 2022
@catostrophe catostrophe merged commit d9235be into trace4cats:master Mar 30, 2022
@catostrophe
Copy link
Member

@brendanmaguire Should we have added the same parameter to io.janstenpickle.trace4cats.opentelemetry.otlp.OpenTelemetryOtlpHttpSpanExporter?

@catostrophe
Copy link
Member

@brendanmaguire I think it should've been List[(CIString, String)] since duplicate header names are allowed

@brendanmaguire
Copy link
Contributor Author

Yep. Make sense to me.

@brendanmaguire brendanmaguire deleted the static-headers-for-otlp-exporter branch March 31, 2022 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants