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

loki log is display without the severity #121

Open
vincenzopalazzo opened this issue Sep 30, 2024 · 8 comments
Open

loki log is display without the severity #121

vincenzopalazzo opened this issue Sep 30, 2024 · 8 comments

Comments

@vincenzopalazzo
Copy link

I do not think this is a good place to make this question but IDK where to make one of this.

So I am running the following libraries https://github.com/vincenzopalazzo/cln-opentelemetry/blob/main/opentelemetry-common/Cargo.toml#L7

However with the recent version of the docker-otel-lgtm I see the log in the following way

Image

But the the may version I see the log line displayed with the colors

Image

@zeitlinger
Copy link
Member

I don't understand this: "But the the may version I see the log line displayed with the colors"

Can you describe what changed or what you expect to be different?

@vincenzopalazzo
Copy link
Author

Sorry if I was not able to make it clear @zeitlinger

If you see the image first image, the log line at the info level is gray, but in the second image the log line at the info level is green.

I am not able to understand what it is changed across the two grafana instance in order to restore the colors

Do you have any idea?

@vincenzopalazzo
Copy link
Author

Ah looks like the fields inside the log message are different.

With the docke image I have the detected_log_level

Image

But with with the docker image from may (or so) I get the field like level

Image

@zeitlinger
Copy link
Member

we've switched to the native otlp endpoint: https://grafana.com/docs/loki/latest/send-data/otel/native_otlp_vs_loki_exporter/

@vincenzopalazzo
Copy link
Author

So if I am understanding correctly there is no way to restore the colors? @zeitlinger

Thanks for your time

@zeitlinger
Copy link
Member

https://github.com/grafana/loki/issues is the right place to ask - but I've also asked internally

@zeitlinger
Copy link
Member

will be fixed with the next grafana release

grafana/grafana#93574

@vincenzopalazzo
Copy link
Author

Amazing, when it will land in this repository could you please close this issue? so I know when upgrade my node :)

Thanks!

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

2 participants