- Simple definition: time on the x-axis, metric value on the y-axis, and one or more series (lines) showing how that value changes over time.
- Why it matters: it’s the most frequently used visualization in Grafana for answering questions such as:
- “Show me the error rate for the past hour.”
- “What did traffic look like during the deployment?”
- “Is latency trending up over the past week?”

- Multiple queries per panel
- Overlay several PromQL queries on the same time axis to compare services, signals, or percentiles.
- Example: compare frontend, backend, and database request rates
- Practical uses: front end vs. back end traffic, request rate and error rate together, or multiple percentiles plotted side-by-side. The panel becomes a short narrative rather than a single number.
-
Legend and hover
- The legend identifies each line. Grafana’s default shows the raw metric name and labels, which can be noisy; format the legend to friendlier names (for example:
front endandback end). - Hover reveals exact values at a specific timestamp, which helps determine the precise time of spikes or anomalies.
- The legend identifies each line. Grafana’s default shows the raw metric name and labels, which can be noisy; format the legend to friendlier names (for example:
Design panels to answer one clear operational question (for example “error rate by service” or “95th percentile latency over 7d”). Focused panels are quicker to scan and more actionable than catch-all graphs.
-
Panel layout and dashboard organization
- Use rows or collapsible sections to group panels by golden signal (latency, traffic, errors, saturation) or by service/component.
- Keep dashboards scannable: top-left for summary or service-level health, then drill down by signal or component.
-
Performance and cardinality management
- Avoid queries that explode into thousands of series. High-cardinality results slow down rendering and can overload Grafana or Prometheus.
- Aggregate where appropriate (e.g.,
sumoravgover a meaningful dimension) and use rate windows that make sense for your traffic patterns.
Avoid high-cardinality label combinations in dashboard queries. Panels that expand across thousands of series can slow rendering and overload Grafana or Prometheus.
Best practices and recommendations
- Build dashboards around the golden signals: traffic, errors, latency, and saturation. Start with traffic panels (request rates), then add error and latency panels for the same service.
- Keep naming consistent across panels and queries for discoverability and reuse.
- Use templating/variables for service names, environments, and regions so one dashboard can adapt to many contexts.
- Prefer downsampling/aggregation in long-range graphs to keep queries efficient and readable (e.g., longer range = larger step or aggregation window).
- Annotate dashboards with deployment or incident events to correlate spikes with changes.
- Create a dashboard and add time series panels for a single service:
- Traffic: requests per second (5m rate)
- Errors: error rate as a percentage
- Latency: p50/p95/p99 lines on the same panel
- Saturation: CPU or memory usage for the service nodes
- Group those panels under a collapsible row labeled with the service name or golden signal.
- Grafana Time Series Visualization
- Prometheus Querying Basics
- Best practices for Prometheus exposition