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

Merge arbitrary metadata via all Sibyl.Handlers.attach_* functions. #20

Open
vereis opened this issue Aug 2, 2022 · 1 comment
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@vereis
Copy link
Collaborator

vereis commented Aug 2, 2022

It would be very useful to be able to attach arbitrary metadata which gets passed into all our handlers when attached, for custom metadata overrides such as setting a custom debug_user: :vereis or env: :staging.

@vereis vereis added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 2, 2022
@vereis
Copy link
Collaborator Author

vereis commented Aug 2, 2022

Something like Sibyl.Handlers.attach_all_events(Sibyl.Handlers.OpenTelemetry, metadata: %{user: "[email protected]", reason: "debugging weird bug"})

Doing this would attach the above to all OpenTelemetry traces which could then be used for additional filtering on whatever OpenTelemetry compatible UI you use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant