Skip to content

Commit b75de2a

Browse files
committed
examples: add example grafana dashboard
Example visualization for all metrics except nfd_node_update_requests_total which counts the deprecated (and disabled-by-default) gRPC requests.
1 parent a379faf commit b75de2a

File tree

2 files changed

+1327
-2
lines changed

2 files changed

+1327
-2
lines changed

docs/deployment/metrics.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ The exposed metrics are
3232
| `nfd_gc_objects_deleted_total` | Counter | Number of NodeFeature and NodeResourceTopology objects garbage collected.
3333
| `nfd_gc_object_delete_failures_total` | Counter | Number of errors in deleting NodeFeature and NodeResourceTopology objects.
3434

35-
## Via Kustomize
35+
## Kustomize
3636

3737
To deploy NFD with metrics enabled using kustomize, you can use the
3838
[Metrics Overlay](kustomize.md#metrics).
3939

40-
## Via Helm
40+
## Helm
4141

4242
By default metrics are enabled when deploying NFD via Helm. To enable Prometheus
4343
to scrape metrics from NFD, you need to pass the following values to Helm:
@@ -55,3 +55,9 @@ to scrape metrics from any PodMonitor.
5555

5656
or setting labels on the PodMonitor via the helm parameter `prometheus.labels`
5757
to control which Prometheus instances will scrape this PodMonitor.
58+
59+
## Grafana dashboard
60+
61+
NFD contains an example Grafana dashboard. You can import
62+
[`examples/grafana-dashboard.json`](https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/{{site.release}}/examples/grafana-dashboard.json)
63+
to your Grafana instance to visualize the NFD metrics.

0 commit comments

Comments
 (0)