Commit Graph

5 Commits

Author SHA1 Message Date
Manuel Rüger 75e7841c10 endpointslices: Expose empty labels 2024-10-31 14:30:49 +01:00
Manuel Rüger ca569e1ffe feat: Add namespace label to endpoinslice metrics
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2023-12-11 14:05:20 +01:00
Mark Robinson f3698288ff
feat: Add support for endpoint topology routing hints (#2090)
* Add support for endpoint topology routing hints

Fix goimports

Fix gocritic issue

* Update docs/endpointslice-metrics.md

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update internal/store/endpointslice.go

Co-authored-by: Manuel Rüger <manuel@rueg.eu>

* Update Dockerfile

* Update Dockerfile

* Update endpointslice_test.go

* Redesign metric

* Update endpointslice.go

Remove unneeded label

* Update endpointslice.go

* Update endpointslice-metrics.md

* Fix test

* Remove hostname

* Update docs/endpointslice-metrics.md

---------

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
Co-authored-by: Damien Grisonnet <damien.grisonnet@epita.fr>
2023-08-31 16:33:20 +02:00
opeco17 6de105ebbe feat: disable labels and annotations metrics when metric-annotations-allowlist and metric-labels-allowlist are not provided 2023-08-14 14:38:23 +00:00
Manuel Rüger b4b8c23b97 Add Metrics for EndpointSlices
Implements https://pkg.go.dev/k8s.io/api/discovery/v1#EndpointSlice

This resourcetype is disabled by default as they are very verbose and
have a high cardinality.
Metrics from endpointslices can be used to identify if specific pods are
part of an endpoint and thus discoverable through a service.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-11-26 01:44:29 +01:00