Manuel Rüger
9ba2547ca7
chore: Fix test
2024-03-18 16:39:06 +01:00
Kubernetes Prow Robot
e8272ced47
Merge pull request #2145 from opeco17/feature/disable-labels-annotations-metrics-by-default
...
feat: disable labels and annotations metrics when metric-annotations-…
2023-08-22 06:34:54 -07: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
João Vilaça
92858f325e
feat: add volumemode to PVC info metric
...
Signed-off-by: João Vilaça <jvilaca@redhat.com>
2023-08-01 12:48:10 +01:00
Maxime Leroy
c0eb61aeeb
feat(pvc): support kube_persistentvolumeclaim_deletion_timestamp
...
Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
2023-06-16 10:46:34 +02:00
Paweł Kubica
0553bf45a9
Replace special string "<none>" with empty string for "storageclass" dimension.
...
Returning empty string instead of special string "<none>" for "storageclass" dimensions of "kube_persistentvolumeclaim_info" metric.
2022-12-03 15:20:08 +01:00
Catherine Fang
5995c1e2cf
Add all stable metrics
2022-10-14 08:25:39 -04:00
Aidan O'Gorman
b4b8df7134
Fixing unit test for PV and PVC
2022-05-29 11:42:13 +01:00
Aidan O'Gorman
1362519c92
Fix ups to unit tests
2022-05-24 09:50:21 +01:00
Aidan O'Gorman
859c8e903f
Adding Unix creationTimestamp to PV/PVC metrics
2022-05-23 21:28:24 +01:00
Arunprasad Rajkumar
cded74c951
persistentvolumeclaim: Implement annotation and fix label metrics generation
...
This PR fixes the regression introduced on `kube_persistentvolumeclaim_labels` functionality after https://github.com/kubernetes/kube-state-metrics/pull/1468 . This also implements `kube_persistentvolumeclaim_annotations`.
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2021-08-31 22:25:35 +05:30
Sylvain Rabot
65bc62af5c
Add kube_*_annotations metrics
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-04-29 16:04:16 +02:00
Lili Cosic
0b76e7d4f4
internal/store: Rework label allow list for label metrics
2020-11-20 15:31:35 +01:00
Quentin Bisson
7250bc2b5c
Update go module path to k8s.io/kube-state-metrics/v2
...
Signed-off-by: Quentin Bisson <quentin@giantswarm.io>
2020-09-21 10:58:08 +02:00
cedric lamoriniere
72ad3cb412
Remove FamilyByteSlicer interface
...
- To allow other external Stores, remove the `FamilyByteSlicer` interface
and give access directly to `metric.Family`.
- Move functions present in `pkg/metric/generator.go` to a dedicated package
`generator` in `pkg/metric_generator/generator.go`.
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-12-13 10:50:19 +01:00
Ankit Kumar Sinha
fe07c8cec3
-m ADD kube_persistentvolumeclaim_status_condition metric for information about status of different conditions of persistent volume claim.
2019-10-26 04:49:41 +05:30
Tariq Ibrahim
1b42e7c450
lint: enforce goimports local prefixes
2019-08-20 10:33:05 -07:00
Tariq Ibrahim
9799ac0e61
Merge release-1.7 into upstream/master
2019-08-05 10:46:00 -07:00
Lili Cosic
684293930a
internal/store/*: Enable metric headers in tests
2019-07-26 13:31:20 +02:00
Andrey Sidorov
5ae00bb93f
add kube_*_annotations metrics for all objects
2019-06-25 22:29:27 +03:00
Lili Cosic
68aea02d26
Makefile,internal/collector: Rename collector -> store
...
Since the removal of collector, this introduces both the concept of the
store and the resources instead of collectors that the user passes in.
The user facing logs and flags were not changed as that would be a
regression.
2019-06-11 16:18:53 +02:00