We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey there,
is it possible to add default attributes to the top level of the log record?
This is useful to enable easier querying in betterstack, by e.g. adding the source tag on the top level of the record.
I have tried to add it to the record by using
instance.With("scope", "my-scope")
However this shows up as extra.scope in betterstack.
Thanks!
The text was updated successfully, but these errors were encountered:
What about making the ContextKey optional ?
When ContextKey=="", then add the attribute to the root. WDYT ?
Sorry, something went wrong.
Sounds good, I think this should work.
No branches or pull requests
Hey there,
is it possible to add default attributes to the top level of the log record?
This is useful to enable easier querying in betterstack, by e.g. adding the source tag on the top level of the record.
I have tried to add it to the record by using
However this shows up as extra.scope in betterstack.
Thanks!
The text was updated successfully, but these errors were encountered: