📊 Dashboard & Visualization

Grafana Dashboards

Create comprehensive monitoring dashboards with Grafana. Learn to visualize metrics, set up alerts, and build custom dashboards for your applications.

Dashboard Types

Kubernetes Cluster Overview

Monitor cluster health, resource usage, and pod status

Get a comprehensive view of your Kubernetes cluster with pre-built dashboards showing CPU, memory, and network metrics.

Key Features:

Cluster resource utilization
Pod status overview
Node health monitoring
Namespace resource usage

Node Exporter Metrics

Hardware and OS-level metrics for all nodes

Monitor individual node performance with detailed metrics from node-exporter including CPU, memory, disk, and network statistics.

Key Features:

CPU usage by core
Memory utilization
Disk I/O metrics
Network interface statistics

Prometheus Stats

Monitor Prometheus server performance and metrics

Track Prometheus server health, scrape performance, and query statistics to ensure optimal monitoring setup.

Key Features:

Scrape duration metrics
Target health status
Query performance
Storage utilization

Custom Application Metrics

Create dashboards for your custom applications

Build custom dashboards to monitor your applications with business-specific metrics and KPIs.

Key Features:

Custom metric visualization
Business KPI tracking
Application performance
User behavior metrics

Panel Types

Time Series

Display metrics over time with various visualization options

Use case: CPU usage, memory consumption, request rates

Stat Panel

Show single values or simple statistics

Use case: Current values, totals, averages

Table Panel

Display data in tabular format

Use case: Top queries, error logs, resource lists

Gauge Panel

Circular gauge for percentage-based metrics

Use case: CPU utilization, memory usage, disk space

Data Sources Configuration

Prometheus

Primary data source for metrics collection

Time Series Database
URL:http://prometheus:9090
Access:Server (default)
Authentication:None

Loki

Centralized logging for log-based dashboards

Log Aggregation
URL:http://loki:3100
Access:Server (default)
Authentication:None

Dashboard Best Practices

Design Guidelines

Follow these best practices to create effective and maintainable dashboards.

  • Use consistent color schemes across panels
  • Set appropriate refresh intervals (30s for real-time, 5m for historical)
  • Organize panels logically with clear titles
  • Use variables for dynamic filtering
  • Implement proper alerting thresholds
  • Regular dashboard maintenance and optimization

Quick Setup Guide

Access Grafana

Get started with Grafana dashboards in minutes.

1. Port Forward to Grafana

$ kubectl port-forward svc/prometheus-grafana 3000:80 -n monitoring

2. Access Grafana UI

Open your browser and navigate to http://localhost:3000

3. Login Credentials

Username: admin
Password: prom-operator

Ready to Create Alerts?

Now that you have dashboards set up, learn how to configure alerting rules for proactive monitoring.