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

Create FormatEvent implementation that would make it easier to log trace and span IDs. #120

Open
mladedav opened this issue Mar 27, 2024 · 0 comments

Comments

@mladedav
Copy link
Contributor

Feature Request

Motivation

tracing does not provide a way to customize fields that are printed in its formaters (issue). People often want trace ID and span ID to be printed in their logs so that it is easier to correlate with thraces.

The solution most people (me included) arrive at is copying and tweaking Json from tracing so that it prints what they want.

Proposal

Instead of everyone forking that implementation, it could live here. It's not the best solution and I look forward to tracing having a way to natively extend the format, but until then I think it would be better to provide this here.

Alternatives

  • Do nothing
  • Solve the issue in tracing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant