Grafana: Troubleshooting missing data points in Grafana charts

This documentation is part of the Using Prometheus guide. You can view the complete guide here: How to configure Grafana to use Prometheus as a data source.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Grafana cloud solution that provides a host of benefits, including:

  • Unlimited users, dashboards, and alerts.
  • Unlimited and dedicated SMTP email server included.
  • Plugins installable in one click.
  • Seamless SSO support, compatible with GitLab, GitHub, Google, and generic OAuth2 protocols.
  • Effortless updates with just a click.
  • Customizable domain name secured with HTTPS (for example, https://grafana.your-company.com).
  • Optimal performance and robust security powered by a private and dedicated VM.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's Grafana cloud hosting solution!

Are you noticing gaps in your Grafana charts? A common cause is a mismatch in scrape intervals between Prometheus and Grafana. Here is how you can address this:

  1. Open your Prometheus configuration file and check the global/scrape_interval setting. For Stackhero's Prometheus instance, the default is typically 15s.

Prometheus default configurationPrometheus default configuration

  1. In the Grafana UI, navigate to Configuration > Data Sources and select Prometheus.
  2. Ensure the Scrape Interval in Grafana matches the scrape_interval in your Prometheus configuration.

Prometheus data source configuration in GrafanaPrometheus data source configuration in Grafana

By aligning the scrape intervals, you can resolve most issues related to missing data points in your dashboards.