docs: improve extra-labels description (#1208)

* docs: improve `extra-labels` description

* Update README.md

* Update README.md

---------

Co-authored-by: TwiN <twin@linux.com>
This commit is contained in:
Salim B
2025-08-18 14:18:57 -04:00
committed by GitHub
co-authored by TwiN
parent 2c42aa8087
commit 6d579a4b48
+1 -1
View File
@@ -1991,7 +1991,7 @@ See [examples/docker-compose-grafana-prometheus](.examples/docker-compose-grafan
#### Custom Labels
Added a Labels field to the Config and Endpoint structs to support key-value pairs for metrics. Updated the Prometheus metrics initialization to include dynamic labels from the configuration. See the example below:
You can add custom labels to your endpoints Prometheus metrics by defining keyvalue pairs under the `extra-labels` field. For example:
```yaml
endpoints: