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

Prometheus + Grafana Integration not working #662

Open
QAInsights opened this issue Oct 26, 2023 · 3 comments
Open

Prometheus + Grafana Integration not working #662

QAInsights opened this issue Oct 26, 2023 · 3 comments

Comments

@QAInsights
Copy link

Version and Runtime

Version: 12.11.1
Commit: 
Runtime: go1.21.3 darwin/arm64
Date: 2023-10-02T09:03:39Z

Expected Behaviour

echo "GET http://localhost/" | vegeta attack -duration=15m -prometheus-addr 0.0.0.0:9090 command works fine. I can see the prometheus stats in the browser. But the Grafana integration is failing.

Actual Behaviour

While trying to add Prometheus data source in Grafana showing below error.
image

Steps to Reproduce

  1. Install vegeta
  2. Install grafana
  3. Run vegeta w/ prometheus flag
  4. Add prometheus datasource in Grafana

Additional Context

grafana version 10.2.0

@tsenart
Copy link
Owner

tsenart commented Oct 26, 2023

That seems like an issue between Grafana and Prometheus. Or am I misunderstanding?

@QAInsights
Copy link
Author

Yes, that's correct. I reinstalled everything starting from scratch. Started the test in vegeta. But the dashboard is blank.

image

But the Grafana dashboard looks empty.
image

Prometheus data source
image

@ocodista
Copy link

It seems that adding the -prometheus-addr is not pushing any data to prometheus, I wonder why would that be.

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

3 participants