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

Cannot add to Grafana #271

Closed
bezibaerchen opened this issue Feb 29, 2024 · 3 comments
Closed

Cannot add to Grafana #271

bezibaerchen opened this issue Feb 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@bezibaerchen
Copy link

Containers up and running and I can access in Browser.

If I add hostname:port to Grafana as a prometheus source I am getting:

"ReadObject: expect { or , or } or n, but found <, error found in #1 byte of ...|

Exporta|..., bigger context ...|

Exportarr

metrics|... - There was an error returned querying the Prometheus API."

Any hint how to add the data source? And is there an example dashboard?

@bezibaerchen bezibaerchen added the bug Something isn't working label Feb 29, 2024
@onedr0p
Copy link
Owner

onedr0p commented Feb 29, 2024

Grafana must be pointed to use the Prometheus source, you cannot point the dashboard included here directly at the exportarr metrics endpoint.

Related: #14

@bezibaerchen
Copy link
Author

I am not trying to point a dashboard to the metrics but the Prometheus source and am getting error above.
I can't even find the dashboard you mentioned, hence I was asking for it.

@rtrox
Copy link
Collaborator

rtrox commented Mar 2, 2024

Example Dashboards can be found in the examples directory:

https://github.com/onedr0p/exportarr/tree/master/examples/grafana


metrics|... - There was an error returned querying the Prometheus API."

Any hint how to add the data source? And is there an example dashboard?

This error is not coming from exportarr -- exportarr does not talk to prometheus directly, it exposes an http endpoint which prometheus should be scraping. You'll need to set up a scrape config in your prometheus instance to read from exportarr.

@onedr0p onedr0p closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants