tkowalcz / tjahzi

Java clients, log4j2 and logback appenders for Grafana Loki
MIT License
103 stars 18 forks source link

Support structured_metadata #123

Open pan3793 opened 3 months ago

pan3793 commented 3 months ago

Use Case

TL;DR to tackle the huge number of small files issue for the K8s log aggregation scenario, see detailed discussions at: https://github.com/grafana/loki/issues/5605#issuecomment-2135555344

Expectation

According to https://grafana.com/docs/loki/latest/get-started/labels/structured-metadata, the log producer needs to "attaching structured metadata to log lines"

tkowalcz commented 3 months ago

Thanks! I will investigate this feature and implement in a few weeks.