Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics Export to Prometheus Not Working – Documentation Unclear #997

Closed
adityassharma-ss opened this issue Feb 24, 2025 · 2 comments
Closed

Comments

@adityassharma-ss
Copy link

Image

I am trying to integrate my Faro React app with Grafana, Loki, Prometheus, and Alloy. While I can successfully receive data in Grafana, Prometheus is not capturing the telemetry metrics. The error message indicates that telemetry metrics are not supported.

Additionally, the documentation states that the exporter is compatible with Loki and Prometheus, but it does not clearly explain how to configure metrics export to Prometheus. Can you clarify:

How exactly should Faro metrics be exposed to Prometheus?
Are there specific configurations required to enable telemetry metrics in Prometheus?
Is there any workaround or upcoming support for this functionality?
Any guidance on resolving this issue would be greatly appreciated.

@codecapitano
Copy link
Collaborator

codecapitano commented Feb 24, 2025

Hi @adityassharma-ss

How exactly should Faro metrics be exposed to Prometheus?

Everything mentioned in the description you've shared is happening under the hood in the integrated Alloy Faro receiver.
Though all Faro signals except traces are stored as Loki logs.
Nor Faro itself or the receivers do create Prom. metrics.
I expect this being a bug in the docs. We'll double check.

Are there specific configurations required to enable telemetry metrics in Prometheus?

Faro doesn't support Prom. metrics ootb.
But you can use Loki recording rules to generate Prom. metrics from Loki logs.
See: Manage recording rules

Is there any workaround or upcoming support for this functionality?

No upcoming support in the near future.

Any guidance on resolving this issue would be greatly appreciated.

Using recording rules is the way if you want to create Prom. metrics from Faro data.
See: Manage recording rules

@adityassharma-ss
Copy link
Author

Okay. Thanks for clarifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants