Search code examples
grafanaprometheus

What does the "instant" checkbox in Grafana graphs based on prometheus do?


I have no clue what the option "instant" means in Grafana when creating graph with Prometheus.

Any ideas?


Solution

  • It uses the query API endpoint rather than the query_range API endpoint on Prometheus, which is more efficient if you only care about the end of your time range and don't want to pull in data that Grafana is going to throw away again.