graftorio icon indicating copy to clipboard operation
graftorio copied to clipboard

Add example queries to README or wiki

Open phdoerfler opened this issue 7 years ago • 2 comments

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

phdoerfler avatar Aug 30 '18 08:08 phdoerfler

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

bradjshannon avatar Sep 12 '18 02:09 bradjshannon

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

afex avatar Feb 28 '19 01:02 afex