Julian van den Berkmortel
da04a73f68
Add the opt-in metric family filter to expose or not to a metric family from the store ( #1574 )
2021-12-01 22:08:52 +01:00
Min Wang
1d0c17b80e
run make generate
2021-10-19 11:20:18 -07:00
Sylvain Rabot
0e45534441
Merge remote-tracking branch 'origin/master' into annotations
2021-08-19 16:31:20 +02:00
Lan Liang
78775b02eb
rename use-api-server-cache to use-apiserver-cache in flags
2021-08-18 12:58:01 +08:00
Lan Liang
6f4fb874d2
Add doc for useAPIServerCache
2021-08-17 22:46:10 +08:00
Sylvain Rabot
0e045365f4
Factorize some code
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-07-13 11:51:39 +02:00
Sylvain Rabot
b60508b2cf
Move option in the cli arguments list
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-07-13 11:28:27 +02:00
Sylvain Rabot
adcf2b42c5
Regenerate docs/cli-arguments.md
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-06-07 15:59:06 +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
Mikulas (Mike) Dite
70d039b140
Add wildcard option to labels-metric-allow-list
2021-03-30 14:26:12 +01:00
Manuel Rüger
de2bdebc67
Regenerate cli docs
2021-03-27 00:00:45 +01:00
Manuel Rüger
2a7a96b659
Rename cli flag from label-metrics-allow-list to metric-labels-allowlist
...
This might be more clear on what the flag is doing. There were two ways
to spell allow-list / allowlist which it removes as well
Fixes: https://github.com/kubernetes/kube-state-metrics/issues/1421
2021-03-26 13:11:19 +01:00
Manuel Rüger
cbce059ffc
cli-arguments.md: Fix docs
2021-03-18 14:18:13 +01:00
Mikulas (Mike) Dite
ffa4c7bf0e
fix labels-metric-allow-list documentation
...
The parser defined in types.go does not expect quotes
https://github.com/kubernetes/kube-state-metrics/blob/master/pkg/options/types.go#L136-L140
https://github.com/kubernetes/kube-state-metrics/blob/master/pkg/options/types_test.go#L168
2021-03-03 11:07:09 +00:00
Lili Cosic
18b81768d1
docs/cli-arguments.md: Update generated args
2020-12-17 14:10:50 +01:00
Lili Cosic
3b23d01afe
pkg/options/types.go: Adjust Set to parse new flag params
2020-11-18 15:59:19 +01:00
Lili Cosic
cb2c2a2263
docs/cli-arguments.md: Regenerate
2020-10-05 18:06:46 +02:00
Joel Whittaker-Smith
908f87b2cd
apply boundaries to metrics and allow via flag what labels to include
...
Signed-off-by: Joel Whittaker-Smith <jdws.dev@gmail.com>
2020-08-26 12:42:30 +02:00
vikkyomkar
1be1b9d77b
Renamed --namespace flag to --namespaces
2020-03-14 21:35:15 +05:30
Alexander-Carpenter
d8ca14b6e6
Fix doc issue
2020-02-08 09:44:30 -06:00
Alexander-Carpenter
1eca877ce7
Change description
2020-02-05 21:39:26 -06:00
Alexander-Carpenter
36caf1ed83
Docs fix
2020-02-05 20:29:57 -06:00
Alexander-Carpenter
69fe7da267
Rename collector to resource
2020-02-05 19:43:23 -06: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
Thibault Le Reste
cb655340d6
Rename black-/whitelist to allow/deny-list
2020-02-03 17:05:11 +01:00
Kubernetes Prow Robot
0ff33c2137
Merge pull request #1005 from yeya24/same-port
...
v2: change metrics port to 8080, telemetry port to 8081
2020-01-31 01:54:20 -08:00
asidorovj
f5729a5ccb
add leases collector
2020-01-30 08:31:01 +03:00
yeya24
53af563a6a
change metrics port to 8080, telemetry port to 8081
...
Signed-off-by: yeya24 <yb532204897@gmail.com>
2019-12-13 12:47:07 -05: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
Frederic Branczyk
f3d41de450
Add auto detecting of sharding
...
main_test.go: Add model based test for sharding
In order to ensure a sharded system behaves equal to an unsharded
system, a model based test has been introduced. It scrapes an unsharded
setup and compares its output with the union of a sharded setup
therefore ensuring semantic equality.
2019-08-30 22:45:35 +02:00
Frederic Branczyk
84d61f9a93
Introduce sharding
2019-08-30 13:51:30 +02:00
Tariq Ibrahim
96eefd08f6
chore: update dependencies and tool versions
2019-08-16 20:27:21 -07:00
Tariq Ibrahim
bdd3481c9a
update kubernetes versions to point to 1.15
2019-06-20 11:13:48 -07:00
Tariq Ibrahim
2a3c696347
feat: implement black/white- listing of metrics by regex
2019-06-19 02:16:52 -07:00
Lili Cosic
23b7f268a6
CONTRIBUTING.md,docs/*: Run make generate
...
The docs were out of date.
2019-06-07 20:11:14 +02:00
Johann Bich
37b37fc373
cli arguments and limited privileges doc
2019-05-15 10:42:55 +09:00