Commit Graph

11 Commits

Author SHA1 Message Date
Mario Constanti 9f7d1af299 graduate new endpoint metrics to STABLE
* graduate kube_endpoint_ports and kube_endpoint_address to STABLE
* graduate kube_endpoint_address_not_ready and
  kube_endpoint_address_available to DEPRECATED as the information is
precomputed during metrics-scraping

Signed-off-by: Mario Constanti <mario@constanti.de>
2022-08-23 09:06:49 +02:00
Mario Constanti 6082c0335c kube_endpoint_address now has a ready label
Signed-off-by: Mario Constanti <mario@constanti.de>
2022-06-22 13:35:33 +02:00
Mario Constanti 997b5cedfe add new kube_endpoint_address metric
As KSM shouldn't be responsible for computation of metrics, a new metric
is needed to expose available and unavailable addresses of an endpoint.

This new metric is generated as a future replacement for
kube_endpoint_address_available and kube_endpoint_address_not_ready.

Signed-off-by: Mario Constanti <mario@constanti.de>
2022-06-21 05:41:09 +02:00
Constanti, Mario 27366d7893 endpoints: export information about ports
metric - introduce new kube_endpoint_ports metric:
* export all relevant port infomation (port name, port number and port protocol) from an endpoint

tests - make endpoint tests endpoint.spec aware:
* endpoint port struct with multiple ports need port names per port
* single port struct doesn't need a port name
* port protocol is per default TCP

Signed-off-by: Constanti, Mario <mario.constanti@daimler.com>
2021-11-09 06:53:03 +01:00
Sylvain Rabot e3688234a3
Mark new annotations metrics as EXPERIMENTAL
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-08-15 18:11:36 +02:00
Sylvain Rabot c1d3c87589
Fix documentation and tests
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-06-25 15:45:00 +02:00
Sylvain Rabot 65bc62af5c
Add kube_*_annotations metrics
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-04-29 16:04:16 +02:00
Tariq Ibrahim 9799ac0e61
Merge release-1.7 into upstream/master 2019-08-05 10:46:00 -07:00
Andrey Sidorov 5ae00bb93f add kube_*_annotations metrics for all objects 2019-06-25 22:29:27 +03:00
Federico Hernandez 0240fe5b01
Capital letters for ENDPOINT string
Update of documentation for consistency reasons (see e.g. kube_service_labels or kube_deployment_labels or kube_persistenvolume_labels): label_RESOURCESTRINGINCAPITALLETTERS_LABEL=<RESOURCESTRINGINCAPITALLETTERS_LABEL>
2019-05-03 13:20:55 +02:00
tariqibrahim 3f22eff70d docs: rename the Documentation folder to docs 2019-02-19 21:06:44 -08:00