Challenge - 5 Problems
Grafana Dashboard Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
What is the output of this Grafana query?
Given a Prometheus query in Grafana:
sum(rate(http_requests_total[5m])) by (service)What does this query show on the dashboard?
Attempts:
2 left
💡 Hint
Think about what 'rate' and 'sum by' do in Prometheus queries.
✗ Incorrect
The rate(http_requests_total[5m]) calculates the per-second average increase of the counter over the last 5 minutes. Summing by service groups the data per service.
❓ Configuration
intermediate2:00remaining
Which Grafana configuration snippet correctly sets up a Prometheus data source?
Select the correct YAML snippet to configure a Prometheus data source in Grafana's provisioning files.
Attempts:
2 left
💡 Hint
Check the apiVersion, URL port, and access mode for Prometheus defaults.
✗ Incorrect
Grafana expects apiVersion 1 for provisioning datasources. The default Prometheus port is 9090, and access is usually set to proxy.
🔀 Workflow
advanced2:00remaining
Order the steps to create a new Grafana dashboard for microservices metrics
Arrange these steps in the correct order to create a new Grafana dashboard displaying microservices metrics.
Attempts:
2 left
💡 Hint
Think about the natural flow from login to saving the dashboard.
✗ Incorrect
You first log in and create a dashboard, then add panels, write queries, and finally save.
❓ Troubleshoot
advanced2:00remaining
Why does this Grafana panel show 'No data' for a valid Prometheus query?
A Grafana panel with a Prometheus query returns 'No data' even though the query works in Prometheus UI. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check connectivity between Grafana and Prometheus.
✗ Incorrect
If the query works in Prometheus UI but not in Grafana, the data source connection is often the issue.
✅ Best Practice
expert2:00remaining
Which practice improves Grafana dashboard performance for microservices monitoring?
Choose the best practice to optimize Grafana dashboards that monitor many microservices with high metric volume.
Attempts:
2 left
💡 Hint
Think about reducing data load and improving usability.
✗ Incorrect
Templating variables let users select specific services, reducing query load and improving dashboard speed.