Replies: 2 comments
|
Hi! I would not recommend to overuse the static labels (properties), cause it will lead to the high cardinality problem. If you use logger as it was designed, for the structured logging, you will have all your labels in place. Also, probably, you should read that page from the documentation. It has an examples how to work with such kind of data, using Grafana's JSON parser as a part of the pipeline step |
0 replies
|
Thanks @mishamyte! I removed most of the labels and started using structured logging with the combination of JSON parser, and it works perfect :) And for my original question - instead of a label for |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
At the app startup I configure the logger, so I can log exceptions as soon as possible. One of the labels is
User, which is unknown at this time.For example:
Then the user logs in, so I know his
User. Is it possible to overwrite theUserlabel, or do I have to configure the full logger again?All reactions