grafana / explore-logs

Repo for the Loki log exploration app
GNU Affero General Public License v3.0
287 stars 11 forks source link

Enhance Explore Apps with support for filtering and grouping by OpenTelemetry resource attributes #337

Open matryer opened 4 months ago

matryer commented 4 months ago

If people use otel, we can make their browsing experience even better.

the idea here being these extra resource attributes (labels) in otel don't get put on each metric/log, but instead get sent as a separate "info" metric. Explore Apps would need to do a PromQL join to actually filter on them, which is hard for humans, but easy for computers

csmarchbanks commented 4 months ago

For non OpenTelemetry users we could also improve the experience with some basic prometheus label conventions. E.g. look at matching job labels to find other related series/streams. For kubernetes workloads pod can also provide a lot of insight to match to other similar pods.