nitro-dashboards

by Offchain Labs

Helm chartv1.0.4App debaafa0c1b2017d6c53e697742f6a4d6bf1ebe4MITVerified publisher

Community Grafana dashboards for Arbitrum Nitro, packaged as ConfigMaps for Grafana sidecar auto-discovery

About this chart

Nitro Dashboards

Community Grafana dashboards for Arbitrum Nitro nodes, relays, sequencers, validators, and Timeboost, packaged as one ConfigMap per dashboard for automatic discovery by a Grafana dashboard sidecar (such as the one deployed by kube-prometheus-stack).

The dashboards are rendered from OffchainLabs/ocl-dashboards and synced into this chart automatically. The chart appVersion records the source commit the packaged dashboards were rendered from. If you prefer to import the raw JSON into Grafana directly, every chart release also publishes the dashboard files as a GitHub Release.

See dashboards/README.md for the conventions the dashboards expect: datasource variables, required metric labels, component discovery queries, and the optional Kubernetes event overlays.

Quickstart

helm repo add offchainlabs https://charts.arbitrum.io
helm install <my-release> offchainlabs/nitro-dashboards

Each dashboard is deployed as a ConfigMap labelled grafana_dashboard: "1", which the Grafana sidecar loads automatically.

Examples

File the dashboards into a Grafana folder and skip one of them:

helm install <my-release> offchainlabs/nitro-dashboards \
--set grafanaFolder=Arbitrum \
--set excludeDashboards={timeboost-summary}

Parameters

Dashboard provisioning

NameDescriptionValue
sidecar.labelLabel key the Grafana dashboard sidecar watches forgrafana_dashboard
sidecar.labelValueLabel value the Grafana dashboard sidecar matches on1
grafanaFolderGrafana folder to file the dashboards into. When set, it is added to every dashboard ConfigMap as the annotation configured by folderAnnotation""
folderAnnotationAnnotation key the Grafana dashboard sidecar reads the target folder fromgrafana_folder
extraLabelsAdditional labels to add to every dashboard ConfigMap{}
extraAnnotationsAdditional annotations to add to every dashboard ConfigMap{}
excludeDashboardsList of dashboard file names to skip, with or without the .json extension (e.g. timeboost-summary)[]
extraObjectsAdditional Kubernetes objects to deploy alongside the dashboards (rendered through tpl)[]

Testing

NameDescriptionValue
tests.grafanaUrlWhen set, helm test verifies every packaged dashboard is loaded in the Grafana instance at this URL (used by CI)""

Naming

NameDescriptionValue
nameOverrideString to partially override nitro-dashboards fullname""
fullnameOverrideString to fully override nitro-dashboards fullname""

Deploy nitro-dashboards with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nitro-dashboards on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnitro-dashboards is pinned at v1.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply