Commit Graph

132 Commits

Author SHA1 Message Date
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 c3121e74bf docs/pod-metrics.md: Adjust docs and stability 2021-02-24 17:00:27 +01:00
Lili Cosic 950a173907 docs/pod-metrics.md: Mark changed metrics as experimental 2021-02-09 15:51:55 +01:00
Lili Cosic 93aeadc048 docs/pod-metrics.md: Mark metrics as non stable
As with 2.0 we are breaking support for 1.x and previous stabilities.
In case we run into problems this gives us a chance to revert this.
2021-02-08 15:23:44 +01: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
Jimmy K Seto 9078a53265 fix container resource limits metrics, which got dropped btwn 2.0.0-alpha.1 and 2.0.0-alpha.2 2020-11-02 14:48:04 -05:00
Eric Ernst 0cb814f725 pod: add gauge for runtimeclass handler
Add a metric gauge to provide observability for the runtimeclass
used for running a pod.

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-10-26 08:03:31 -07:00
Lili Cosic 2c65e6f77a docs/pod-metrics.md: Adjust docs 2020-10-26 14:46:28 +01:00
Duologic 96b01833f8 feat(persistentvolume): introduce kube_persistentvolume_claim_ref
Adds a new metrics to provide claimRef information to Prometheus. In
tracking down lingering PVs, it would be of interest to know where the
PV came from. With the claimRef information, it is easier to track down
the resource owners and inform that they have unclaimed PVs lingering
around.

Main motivation is that PVs cost money at cloud providers, if PVs stick
around for long, the costs might increase significantly.
2020-10-19 08:44:34 +02:00
Kubernetes Prow Robot ab61af760f
Merge pull request #1265 from jangdm/jangdm-fixtypo
fix html tag in service-metrics.md
2020-10-16 01:31:26 -07:00
Kubernetes Prow Robot d55f5aced2
Merge pull request #1214 from AdityaMisra/kube_metric_job_failed_reason
Added the job failure reason in kube_job_status_failed metric
2020-10-14 00:23:54 -07:00
jangdm a722914475
Update service-metrics.md 2020-10-13 17:30:33 +09:00
Aditya Misra 639b4994d1 Added the job failure reason in kube_job_status_failed metric
Fixed linting issues

Code review changes

Removed condition label from kube_job_status_failed metric

Removed condition label from Job Metrics
2020-10-12 18:49:18 +05:30
Kubernetes Prow Robot a0a893da91
Merge pull request #1250 from lilic/fix-klog
Bump klog to v2 and client-go to 1.19
2020-10-05 09:34:33 -07:00
Lili Cosic cb2c2a2263 docs/cli-arguments.md: Regenerate 2020-10-05 18:06:46 +02:00
Jimmy K Seto 2c8fe6e593 add iscsi initiator name to persistentvolume_info 2020-10-05 08:19:18 -04:00
Damien Grisonnet d7f786b77f docs/pod-metrics.md: add missing condition label
The condition label of the kube_job_complete and kube_job_failed were
forgotten in the documentation.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2020-09-18 09:56:41 +02:00
Kubernetes Prow Robot e6260bda1a
Merge pull request #1125 from jw-s/feature/apply-boundary-to-metrics
apply boundaries to metrics and allow via flag what labels to include
2020-09-02 11:19:06 -07:00
Vinay 5b7e336866
Label/Tags are shown in status tab
Label/Tags for the first few metrics are shown in the status tab and status is not shown on UI.

Removed a wrong demarkation.
2020-08-31 20:08:13 +05:30
Vinay c2aed4b093
Label/Tags are shown in status tab
Label/Tags for the first few metrics are shown in the status tab and status is not shown on UI.

Removed a wrong demarkation.
2020-08-31 19:29:48 +05:30
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
Jimmy K Seto 529a15afd3 add fc/iscsi/nfs identifier tags to persistentvolume_info 2020-08-17 17:56:32 -04:00
vikkyomkar 4c55d50e68 added new metric kube_pod_container_state_started 2020-07-26 11:34:40 +05:30
Vishnu Lakshmanan 8031a70854 Update DaemonSet updated_number_scheduled metric name to be consistent 2020-07-24 19:47:35 -07:00
Vishnu Lakshmanan 9179f499f9 Add observedGeneration metric for DaemonSets 2020-07-23 23:40:56 -07:00
Kubernetes Prow Robot 4d81218b01
Merge pull request #1168 from brancz/rework-resource-metrics
Rework resource metrics
2020-07-23 10:05:40 -07:00
Jimmy K Seto e9f4552ecf add internal_ip to node_info 2020-07-22 10:58:11 -04:00
Frederic Branczyk cd42164e42
internal/store: Add named resource pod overhead metrics
This patch turns the generic pod overhead metrics into one metric per
resource as per Prometheus best practices.
2020-07-16 10:34:52 +02:00
Frederic Branczyk 93022751e7
docs/pod-metrics.md: Mark all resource metrics experimental 2020-07-16 09:24:25 +02:00
Frederic Branczyk 418f7041b8
docs: Adapt pod metrics docs 2020-07-15 16:02:10 +02:00
Kubernetes Prow Robot cce1e3309a
Merge pull request #1146 from povilasv/add-volume-id
add aws/gce volume id to kube_persistentvolume_info
2020-05-25 06:27:12 -07:00
Kubernetes Prow Robot 0bfc2981f9
Merge pull request #1145 from qw1mb0/add-unexpected-admission-error-pod-reason
add UnexpectedAdmissionError to kube_pod_status_reason metric
2020-05-25 05:37:12 -07:00
Povilas Versockas a78b0e7a06
add aws/gce volume id to kube_persistentvolume_info 2020-05-25 15:28:17 +03:00
tariqibrahim 81d5ae8949 add caveat for enabling verticalpodautoscalers 2020-05-23 22:44:50 -07:00
qw1mb0 bdb2e9284e add UnexpectedAdmissionError to kube_pod_status_reason metric 2020-05-16 21:19:25 +03:00
Frederic Branczyk 3df53e5164
docs: Add init container resource request docs 2020-04-15 22:03:28 +02:00
Frederic Branczyk 834a0c0d06
volumeattachment: Fix instrumentation guideline violation 2020-04-08 10:55:33 +02:00
jangdm e2c2d6498c Title does not match content 2020-03-31 08:17:05 +00:00
vikkyomkar 17a0fb3fba Renamed storage class labels 2020-03-27 11:32:51 +05:30
jangdm ee26caa090
fix typo in statefulset metrics documentation
&gt -> &gt;
2020-03-25 17:53:08 +09:00
jangdm 186fe03d3c
Fix typo
service port for hte
-> service port for the
2020-03-25 16:39:34 +09:00
Rustam Zagirov b61a3b320a add host_network to kube_pod_info 2020-03-18 21:23:37 +03:00
vikkyomkar 1be1b9d77b Renamed --namespace flag to --namespaces 2020-03-14 21:35:15 +05:30
Kubernetes Prow Robot 9230c40ff0
Merge pull request #1082 from olivierlemasle/fix-1078
[e2e] Check labels documentation
2020-03-09 16:25:36 -07:00
Olivier Lemasle 0387ebbb45 Fix metrics & labels documentation 2020-02-27 20:37:53 +01:00
Olivier Lemasle 6fac7a2ddd Rename kube_pod_deleted to kube_pod_deletion_timestamp 2020-02-24 11:32:59 +01:00
Kubernetes Prow Robot 7fea52cfda
Merge pull request #1074 from olivierlemasle/fix-doc
Remove deprecated (and removed) metric from doc
2020-02-21 08:48:33 -08:00