Replies: 3 comments 5 replies
-
Hi @matiduck Did you maybe try out to send the data via curl so we can now were in the path the problem happens? Cheers, |
Beta Was this translation helpful? Give feedback.
-
Thanks for you response!
which produces following body to /collect endpoint:
I also set up loki.echo component in grafana agent to see how this call is parsed and I got following log:
As you can see, the labels array is empty in agent log because there is no entry in a request body which holds information about them. Is there any place in Faro SDK that I could specify labels? |
Beta Was this translation helpful? Give feedback.
-
Seeing a similar issue except I'm not seeing the log come through at all from faro -> loki grafana. When I do The log I see in Loki is:
I'm sending these events through faro-web-sdk -> grafana Alloy which sends them to Loki. What am I missing? Shouldn't base |
Beta Was this translation helpful? Give feedback.
-
I would like to send a Logs from Angular application using Grafana Agent and store them in Loki.
I initialized Faro SDK in application as described here
When I try to send log request (using
pushLog
with some context set) I constantly got an error:My Grafana Agent is configured in flow mode and looks exactly like configuration from example here (without sourcemaps)
Could you advise how I could set up labels from Faro SDK? I have multiple small angular ui and I wanted all of them report to single Grafana Agent instance that push logs to Loki with appropriate labels.
Thank you in advance for you help!
Beta Was this translation helpful? Give feedback.
All reactions