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

Add example queries to README or wiki #5

Open
phdoerfler opened this issue Aug 30, 2018 · 2 comments
Open

Add example queries to README or wiki #5

phdoerfler opened this issue Aug 30, 2018 · 2 comments

Comments

@phdoerfler
Copy link

phdoerfler commented Aug 30, 2018

For people like me who never used grafana nor prometheus before it should be helpful if you added some of your queries that you used for the dashboard screenshot.

For instance, here's two of mine that are part of this panel:
image

rate(factorio_item_production_output{name="high-tech-science-pack"}[2m])*100

(factorio_item_production_output{name="high-tech-science-pack"} - (factorio_item_production_output{name="high-tech-science-pack"} offset 1m)) * (60 / 36)

The latter query has this weird factor to compensate for my reduced UPS (approximately 36 UPS instead of 60). But this is another issue.

@afex I can file a PR with some of my queries if you want

@bradjshannon
Copy link

I would really really appreciate any examples you can provide... This is my first grafana experience.

@afex
Copy link
Owner

afex commented Feb 28, 2019

any example queries are welcome! if you can, provide some context on whether they are more useful for early or late-game factories.

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