Commit Graph

51 Commits

Author SHA1 Message Date
Eric Hole 9a6fae5fc3 kube_pod_nodeselector -> kube_pod_nodeselectors 2022-02-07 11:02:39 -08: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
Eric Hole 90689ccff3 Change kube_pod_nodeselector to be opt-in 2022-02-07 09:13:20 -08:00
Eric Hole 6d1c11f148 Adds kube_pod_nodeselector metric 2022-02-04 15:01:02 -08:00
Alexey Miasoedov 5fa79e1e71
fix sample yaml 2022-01-10 12:37:46 +03:00
Kubernetes Prow Robot 03e84f55d6
Merge pull request #1551 from dgrisonnet/revert-init-containers-requests
Revert init containers resource metrics rework
2021-09-30 06:06:08 -07:00
Gabi Davar 5016cca2de
add image_spec to pod (init)container info 2021-09-21 18:26:50 +03:00
Ids van der Molen b099ea66cd Document pod status reasons NodeAffinity and Shutdown 2021-09-15 12:53:23 +02:00
Damien Grisonnet 1352c476c7 pod: sync container resource metrics improvement
Init container resource metrics diverged from the container ones
although they should be similar.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-20 19:07:34 +02:00
Damien Grisonnet 3040c54b8b pod: rm reworked init container resource metrics
These metrics are superseded by the Pod resource metrics initiative in
Kubernetes. In 2.0.0, we removed the reworked container resource
metrics, but omitted the init container ones although they are also
covered by the Kubernetes effort.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-20 18:47:34 +02:00
Sylvain Rabot e3688234a3
Mark new annotations metrics as EXPERIMENTAL
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-08-15 18:11:36 +02:00
Sylvain Rabot c1d3c87589
Fix documentation and tests
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2021-06-25 15:45:00 +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
Elana Hashman 8fe4363806
Fix typo in pod-metrics docs 2021-04-08 17:14:00 -07:00
Lili Cosic 81ca495c9e Merge remote-tracking branch 'upstream/release-2.0' into bring-release-2.0 2021-03-05 15:14:49 +01: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
Jeswin dc1e9186e0 docs: Added Description, Units for Services, Pods, Nodes as per 1356 2021-02-01 18:30:55 +05:30
Illya Chekrygin 4090e8b7aa
Add "uid" label to every pod metric to differentiate between pod instances with the same name.
Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com>
2020-11-20 12:26:18 -08:00
Jimmy K Seto 122f2075c7 fix container resource limits metrics, which got dropped btwn 2.0.0-alpha.1 and 2.0.0-alpha.2 2020-11-03 11:42:57 -05: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
Jang Dong Min 0253dae293
fix pod-metrics.md 2020-10-28 11:29:50 +09: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
vikkyomkar 4c55d50e68 added new metric kube_pod_container_state_started 2020-07-26 11:34:40 +05:30
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
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
Rustam Zagirov b61a3b320a add host_network to kube_pod_info 2020-03-18 21:23:37 +03:00
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
Olivier Lemasle 025d449da5 Fix example PromQL queries related to Pod status 2020-02-21 14:26:23 +01:00
Olivier Lemasle 3a2d895d49 Fix typos 2020-02-17 20:43:20 +01:00
Eric Ernst c1895cdec3 pod: add gauges for pod overhead
Add a metric guage to provide observability for the overhead associated
with running a pod.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2020-02-07 22:15:36 -08:00
cedric lamoriniere 311c6821c1 update pod metrics docs after review
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-02-05 21:40:43 +01:00
cedric lamoriniere 02844c3293 remove deprecated metrics after rebase
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-02-05 19:10:13 +01:00
cedric lamoriniere aa320cf15e [doc] add useful pod.state metrics query
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-02-05 19:05:24 +01:00
cedric lamoriniere 0650fd1271 update doc with new pod's metrics and fix benchmark
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-02-05 19:05:24 +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
pigletfly c37f9ae305 feat: add kube_pod_status_unschedulable metric 2019-08-09 23:31:42 +08:00
Lili Cosic e34157533f docs,internal: Remove kube_pod_init_container_resource_requests
This metric is not longer being created.
2019-07-26 13:55:19 +02:00
Clayton Coleman a02f1bc874
pods: Add pod_restart_policy metric
Report pod_restart_policy{...,type="Always|OnFailure|Never"} 1 for the
pod.spec.restartPolicy which allows an admin to know how many batch vs
service workload pods are running on the cluster.
2019-07-23 16:10:07 -04:00
Tariq Ibrahim 050ab046ed Add pod init container metrics
Co-Authored-By: Tariq Ibrahim <tariq181290@gmail.com>
Co-Authored-By: Sumit Vij <sumitvij11+github@gmail.com>
2019-05-19 23:18:06 -07:00
Joshua DeWald 25fbfa4bbf Add CreateContainerError and InvalidImageName waiting reasons 2019-05-17 15:10:52 -07:00
Daniel Pacrami b5234baf9c Add DeadlineExceeded pod termination reason
This adds DeadlineExceeded as a valid reason for
kube_pod_container_status_terminated_reason and
kube_pod_container_status_last_terminated_reason
2019-05-06 12:43:55 -04:00
chenk008 d3d6fc46d5 Add unit test
Add “priority_class” in document
2019-04-05 01:56:05 +08:00