You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function is using . to express enclosed slog.Attrs. But this seems not to be allowed in loki[1].
I tweaked that to use _ in my usecase and it's easy to send a PR for this fix. But this solution might be not the ideal that the auhor of this library think of.
I'm using
slog-loki
just for my personal project. I've tried the newer version with updating the client of loki before merging #5 .I found
slog-loki
might need to convert label names in different way.slog-loki/converter.go
Lines 39 to 55 in 7da5375
The function is using
.
to express enclosed slog.Attrs. But this seems not to be allowed in loki[1].I tweaked that to use
_
in my usecase and it's easy to send a PR for this fix. But this solution might be not the ideal that the auhor of this library think of.[1]https://grafana.com/docs/loki/latest/get-started/labels/#format
The text was updated successfully, but these errors were encountered: