examples/observability/dashboards/grafana/README.md
This directory contains Grafana dashboard configurations (as JSON) designed to monitor vLLM performance and metrics.
The easiest way to use these dashboards is to manually import the JSON configurations directly into your Grafana instance:
If you're using the Grafana Operator
in Kubernetes, you can wrap these JSON configurations in a GrafanaDashboard custom
resource:
# Note: Adjust the instanceSelector to match your Grafana instance's labels
# You can check with: kubectl get grafana -o yaml
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: vllm-performance-dashboard
spec:
instanceSelector:
matchLabels:
dashboards: grafana # Adjust to match your Grafana instance labels
folder: "vLLM Monitoring"
json: |
# Replace this comment with the complete JSON content from
# performance_statistics.json - The JSON should start with { and end with }
Then apply to your cluster:
kubectl apply -f your-dashboard.yaml -n <namespace>