mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
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.
This commit is contained in:
parent
a379fafcaa
commit
b75de2a283
2 changed files with 1327 additions and 2 deletions
|
@ -32,12 +32,12 @@ The exposed metrics are
|
|||
| `nfd_gc_objects_deleted_total` | Counter | Number of NodeFeature and NodeResourceTopology objects garbage collected.
|
||||
| `nfd_gc_object_delete_failures_total` | Counter | Number of errors in deleting NodeFeature and NodeResourceTopology objects.
|
||||
|
||||
## Via Kustomize
|
||||
## Kustomize
|
||||
|
||||
To deploy NFD with metrics enabled using kustomize, you can use the
|
||||
[Metrics Overlay](kustomize.md#metrics).
|
||||
|
||||
## Via Helm
|
||||
## Helm
|
||||
|
||||
By default metrics are enabled when deploying NFD via Helm. To enable Prometheus
|
||||
to scrape metrics from NFD, you need to pass the following values to Helm:
|
||||
|
@ -55,3 +55,9 @@ to scrape metrics from any PodMonitor.
|
|||
|
||||
or setting labels on the PodMonitor via the helm parameter `prometheus.labels`
|
||||
to control which Prometheus instances will scrape this PodMonitor.
|
||||
|
||||
## Grafana dashboard
|
||||
|
||||
NFD contains an example Grafana dashboard. You can import
|
||||
[`examples/grafana-dashboard.json`](https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/{{site.release}}/examples/grafana-dashboard.json)
|
||||
to your Grafana instance to visualize the NFD metrics.
|
||||
|
|
1319
examples/grafana-dashboard.json
Normal file
1319
examples/grafana-dashboard.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue