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

OTLP Integration for Tracing and Logs #1488

Open
cpeliciari opened this issue Feb 11, 2025 · 0 comments
Open

OTLP Integration for Tracing and Logs #1488

cpeliciari opened this issue Feb 11, 2025 · 0 comments

Comments

@cpeliciari
Copy link

It would be a new feature aimed at integrating with OTLP. This would help us have systems with tracing alongside logs.

I think it’s feasible to create a new package “zapotlp” and, to maintain compatibility, we can create a new method WithSpan that returns a Logger. With this, we can build messages compatible with OTLP to be sent.

If interested, I can submit a PR.

Dependencies:

  • go.opentelemetry.io/otel
  • go.opentelemetry.io/otel/log
  • go.opentelemetry.io/otel/sdk/log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant