faro-web-sdk
faro-web-sdk copied to clipboard
ability to directly forward to victoriametrics endpoints from alloy
Description
Wish to send frontend telemetry data directly to victoriametrics endpoints from Alloy.
Architecture is as following :
- GKE kubernetes cluster with nodejs frontends
- grafana deployed in dev-grafana namespace
- Faro and Alloy delployed in dev-faro namespace
- victoriametrics prometheus scraping metrics from all applications
- Only able to define either tempo or mimir endpoints at the moment for real user monitoring which we do not have in our platform as of now. Neither do we have Loki .
Only got one reference of the same in documention viz.,
https://github.com/grafana/faro-web-sdk/blob/09ca9582e5e7387c0535a3baae4ea00b2c4e4d6a/demo/docs/instrumentations/measurements.md?plain=1#L14
Captured frontend measurements are stored in Loki instead of Prometheus to avoid cardinality issues.
Proposed solution
Please could it be explained more clearly if we only need to pick Faro and Alloy for Real user monitoring then can we use prometheus OR victoriametrics endpoints directly ? If not why and also please do elaborate on cardinality issues if any referring to the documents mentioned above.