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

Configuration Functions for OpenTelemetry #37

Open
EranOfer opened this issue Aug 14, 2024 · 0 comments
Open

Configuration Functions for OpenTelemetry #37

EranOfer opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@EranOfer
Copy link

Hi,

We are currently using a custom opentelemetry tracer in our application.
At the moment, we replace the global tracer during our custom go plugin initialization using the following code:

otel.SetTextMapPropagator(textMapPropagator)
otel.SetTracerProvider(tracerProvider)

While this approach works, it feels fragile and prone to issues.

I would like to suggest adding similar configuration functions in the Tyk library for better integration and stability.

Specifically, having functions like trace.SetTracerProvider and trace.SetTextMapPropagator in the github.com/TykTechnologies/opentelemetry/trace package would be very helpful.

This addition would allow for more seamless integration and configuration of the OpenTelemetry components within Tyk.

Thank you for considering this request.

Best regards,
Eran ofer

@EranOfer EranOfer added the enhancement New feature or request label Aug 14, 2024
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

No branches or pull requests

1 participant