Update Prometheus readmes

This commit is contained in:
2023-12-29 11:22:52 -05:00
parent 123c7ce857
commit 73bf256650
2 changed files with 5 additions and 3 deletions

View File

@ -17,6 +17,8 @@ file_sd_configs:
[...]
```
Note that due to the limitations of the Prometheus configuration, this is a global option for all service discovery entries specified; it cannot be toggled for each connection individually.
## `targets-pvc_cluster.json`
This JSON-based config shows two example clusters as two discrete entries. This is required for proper labeling.
@ -31,6 +33,8 @@ Each entry must contain:
* `pvc_cluster_name`: A nicer, more human-readable description of the cluster. Likely, the `Description` in your `pvc connection list` entry for the cluster.
This file can be autogenerated from the list of configured PVC clusters in a PVC CLI client using the `pvc connection list --format json-prometheus` option.
## `grafana-pvc-cluster-dashboard.json`
This JSON-based Grafana dashboard allows for a nice presentation of the metrics collected by the above Prometheus pollers. The cluster can be selected (based on the `pvc_cluster_name` value) and useful information about the cluster is then displayed.