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

No support for Structured Logging #1025

Open
joshbartley opened this issue Oct 19, 2024 · 1 comment
Open

No support for Structured Logging #1025

joshbartley opened this issue Oct 19, 2024 · 1 comment
Labels
datasource/ClickHouse type/bug Something isn't working

Comments

@joshbartley
Copy link

What happened:
OpenTelemetry Log exporters support structured logging which provides a way to increase log compression by not formatting the string during log creation. Using the Clickhouse Datasource, this logs stay in that format and are not helpful when shown.

What you expected to happen:
Message Count {0} {1} {2} to have the option to convert using the Labels with Keys 0, 1, 2.

How to reproduce it (as minimally and precisely as possible):
Screenshot below.

Screenshots

Image

Anything else we need to know?:

This is C#, other log formats use a label name Message Count {messageCount}

Environment:

  • Grafana version: Grafana v11.2.2
  • Plugin version: 4.4.0
  • OS Grafana is installed on: Ubuntu
  • User OS & Browser: Windows, Chrome
  • Others:

*I attempted this as a feature request though Github said that was not recognized as a type.

@joshbartley joshbartley added datasource/ClickHouse type/bug Something isn't working labels Oct 19, 2024
@SpencerTorres
Copy link
Collaborator

Fascinating. I wonder if this is logic belongs in the Grafana logs panel, which already knows about the log Body and Labels

@mshustov mshustov added enhancement New feature or request and removed enhancement New feature or request labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/ClickHouse type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants