Grafana and Prometheus assets

Storage Benchmark Kit

Grafana and Prometheus assets

This directory contains a local Docker Compose monitoring stack, Grafana provisioning/configuration, Prometheus target files, dashboards, and Kubernetes examples for observing SBK and SBM metrics.

Local Compose stack

Review ports and image tags in docker-compose.yml, then start from this directory:

cd grafana
docker compose up -d
docker compose ps

Open the Grafana address configured by the Compose file and select the provisioned SBK dashboard. Stop the stack with:

docker compose down

Do not use default dashboard credentials on a shared network.

Prometheus targets

Target files under prometheus/ separate concerns:

Replace example addresses with endpoints reachable from the Prometheus container. Container-local localhost does not normally refer to the benchmark host.

Kubernetes manifests

The Grafana and Prometheus deployment/service manifests are examples. Apply them with kubectl apply -k grafana/ from the repository root. Kustomize generates ConfigMaps from the checked-in dashboards, provisioning, Grafana configuration, and Prometheus target files, so the manifests contain no workstation-specific host paths. Review namespaces, security context, credentials, service exposure, resource limits, and ConfigMap size limits before production use.

Interpreting dashboards

Dashboards visualize emitted measurements; they do not correct an invalid experiment. Correlate SBK throughput and latency with client CPU, JVM behavior, network saturation, storage load, errors, discarded latency counts, and active worker counts. Preserve the dashboard revision and Prometheus configuration with published results.

Updating dashboards

See SBM, distributed architecture, and container guidance.