Commit Graph

30 Commits

Author SHA1 Message Date
Manuel Rüger cef8c1fa4c feat!: Remove VerticalPodAutoscaler
BREAKING CHANGE: VPA is now supported only via Custom Resource Metrics

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2023-03-16 14:37:44 +01: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
Kaito Ii 4abefe268a add ingress class metrics 2022-11-23 23:16:36 +09:00
Manuel Rüger 93e79fc9d8 Remove RBAC resources from default exposed metric set
These resources might create a lot of metrics,
so we won't enable them by default for now.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-08-23 18:44:55 +02:00
Kaito Ii 51df8fe763 add rolebinding metrics 2022-08-07 01:32:57 +09:00
Kaito Ii 3c9908d0b3 add role and cluster role
Signed-off-by: Kaito Ii <kaitoii1111@gmail.com>
2022-06-30 20:55:25 +09:00
Julian van den Berkmortel 6a24f639f8
Add support for the ServiceAccount resource (Ref: #1717) 2022-06-29 23:58:01 +02:00
yosshi825 9c90196261 fix:typo 2022-06-28 22:40:31 +09:00
Noah Perks Sloan 8c5d9797bf doc: note CR support is experimental 2022-05-31 16:12:07 -05:00
Noah Perks Sloan e0e4f14412 feat: enable customresource metrics by configuration
The main use case is just surfacing fields from custom resources without having to write a lot of code for each one.
2022-05-31 14:24:28 -05:00
Eric Hole 2b085201e5 Adds opt-in metric info and builds out opt-in column in Pod 2022-02-07 10:21:14 -08:00
Manuel Rüger 6b2cba2e74 docs: Fix typo
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-07-13 17:01:00 +02:00
Michael Dresser d352c37697 Fix docs README link to a nonexistent section
I assume deprecation information is supposed to be
contained in the relevant sub-documents for metric
categories.
2021-03-24 16:01:32 -04:00
Olivier Lemasle 0387ebbb45 Fix metrics & labels documentation 2020-02-27 20:37:53 +01:00
Olivier Lemasle 12ca1ce1c1 Remove deprecated (and removed) metric from doc 2020-02-21 14:45:22 +01:00
yeya24 da2dadcd3e remove deprecated metrics
Signed-off-by: yeya24 <yb532204897@gmail.com>

remove deprecated options

Signed-off-by: yeya24 <yb532204897@gmail.com>
2020-02-05 08:48:23 -05:00
asidorovj f5729a5ccb add leases collector 2020-01-30 08:31:01 +03:00
Tariq Ibrahim ea4c2eb764
Merge branch 'master' into networkpolicy-collector 2019-10-17 10:10:45 -07:00
Miles Bryant e780fc34f3
store: export NetworkPolicy objects 2019-10-17 11:49:29 +01:00
Jens Erat 4e637854a2
add VolumeAttachment collector
Kubernetes has a new resource type: `VolumeAttachments`. They provide
helpful information on where a volume is attached and to alert on
unexpected attachment status (for example, differences between
information scraped from node-exporter and kube-state-metrics).

The collector adds a bunch of new metrics. Each VolumeAttachment (ie.,
each CSI-attached volume) will have one of each, so we do not overly
pollute the metrics space. Most metrics are rather unsurprising.

- `kube_volumeattachment_status_attachment_metadata`: provides a
  label-like export of the attachment metadata map. Generalizing the
  label-conversion function slightly helps at providing this metric.
- `kube_volumeattachment_created`: as VolumeAttachments are
  automatically created and we already suffered from duplicate
  `VolumeAttachments`, this can be invaluable for debugging
  misattachments.
- `kube_volumeattachment_spec_source_persistentvolume`: will only be
  generated when the volume source is of `PersistentVolume` type. The
  other type `inlineVolumeSpec` is still alpha-level and hard to map to
  metrics.

No end-to-end test manifest was added, as `VolumeAttachment`s are
automatically generated when mounting volumes.

Signed-off-by: Jens Erat <email@jenserat.de>
2019-10-13 21:36:50 +02:00
Nataly Sheinin 99623defbe
add mutatingwebhookconfiguration, validatingwebhookconfiguration metrics 2019-10-03 14:23:18 -04:00
Miles Bryant 67ef5ecc9c
store: add verticalpodautoscaler metrics 2019-06-20 12:24:37 +01:00
xieyanker c18dfa26cf Add Metrics About StorageClass 2019-06-05 11:32:54 +08:00
Johann Bich a4554a690c formatting 2019-05-15 10:44:57 +09:00
Johann Bich 37b37fc373 cli arguments and limited privileges doc 2019-05-15 10:42:55 +09:00
Haoran Wang 6793b6881d Add collector for csr 2019-03-21 09:03:42 +08:00
Jesus Vazquez 93924a6c03 Accept suggestions 2019-03-08 20:45:17 +01:00
Jesus Vazquez f80b1d5c27 Add join metric example for running pods requesting memory 2019-03-05 21:53:23 +01:00
Jesus Vazquez 19859e2fcd Remove trailing spaces and format tables 2019-03-05 21:53:01 +01:00
tariqibrahim 3f22eff70d docs: rename the Documentation folder to docs 2019-02-19 21:06:44 -08:00