Open bigfish49 opened 2 years ago
Oh sweet, yes we can. I've been wondering when they'd get around to it.
Do you have an example use in mind? I could attach the entire log line but perhaps we want to only add a substring?
On Wed, 28 Sept 2022, 23:08 bigfish49, @.***> wrote:
As prometheus and grafana has supported exemplar feature, can mtail support this feature? here is some doc related:
https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md https://grafana.com/docs/grafana/latest/basics/exemplars/
https://prometheus.io/docs/prometheus/latest/feature_flags/#exemplars-storage thanks!
— Reply to this email directly, view it on GitHub https://github.com/google/mtail/issues/684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXFX63YY7DDLIWH25N2YB3WAQ7N3ANCNFSM6AAAAAAQXYOPEA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
In our use case, we need to attach substrings like trace-id, as we just want to link to the log context by using grafana. So, i think we should support this by adding a substring. I suppose we could have done this in this way:
in the example above, exemplar value is not define, so just default it to 0.
As prometheus and grafana has supported exemplar feature, can mtail support this feature? here is some doc related: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md https://grafana.com/docs/grafana/latest/basics/exemplars/ https://prometheus.io/docs/prometheus/latest/feature_flags/#exemplars-storage thanks!