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

Example Queries/Grafana Dashboard #2

Closed
andrewwebber opened this issue Jan 28, 2016 · 1 comment
Closed

Example Queries/Grafana Dashboard #2

andrewwebber opened this issue Jan 28, 2016 · 1 comment

Comments

@andrewwebber
Copy link

Do you have any example queries or a grafana dashboard that worked for you?

@vrischmann
Copy link
Owner

Hi.

here's a couple of queries I use a lot on my dashboards:

SELECT sum("m1") FROM "topic.read.meter" WHERE $timeFilter GROUP BY time(1m) fill(0)

this sum the 1-minute rates for topic.read.meter.

SELECT max("p50") FROM "done.sent.timer" WHERE $timeFilter GROUP BY time(1m) fill(0)

this gives you the maximum 50-percentile for done.sent.timer.

$timeFilter is set by grafana. You need to add influx as a data source first.
These are the full queries but really, I just use the default grafana editor to build my metrics from InfluxDB. It's super easy.

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