free / prometheus

The Prometheus monitoring system and time series database.
https://prometheus.io/
Apache License 2.0
48 stars 5 forks source link

Missing docs for `__meta_kubernetes_endpoints_label*` labels #17

Closed valyala closed 2 years ago

valyala commented 2 years ago

The commit https://github.com/prometheus/prometheus/commit/617c56f55a14b7f6ed4f0f4402c1e18aaf3b396c adds new labels for role: endpoints: __meta_kubernetes_endpoints_label_* and __meta_kubernetes_endpoints_labelpresent_*. But these labels aren't documented at https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config . This may prevent from the usage of these labels.

Side notes: 1) Why these labels weren't added to role: endpointslice? 2) Why __meta_kubernetes_endpoints_annotation* labels weren't added to role: endpoints and role: endpointslice?

valyala commented 2 years ago

Oops, just discovered that the bugreport has been opened at wrong repo :) The correct bugreport is at https://github.com/prometheus/prometheus/issues/10284 . Closing this one.