docs: reorganize documentation directory structure
This commit is contained in:
parent
3478fe9ddd
commit
3fc953561f
|
|
@ -204,7 +204,7 @@ In a 100 node cluster scaling test the latency numbers were as follows:
|
|||
|
||||
### A note on costing
|
||||
|
||||
By default, kube-state-metrics exposes several metrics for events across your cluster. If you have a large number of frequently-updating resources on your cluster, you may find that a lot of data is ingested into these metrics. This can incur high costs on some cloud providers. Please take a moment to [configure what metrics you'd like to expose](docs/cli-arguments.md), as well as consult the documentation for your Kubernetes environment in order to avoid unexpectedly high costs.
|
||||
By default, kube-state-metrics exposes several metrics for events across your cluster. If you have a large number of frequently-updating resources on your cluster, you may find that a lot of data is ingested into these metrics. This can incur high costs on some cloud providers. Please take a moment to [configure what metrics you'd like to expose](docs/developer/cli-arguments.md), as well as consult the documentation for your Kubernetes environment in order to avoid unexpectedly high costs.
|
||||
|
||||
### kube-state-metrics vs. metrics-server
|
||||
|
||||
|
|
@ -387,7 +387,7 @@ spec:
|
|||
- '--namespaces=project1'
|
||||
```
|
||||
|
||||
For the full list of arguments available, see the documentation in [docs/cli-arguments.md](./docs/cli-arguments.md)
|
||||
For the full list of arguments available, see the documentation in [docs/developer/cli-arguments.md](./docs/developer/cli-arguments.md)
|
||||
|
||||
#### Helm Chart
|
||||
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ In a 100 node cluster scaling test the latency numbers were as follows:
|
|||
|
||||
### A note on costing
|
||||
|
||||
By default, kube-state-metrics exposes several metrics for events across your cluster. If you have a large number of frequently-updating resources on your cluster, you may find that a lot of data is ingested into these metrics. This can incur high costs on some cloud providers. Please take a moment to [configure what metrics you'd like to expose](docs/cli-arguments.md), as well as consult the documentation for your Kubernetes environment in order to avoid unexpectedly high costs.
|
||||
By default, kube-state-metrics exposes several metrics for events across your cluster. If you have a large number of frequently-updating resources on your cluster, you may find that a lot of data is ingested into these metrics. This can incur high costs on some cloud providers. Please take a moment to [configure what metrics you'd like to expose](docs/developer/cli-arguments.md), as well as consult the documentation for your Kubernetes environment in order to avoid unexpectedly high costs.
|
||||
|
||||
### kube-state-metrics vs. metrics-server
|
||||
|
||||
|
|
@ -388,7 +388,7 @@ spec:
|
|||
- '--namespaces=project1'
|
||||
```
|
||||
|
||||
For the full list of arguments available, see the documentation in [docs/cli-arguments.md](./docs/cli-arguments.md)
|
||||
For the full list of arguments available, see the documentation in [docs/developer/cli-arguments.md](./docs/developer/cli-arguments.md)
|
||||
|
||||
#### Helm Chart
|
||||
|
||||
|
|
|
|||
|
|
@ -32,44 +32,44 @@ See each file for specific documentation about the exposed metrics:
|
|||
|
||||
### Default Resources
|
||||
|
||||
* [CertificateSigningRequest Metrics](certificatesigningrequest-metrics.md)
|
||||
* [ConfigMap Metrics](configmap-metrics.md)
|
||||
* [CronJob Metrics](cronjob-metrics.md)
|
||||
* [DaemonSet Metrics](daemonset-metrics.md)
|
||||
* [Deployment Metrics](deployment-metrics.md)
|
||||
* [Endpoint Metrics](endpoint-metrics.md)
|
||||
* [Horizontal Pod Autoscaler Metrics](horizontalpodautoscaler-metrics.md)
|
||||
* [Ingress Metrics](ingress-metrics.md)
|
||||
* [Job Metrics](job-metrics.md)
|
||||
* [Lease Metrics](lease-metrics.md)
|
||||
* [LimitRange Metrics](limitrange-metrics.md)
|
||||
* [MutatingWebhookConfiguration Metrics](mutatingwebhookconfiguration-metrics.md)
|
||||
* [Namespace Metrics](namespace-metrics.md)
|
||||
* [NetworkPolicy Metrics](networkpolicy-metrics.md)
|
||||
* [Node Metrics](node-metrics.md)
|
||||
* [PersistentVolume Metrics](persistentvolume-metrics.md)
|
||||
* [PersistentVolumeClaim Metrics](persistentvolumeclaim-metrics.md)
|
||||
* [Pod Disruption Budget Metrics](poddisruptionbudget-metrics.md)
|
||||
* [Pod Metrics](pod-metrics.md)
|
||||
* [ReplicaSet Metrics](replicaset-metrics.md)
|
||||
* [ReplicationController Metrics](replicationcontroller-metrics.md)
|
||||
* [ResourceQuota Metrics](resourcequota-metrics.md)
|
||||
* [Secret Metrics](secret-metrics.md)
|
||||
* [Service Metrics](service-metrics.md)
|
||||
* [StatefulSet Metrics](statefulset-metrics.md)
|
||||
* [StorageClass Metrics](storageclass-metrics.md)
|
||||
* [ValidatingWebhookConfiguration Metrics](validatingwebhookconfiguration-metrics.md)
|
||||
* [VolumeAttachment Metrics](volumeattachment-metrics.md)
|
||||
* [CertificateSigningRequest Metrics](metrics/auth/certificatesigningrequest-metrics.md)
|
||||
* [ConfigMap Metrics](metrics/storage/configmap-metrics.md)
|
||||
* [CronJob Metrics](metrics/workload/cronjob-metrics.md)
|
||||
* [DaemonSet Metrics](metrics/workload/daemonset-metrics.md)
|
||||
* [Deployment Metrics](metrics/workload/deployment-metrics.md)
|
||||
* [Endpoint Metrics](metrics/service/endpoint-metrics.md)
|
||||
* [Horizontal Pod Autoscaler Metrics](metrics/workload/horizontalpodautoscaler-metrics.md)
|
||||
* [Ingress Metrics](metrics/service/ingress-metrics.md)
|
||||
* [Job Metrics](metrics/workload/job-metrics.md)
|
||||
* [Lease Metrics](metrics/cluster/lease-metrics.md)
|
||||
* [LimitRange Metrics](metrics/policy/limitrange-metrics.md)
|
||||
* [MutatingWebhookConfiguration Metrics](metrics/extend/mutatingwebhookconfiguration-metrics.md)
|
||||
* [Namespace Metrics](metrics/cluster/namespace-metrics.md)
|
||||
* [NetworkPolicy Metrics](metrics/policy/networkpolicy-metrics.md)
|
||||
* [Node Metrics](metrics/cluster/node-metrics.md)
|
||||
* [PersistentVolume Metrics](metrics/storage/persistentvolume-metrics.md)
|
||||
* [PersistentVolumeClaim Metrics](metrics/storage/persistentvolumeclaim-metrics.md)
|
||||
* [Pod Disruption Budget Metrics](metrics/policy/poddisruptionbudget-metrics.md)
|
||||
* [Pod Metrics](metrics/workload/pod-metrics.md)
|
||||
* [ReplicaSet Metrics](metrics/workload/replicaset-metrics.md)
|
||||
* [ReplicationController Metrics](metrics/workload/replicationcontroller-metrics.md)
|
||||
* [ResourceQuota Metrics](metrics/policy/resourcequota-metrics.md)
|
||||
* [Secret Metrics](metrics/storage/secret-metrics.md)
|
||||
* [Service Metrics](metrics/service/service-metrics.md)
|
||||
* [StatefulSet Metrics](metrics/workload/statefulset-metrics.md)
|
||||
* [StorageClass Metrics](metrics/storage/storageclass-metrics.md)
|
||||
* [ValidatingWebhookConfiguration Metrics](metrics/extend/validatingwebhookconfiguration-metrics.md)
|
||||
* [VolumeAttachment Metrics](metrics/storage/volumeattachment-metrics.md)
|
||||
|
||||
### Optional Resources
|
||||
|
||||
* [ClusterRole Metrics](clusterrole-metrics.md)
|
||||
* [ClusterRoleBinding Metrics](clusterrolebinding-metrics.md)
|
||||
* [EndpointSlice Metrics](endpointslice-metrics.md)
|
||||
* [IngressClass Metrics](ingressclass-metrics.md)
|
||||
* [Role Metrics](role-metrics.md)
|
||||
* [RoleBinding Metrics](rolebinding-metrics.md)
|
||||
* [ServiceAccount Metrics](serviceaccount-metrics.md)
|
||||
* [ClusterRole Metrics](metrics/cluster/clusterrole-metrics.md)
|
||||
* [ClusterRoleBinding Metrics](metrics/cluster/clusterrolebinding-metrics.md)
|
||||
* [EndpointSlice Metrics](metrics/service/endpointslice-metrics.md)
|
||||
* [IngressClass Metrics](metrics/service/ingressclass-metrics.md)
|
||||
* [Role Metrics](metrics/auth/role-metrics.md)
|
||||
* [RoleBinding Metrics](metrics/auth/rolebinding-metrics.md)
|
||||
* [ServiceAccount Metrics](metrics/auth/serviceaccount-metrics.md)
|
||||
|
||||
## Join Metrics
|
||||
|
||||
|
|
@ -92,8 +92,8 @@ sum(kube_pod_container_resource_requests{resource="memory"}) by (namespace, pod,
|
|||
|
||||
## Metrics from Custom Resources
|
||||
|
||||
See [Custom Resource State Metrics](customresourcestate-metrics.md) for experimental support for custom resources.
|
||||
See [Custom Resource State Metrics](metrics/extend/customresourcestate-metrics.md) for experimental support for custom resources.
|
||||
|
||||
## CLI Arguments
|
||||
|
||||
Additionally, options for `kube-state-metrics` can be passed when executing as a CLI, or in a kubernetes / openshift environment. More information can be found here: [CLI Arguments](cli-arguments.md)
|
||||
Additionally, options for `kube-state-metrics` can be passed when executing as a CLI, or in a kubernetes / openshift environment. More information can be found here: [CLI Arguments](developer/cli-arguments.md)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ spec:
|
|||
|
||||
<!-- markdownlint-disable blanks-around-fences -->
|
||||
<!-- markdownlint-disable link-image-reference-definitions -->
|
||||
[embedmd]:# (../help.txt)
|
||||
[embedmd]:# (../../help.txt)
|
||||
```txt
|
||||
$ kube-state-metrics -h
|
||||
kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.
|
||||
|
|
@ -12,15 +12,15 @@ Any contribution to improving this documentation will be appreciated.
|
|||
|
||||
The following steps are needed to introduce a new resource and its respective resource metrics.
|
||||
|
||||
* Reference your new resource(s) to the [docs/README.md](https://github.com/kubernetes/kube-state-metrics/blob/main/docs/README.md#exposed-metrics).
|
||||
* Reference your new resource(s) in the [docs/cli-arguments.md](https://github.com/kubernetes/kube-state-metrics/blob/main/docs/cli-arguments.md#available-options) as part of the `--resources` flag.
|
||||
* Create a new `<name-of-resource>.md` in the [docs](https://github.com/kubernetes/kube-state-metrics/tree/main/docs) directory to provide documentation on the resource(s) and metrics you implemented. Follow the formatting of all other resources.
|
||||
* Add the resource(s) you are representing to the [jsonnet/kube-state-metrics/kube-state-metrics.libsonnet](https://github.com/kubernetes/kube-state-metrics/blob/main/jsonnet/kube-state-metrics/kube-state-metrics.libsonnet) under the appropriate `apiGroup` using the `verbs`: `list` and `watch`.
|
||||
* Run `make examples/standard`, this should re-generate [examples/standard/cluster-role.yaml](https://github.com/kubernetes/kube-state-metrics/blob/main/examples/standard/cluster-role.yaml) with the resource(s) added to [jsonnet/kube-state-metrics/kube-state-metrics.libsonnet](https://github.com/kubernetes/kube-state-metrics/blob/main/jsonnet/kube-state-metrics/kube-state-metrics.libsonnet).
|
||||
* Reference and add build functions for the new resource(s) in [internal/store/builder.go](https://github.com/kubernetes/kube-state-metrics/blob/main/internal/store/builder.go).
|
||||
* Reference the new resource in [pkg/options/resource.go](https://github.com/kubernetes/kube-state-metrics/blob/main/pkg/options/resource.go).
|
||||
* Add a sample Kubernetes manifest to be used by tests in the [tests/manifests/](https://github.com/kubernetes/kube-state-metrics/tree/main/tests/manifests) directory.
|
||||
* Lastly, and most importantly, actually implement your new resource(s) and its test binary in [internal/store](https://github.com/kubernetes/kube-state-metrics/tree/main/internal/store). Follow the formatting and structure of other resources.
|
||||
* Reference your new resource(s) to the [docs/README.md](./../README.md#exposed-metrics).
|
||||
* Reference your new resource(s) in the [docs/developer/cli-arguments.md](./cli-arguments.md#available-options) as part of the `--resources` flag.
|
||||
* Create a new `<name-of-resource>.md` in the [docs](./../docs) directory to provide documentation on the resource(s) and metrics you implemented. Follow the formatting of all other resources.
|
||||
* Add the resource(s) you are representing to the [jsonnet/kube-state-metrics/kube-state-metrics.libsonnet](./../../jsonnet/kube-state-metrics/kube-state-metrics.libsonnet) under the appropriate `apiGroup` using the `verbs`: `list` and `watch`.
|
||||
* Run `make examples/standard`, this should re-generate [examples/standard/cluster-role.yaml](./../../examples/standard/cluster-role.yaml) with the resource(s) added to [jsonnet/kube-state-metrics/kube-state-metrics.libsonnet](./../../jsonnet/kube-state-metrics/kube-state-metrics.libsonnet).
|
||||
* Reference and add build functions for the new resource(s) in [internal/store/builder.go](./../../internal/store/builder.go).
|
||||
* Reference the new resource in [pkg/options/resource.go](./../../pkg/options/resource.go).
|
||||
* Add a sample Kubernetes manifest to be used by tests in the [tests/manifests/](./../../tests/manifests) directory.
|
||||
* Lastly, and most importantly, actually implement your new resource(s) and its test binary in [internal/store](./../../internal/store). Follow the formatting and structure of other resources.
|
||||
|
||||
### Add New Metrics
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_certificatesigningrequest_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `certificatesigningrequest`=<certificatesigningrequest-name> <br> `signer_name`=<certificatesigningrequest-signer-name> | EXPERIMENTAL |
|
||||
| kube_certificatesigningrequest_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `certificatesigningrequest`=<certificatesigningrequest-name> <br> `signer_name`=<certificatesigningrequest-signer-name> | EXPERIMENTAL |
|
||||
| kube_certificatesigningrequest_created | Gauge | | `certificatesigningrequest`=<certificatesigningrequest-name> <br> `signer_name`=<certificatesigningrequest-signer-name> | STABLE |
|
||||
| kube_certificatesigningrequest_condition | Gauge | | `certificatesigningrequest`=<certificatesigningrequest-name> <br> `signer_name`=<certificatesigningrequest-signer-name> <br> `condition`=<approved\|denied> | STABLE |
|
||||
| kube_certificatesigningrequest_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `certificatesigningrequest`=<certificatesigningrequest-name> <br> `signer_name`=<certificatesigningrequest-signer-name> | STABLE |
|
||||
| kube_certificatesigningrequest_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `certificatesigningrequest`=<certificatesigningrequest-name> <br> `signer_name`=<certificatesigningrequest-signer-name> | STABLE |
|
||||
| kube_certificatesigningrequest_cert_length | Gauge | | `certificatesigningrequest`=<certificatesigningrequest-name> <br> `signer_name`=<certificatesigningrequest-signer-name> | STABLE |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ----------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------------ |
|
||||
| kube_role_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `role`=<role-name> <br> `namespace`=<role-namespace> | EXPERIMENTAL |
|
||||
| kube_role_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `role`=<role-name> <br> `namespace`=<role-namespace> | EXPERIMENTAL |
|
||||
| kube_role_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `role`=<role-name> <br> `namespace`=<role-namespace> | EXPERIMENTAL |
|
||||
| kube_role_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `role`=<role-name> <br> `namespace`=<role-namespace> | EXPERIMENTAL |
|
||||
| kube_role_info | Gauge | | `role`=<role-name> <br> `namespace`=<role-namespace> | EXPERIMENTAL |
|
||||
| kube_role_created | Gauge | | `role`=<role-name> <br> `namespace`=<role-namespace> | EXPERIMENTAL |
|
||||
| kube_role_metadata_resource_version | Gauge | | `role`=<role-name> <br> `namespace`=<role-namespace> | EXPERIMENTAL |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_rolebinding_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `rolebinding`=<rolebinding-name> <br> `namespace`=<rolebinding-namespace> | EXPERIMENTAL |
|
||||
| kube_rolebinding_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `rolebinding`=<rolebinding-name> <br> `namespace`=<rolebinding-namespace> | EXPERIMENTAL |
|
||||
| kube_rolebinding_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `rolebinding`=<rolebinding-name> <br> `namespace`=<rolebinding-namespace> | EXPERIMENTAL |
|
||||
| kube_rolebinding_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `rolebinding`=<rolebinding-name> <br> `namespace`=<rolebinding-namespace> | EXPERIMENTAL |
|
||||
| kube_rolebinding_info | Gauge | | `rolebinding`=<rolebinding-name> <br> `namespace`=<rolebinding-namespace> <br> `roleref_kind`=<role-kind> <br> `roleref_name`=<role-name> | EXPERIMENTAL |
|
||||
| kube_rolebinding_created | Gauge | | `rolebinding`=<rolebinding-name> <br> `namespace`=<rolebinding-namespace> | EXPERIMENTAL |
|
||||
| kube_rolebinding_metadata_resource_version | Gauge | | `rolebinding`=<rolebinding-name> <br> `namespace`=<rolebinding-namespace> | EXPERIMENTAL |
|
||||
|
|
@ -7,5 +7,5 @@
|
|||
| kube_serviceaccount_deleted | Gauge | Unix deletion timestamp | | `namespace`=<serviceaccount-namespace> <br> `serviceaccount`=<serviceaccount-name> <br> `uid`=<serviceaccount-uid> | EXPERIMENTAL |
|
||||
| kube_serviceaccount_secret | Gauge | Secret being referenced by a service account | | `namespace`=<serviceaccount-namespace> <br> `serviceaccount`=<serviceaccount-name> <br> `uid`=<serviceaccount-uid> <br> `name`=<secret-name> | EXPERIMENTAL |
|
||||
| kube_serviceaccount_image_pull_secret | Gauge | Secret being referenced by a service account for the purpose of pulling images | | `namespace`=<serviceaccount-namespace> <br> `serviceaccount`=<serviceaccount-name> <br> `uid`=<serviceaccount-uid> <br> `name`=<secret-name> | EXPERIMENTAL |
|
||||
| kube_serviceaccount_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | | `namespace`=<serviceaccount-namespace> <br> `serviceaccount`=<serviceaccount-name> <br> `uid`=<serviceaccount-uid> <br> `annotation_SERVICE_ACCOUNT_ANNOTATION`=<SERVICE_ACCOUNT_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_serviceaccount_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | | `namespace`=<serviceaccount-namespace> <br> `serviceaccount`=<serviceaccount-name> <br> `uid`=<serviceaccount-uid> <br> `label_SERVICE_ACCOUNT_LABEL`=<SERVICE_ACCOUNT_LABEL> | EXPERIMENTAL |
|
||||
| kube_serviceaccount_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | | `namespace`=<serviceaccount-namespace> <br> `serviceaccount`=<serviceaccount-name> <br> `uid`=<serviceaccount-uid> <br> `annotation_SERVICE_ACCOUNT_ANNOTATION`=<SERVICE_ACCOUNT_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_serviceaccount_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | | `namespace`=<serviceaccount-namespace> <br> `serviceaccount`=<serviceaccount-name> <br> `uid`=<serviceaccount-uid> <br> `label_SERVICE_ACCOUNT_LABEL`=<SERVICE_ACCOUNT_LABEL> | EXPERIMENTAL |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | ------------ |
|
||||
| kube_clusterrole_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `clusterrole`=<clusterrole-name> | EXPERIMENTAL |
|
||||
| kube_clusterrole_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `clusterrole`=<clusterrole-name> | EXPERIMENTAL |
|
||||
| kube_clusterrole_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `clusterrole`=<clusterrole-name> | EXPERIMENTAL |
|
||||
| kube_clusterrole_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `clusterrole`=<clusterrole-name> | EXPERIMENTAL |
|
||||
| kube_clusterrole_info | Gauge | | `clusterrole`=<clusterrole-name> | EXPERIMENTAL |
|
||||
| kube_clusterrole_created | Gauge | | `clusterrole`=<clusterrole-name> | EXPERIMENTAL |
|
||||
| kube_clusterrole_metadata_resource_version | Gauge | | `clusterrole`=<clusterrole-name> | EXPERIMENTAL |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_clusterrolebinding_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `clusterrolebinding`=<clusterrolebinding-name> | EXPERIMENTAL |
|
||||
| kube_clusterrolebinding_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `clusterrolebinding`=<clusterrolebinding-name> | EXPERIMENTAL |
|
||||
| kube_clusterrolebinding_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `clusterrolebinding`=<clusterrolebinding-name> | EXPERIMENTAL |
|
||||
| kube_clusterrolebinding_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `clusterrolebinding`=<clusterrolebinding-name> | EXPERIMENTAL |
|
||||
| kube_clusterrolebinding_info | Gauge | | `clusterrolebinding`=<clusterrolebinding-name> <br> `roleref_kind`=<role-kind> <br> `roleref_name`=<role-name> | EXPERIMENTAL |
|
||||
| kube_clusterrolebinding_created | Gauge | | `clusterrolebinding`=<clusterrolebinding-name> | EXPERIMENTAL |
|
||||
| kube_clusterrolebinding_metadata_resource_version | Gauge | | `clusterrolebinding`=<clusterrolebinding-name> | EXPERIMENTAL |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_namespace_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `namespace`=<namespace-name> <br> `label_NS_ANNOTATION`=<NS_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_namespace_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `namespace`=<namespace-name> <br> `label_NS_ANNOTATION`=<NS_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_namespace_created | Gauge | | `namespace`=<namespace-name> | STABLE |
|
||||
| kube_namespace_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `namespace`=<namespace-name> <br> `label_NS_LABEL`=<NS_LABEL> | STABLE |
|
||||
| kube_namespace_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `namespace`=<namespace-name> <br> `label_NS_LABEL`=<NS_LABEL> | STABLE |
|
||||
| kube_namespace_status_condition | Gauge | | `namespace`=<namespace-name> <br> `condition`=<NamespaceDeletionDiscoveryFailure\|NamespaceDeletionContentFailure\|NamespaceDeletionGroupVersionParsingFailure> <br> `status`=<true\|false\|unknown> | EXPERIMENTAL |
|
||||
| kube_namespace_status_phase | Gauge | | `namespace`=<namespace-name> <br> `phase`=<Active\|Terminating> | STABLE |
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
| Metric name | Metric type | Description | Unit (where applicable) | Labels/tags | Status |
|
||||
| ---------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_node_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | | `node`=<node-address> <br> `annotation_NODE_ANNOTATION`=<NODE_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_node_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | | `node`=<node-address> <br> `annotation_NODE_ANNOTATION`=<NODE_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_node_info | Gauge | Information about a cluster node | | `node`=<node-address> <br> `kernel_version`=<kernel-version> <br> `os_image`=<os-image-name> <br> `container_runtime_version`=<container-runtime-and-version-combination> <br> `kubelet_version`=<kubelet-version> <br> `kubeproxy_version`=<kubeproxy-version> <br> `pod_cidr`=<pod-cidr> <br> `provider_id`=<provider-id> <br> `system_uuid`=<system-uuid> <br> `internal_ip`=<internal-ip> | STABLE |
|
||||
| kube_node_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | | `node`=<node-address> <br> `label_NODE_LABEL`=<NODE_LABEL> | STABLE |
|
||||
| kube_node_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | | `node`=<node-address> <br> `label_NODE_LABEL`=<NODE_LABEL> | STABLE |
|
||||
| kube_node_role | Gauge | The role of a cluster node | | `node`=<node-address> <br> `role`=<NODE_ROLE> | EXPERIMENTAL |
|
||||
| kube_node_spec_unschedulable | Gauge | Whether a node can schedule new pods | | `node`=<node-address> | STABLE |
|
||||
| kube_node_spec_taint | Gauge | The taint of a cluster node. | | `node`=<node-address> <br> `key`=<taint-key> <br> `value=`<taint-value> <br> `effect=`<taint-effect> | STABLE |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ------------ |
|
||||
| kube_networkpolicy_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `namespace`=<namespace name> `networkpolicy`=<networkpolicy name> | EXPERIMENTAL |
|
||||
| kube_networkpolicy_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `namespace`=<namespace name> `networkpolicy`=<networkpolicy name> | EXPERIMENTAL |
|
||||
| kube_networkpolicy_created | Gauge | | `namespace`=<namespace name> `networkpolicy`=<networkpolicy name> | EXPERIMENTAL |
|
||||
| kube_networkpolicy_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `namespace`=<namespace name> `networkpolicy`=<networkpolicy name> | EXPERIMENTAL |
|
||||
| kube_networkpolicy_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `namespace`=<namespace name> `networkpolicy`=<networkpolicy name> | EXPERIMENTAL |
|
||||
| kube_networkpolicy_spec_egress_rules | Gauge | | `namespace`=<namespace name> `networkpolicy`=<networkpolicy name> | EXPERIMENTAL |
|
||||
| kube_networkpolicy_spec_ingress_rules | Gauge | | `namespace`=<namespace name> `networkpolicy`=<networkpolicy name> | EXPERIMENTAL |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_poddisruptionbudget_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `poddisruptionbudget`=<poddisruptionbudget-name> <br> `namespace`=<poddisruptionbudget-namespace> <br> `annotation_PODDISRUPTIONBUDGET_ANNOTATION`=<PODDISRUPTIONBUDGET_ANNOATION> | EXPERIMENTAL |
|
||||
| kube_poddisruptionbudget_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `poddisruptionbudget`=<poddisruptionbudget-name> <br> `namespace`=<poddisruptionbudget-namespace> <br> `label_PODDISRUPTIONBUDGET_LABEL`=<PODDISRUPTIONBUDGET_ANNOATION> | EXPERIMENTAL |
|
||||
| kube_poddisruptionbudget_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `poddisruptionbudget`=<poddisruptionbudget-name> <br> `namespace`=<poddisruptionbudget-namespace> <br> `annotation_PODDISRUPTIONBUDGET_ANNOTATION`=<PODDISRUPTIONBUDGET_ANNOATION> | EXPERIMENTAL |
|
||||
| kube_poddisruptionbudget_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `poddisruptionbudget`=<poddisruptionbudget-name> <br> `namespace`=<poddisruptionbudget-namespace> <br> `label_PODDISRUPTIONBUDGET_LABEL`=<PODDISRUPTIONBUDGET_ANNOATION> | EXPERIMENTAL |
|
||||
| kube_poddisruptionbudget_created | Gauge | | `poddisruptionbudget`=<pdb-name> <br> `namespace`=<pdb-namespace> | STABLE |
|
||||
| kube_poddisruptionbudget_status_current_healthy | Gauge | | `poddisruptionbudget`=<pdb-name> <br> `namespace`=<pdb-namespace> | STABLE |
|
||||
| kube_poddisruptionbudget_status_desired_healthy | Gauge | | `poddisruptionbudget`=<pdb-name> <br> `namespace`=<pdb-namespace> | STABLE |
|
||||
|
|
@ -4,5 +4,5 @@
|
|||
| ------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_resourcequota | Gauge | | `resourcequota`=<quota-name> <br> `namespace`=<namespace> <br> `resource`=<ResourceName> <br> `type`=<quota-type> | STABLE |
|
||||
| kube_resourcequota_created | Gauge | | `resourcequota`=<quota-name> <br> `namespace`=<namespace> | STABLE |
|
||||
| kube_resourcequota_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `resourcequota`=<quota-name> <br> `namespace`=<namespace> <br> `annotation_RESOURCE_QUOTA_ANNOTATION`=<RESOURCE_QUOTA_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_resourcequota_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `resourcequota`=<quota-name> <br> `namespace`=<namespace> <br> `label_RESOURCE_QUOTA_LABEL`=<RESOURCE_QUOTA_LABEL> | EXPERIMENTAL |
|
||||
| kube_resourcequota_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `resourcequota`=<quota-name> <br> `namespace`=<namespace> <br> `annotation_RESOURCE_QUOTA_ANNOTATION`=<RESOURCE_QUOTA_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_resourcequota_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `resourcequota`=<quota-name> <br> `namespace`=<namespace> <br> `label_RESOURCE_QUOTA_LABEL`=<RESOURCE_QUOTA_LABEL> | EXPERIMENTAL |
|
||||
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_endpoint_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `annotation_ENDPOINT_ANNOTATION`=<ENDPOINT_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_endpoint_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `annotation_ENDPOINT_ANNOTATION`=<ENDPOINT_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_endpoint_address_not_ready | Gauge | | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> | DEPRECATED |
|
||||
| kube_endpoint_address_available | Gauge | | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> | DEPRECATED |
|
||||
| kube_endpoint_info | Gauge | | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> | STABLE |
|
||||
| kube_endpoint_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `label_ENDPOINT_LABEL`=<ENDPOINT_LABEL> | STABLE |
|
||||
| kube_endpoint_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `label_ENDPOINT_LABEL`=<ENDPOINT_LABEL> | STABLE |
|
||||
| kube_endpoint_created | Gauge | | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> | STABLE |
|
||||
| kube_endpoint_ports | Gauge | | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `port_name`=<endpoint-port-name> <br> `port_protocol`=<endpoint-port-protocol> <br> `port_number`=<endpoint-port-number> | STABLE |
|
||||
| kube_endpoint_address | Gauge | | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `ip`=<endpoint-ip> <br> `ready`=<true if available, false if unavailalbe> | STABLE |
|
||||
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_endpointslice_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> <br> `annotation_ENDPOINTSLICE_ANNOTATION`=<ENDPOINTSLICE_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_endpointslice_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> <br> `annotation_ENDPOINTSLICE_ANNOTATION`=<ENDPOINTSLICE_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_endpointslice_info | Gauge | | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> | EXPERIMENTAL |
|
||||
| kube_endpointslice_ports | Gauge | | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> <br> `port_name`=<endpointslice-port-name> <br> `port_protocol`=<endpointslice-port-protocol> <br> `port_number`=<endpointslice-port-number> | EXPERIMENTAL |
|
||||
| kube_endpointslice_endpoints | Gauge | | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> <br> `ready`=<endpointslice-ready> <br> `serving`=<endpointslice-serving> <br> `terminating`=<endpointslice-terminating> <br> `hostname`=<endpointslice-hostname> <br> `targetref_kind`=<endpointslice-targetref-kind> <br> `targetref_name`=<endpointslice-targetref-name> <br> `targetref_namespace`=<endpointslice-targetref-namespace> <br> `nodename`=<endpointslice-nodename> <br> `endpoint_zone`=<endpointslice-zone> | EXPERIMENTAL |
|
||||
| kube_endpointslice_endpoints_hints | Gauge | Each line is a hint applied to an endpoint-slice | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> <br> `address`=<endpointslice-address[0]> <br> `for_zone`=<endpointslice-hint> | EXPERIMENTAL |
|
||||
| kube_endpointslice_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> <br> `label_ENDPOINTSLICE_LABEL`=<ENDPOINTSLICE_LABEL> | EXPERIMENTAL |
|
||||
| kube_endpointslice_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> <br> `label_ENDPOINTSLICE_LABEL`=<ENDPOINTSLICE_LABEL> | EXPERIMENTAL |
|
||||
| kube_endpointslice_created | Gauge | | `endpointslice`=<endpointslice-name> <br> `namespace`=<endpointslice-namespace> | EXPERIMENTAL |
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| -------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_ingress_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `annotation_INGRESS_ANNOTATION`=<ANNOTATION_LABEL> | EXPERIMENTAL |
|
||||
| kube_ingress_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `annotation_INGRESS_ANNOTATION`=<ANNOTATION_LABEL> | EXPERIMENTAL |
|
||||
| kube_ingress_info | Gauge | | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `ingressclass`=<ingress-class> or `_default` if not set | STABLE |
|
||||
| kube_ingress_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `label_INGRESS_LABEL`=<INGRESS_LABEL> | STABLE |
|
||||
| kube_ingress_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `label_INGRESS_LABEL`=<INGRESS_LABEL> | STABLE |
|
||||
| kube_ingress_created | Gauge | | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> | STABLE |
|
||||
| kube_ingress_metadata_resource_version | Gauge | | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> | EXPERIMENTAL |
|
||||
| kube_ingress_path | Gauge | | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `host`=<ingress-host> <br> `path`=<ingress-path> <br><i> If path served by Service Backend</i> <br> `service_name`=<service name for the path> <br> `service_port`=<service port for the path><br><i> If path served by Resource Backend</i><br> `resource_api_group`=<resource backend api group> <br> `resource_kind`=<resource backend kind> <br> `resource_name`=<resource backend name> | STABLE |
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ----------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ------------ |
|
||||
| kube_ingressclass_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `ingressclass`=<ingressclass-name> <br> `annotation_INGRESSCLASS_ANNOTATION`=<INGRESSCLASS_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_ingressclass_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `ingressclass`=<ingressclass-name> <br> `annotation_INGRESSCLASS_ANNOTATION`=<INGRESSCLASS_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_ingressclass_info | Gauge | | `ingressclass`=<ingressclass-name> <br> `controller`=<ingress-controller-name> <br> | EXPERIMENTAL |
|
||||
| kube_ingressclass_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `ingressclass`=<ingressclass-name> <br> `label_INGRESSCLASS_LABEL`=<INGRESSCLASS_LABEL> | EXPERIMENTAL |
|
||||
| kube_ingressclass_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `ingressclass`=<ingressclass-name> <br> `label_INGRESSCLASS_LABEL`=<INGRESSCLASS_LABEL> | EXPERIMENTAL |
|
||||
| kube_ingressclass_created | Gauge | | `ingressclass`=<ingressclass-name> | EXPERIMENTAL |
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
| Metric name | Metric type | Description | Unit (where applicable) | Labels/tags | Status |
|
||||
| ----------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_service_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> <br> `annotation_SERVICE_ANNOTATION`=<SERVICE_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_service_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> <br> `annotation_SERVICE_ANNOTATION`=<SERVICE_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_service_info | Gauge | Information about service | | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> <br> `cluster_ip`=<service cluster ip> <br> `external_name`=<service external name> <br> `load_balancer_ip`=<service load balancer ip> | STABLE |
|
||||
| kube_service_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> <br> `label_SERVICE_LABEL`=<SERVICE_LABEL> | STABLE |
|
||||
| kube_service_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> <br> `label_SERVICE_LABEL`=<SERVICE_LABEL> | STABLE |
|
||||
| kube_service_created | Gauge | Unix creation timestamp | seconds | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> | STABLE |
|
||||
| kube_service_spec_type | Gauge | Type about service | | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> <br> `type`=<ClusterIP\|NodePort\|LoadBalancer\|ExternalName> | STABLE |
|
||||
| kube_service_spec_external_ip | Gauge | Service external ips. One series for each ip | | `service`=<service-name> <br> `namespace`=<service-namespace> <br> `uid`=<service-uid> <br> `external_ip`=<external-ip> | STABLE |
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ---------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_configmap_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `configmap`=<configmap-name> <br> `namespace`=<configmap-namespace> <br> `annotation_CONFIGMAP_ANNOTATION`=<CONFIGMAP_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_configmap_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `configmap`=<configmap-name> <br> `namespace`=<configmap-namespace> <br> `label_CONFIGMAP_LABEL`=<CONFIGMAP_LABEL> | STABLE |
|
||||
| kube_configmap_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `configmap`=<configmap-name> <br> `namespace`=<configmap-namespace> <br> `annotation_CONFIGMAP_ANNOTATION`=<CONFIGMAP_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_configmap_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `configmap`=<configmap-name> <br> `namespace`=<configmap-namespace> <br> `label_CONFIGMAP_LABEL`=<CONFIGMAP_LABEL> | STABLE |
|
||||
| kube_configmap_info | Gauge | | `configmap`=<configmap-name> <br> `namespace`=<configmap-namespace> | STABLE |
|
||||
| kube_configmap_created | Gauge | | `configmap`=<configmap-name> <br> `namespace`=<configmap-namespace> | STABLE |
|
||||
| kube_configmap_metadata_resource_version | Gauge | | `configmap`=<configmap-name> <br> `namespace`=<configmap-namespace> | EXPERIMENTAL |
|
||||
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
| Metric name | Metric type | Description | Unit (where applicable) | Labels/tags | Status |
|
||||
|------------------------------------------|-------------|---------------------------------------------------------------------------------------------------------------------------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|
|
||||
| kube_persistentvolume_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | | `persistentvolume`=<persistentvolume-name> <br> `annotation_PERSISTENTVOLUME_ANNOTATION`=<PERSISTENTVOLUME_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_persistentvolume_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | | `persistentvolume`=<persistentvolume-name> <br> `annotation_PERSISTENTVOLUME_ANNOTATION`=<PERSISTENTVOLUME_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_persistentvolume_capacity_bytes | Gauge | | | `persistentvolume`=<pv-name> | STABLE |
|
||||
| kube_persistentvolume_status_phase | Gauge | | | `persistentvolume`=<pv-name> <br>`phase`=<Bound\|Failed\|Pending\|Available\|Released> | STABLE |
|
||||
| kube_persistentvolume_claim_ref | Gauge | | | `persistentvolume`=<pv-name> <br>`claim_namespace`=<<namespace>> <br>`name`=<<name>> | STABLE |
|
||||
| kube_persistentvolume_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | | `persistentvolume`=<persistentvolume-name> <br> `label_PERSISTENTVOLUME_LABEL`=<PERSISTENTVOLUME_LABEL> | STABLE |
|
||||
| kube_persistentvolume_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | | `persistentvolume`=<persistentvolume-name> <br> `label_PERSISTENTVOLUME_LABEL`=<PERSISTENTVOLUME_LABEL> | STABLE |
|
||||
| kube_persistentvolume_info | Gauge | Information about Persistent Volumes | | `persistentvolume`=<pv-name> <br> `storageclass`=<storageclass-name> <br> `gce_persistent_disk_name`=<pd-name> <br> `host_path`=<path-of-a-host-volume> <br> `host_path_type`=<host-mount-type> <br> `ebs_volume_id`=<ebs-volume-id> <br> `azure_disk_name`=<azure-disk-name> <br> `fc_wwids`=<fc-wwids-comma-separated> <br> `fc_lun`=<fc-lun> <br> `fc_target_wwns`=<fc-target-wwns-comma-separated> <br> `iscsi_target_portal`=<iscsi-target-portal> <br> `iscsi_iqn`=<iscsi-iqn> <br> `iscsi_lun`=<iscsi-lun> <br> `iscsi_initiator_name`=<iscsi-initiator-name> <br> `local_path`=<path-of-a-local-volume> <br> `local_fs`=<local-volume-fs-type> <br> `nfs_server`=<nfs-server> <br> `nfs_path`=<nfs-path> <br> `csi_driver`=<csi-driver> <br> `csi_volume_handle`=<csi-volume-handle> | STABLE |
|
||||
| kube_persistentvolume_created | Gauge | Unix creation timestamp | seconds | `persistentvolume`=<persistentvolume-name> <br> | EXPERIMENTAL |
|
||||
| kube_persistentvolume_deletion_timestamp | Gauge | Unix deletion timestamp | seconds | `persistentvolume`=<persistentvolume-name> <br> | EXPERIMENTAL |
|
||||
| kube_persistentvolume_csi_attributes | Gauge | CSI attributes of the Persistent Volume, disabled by default, manage with [--metric-opt-in-list](./cli-arguments.md)) | | `persistentvolume`=<persistentvolume-name> <br> `csi_mounter`=<csi-mounter> <br> `csi_map_options`=<csi-map-options> | EXPERIMENTAL |
|
||||
| kube_persistentvolume_csi_attributes | Gauge | CSI attributes of the Persistent Volume, disabled by default, manage with [--metric-opt-in-list](../../developer/cli-arguments.md)) | | `persistentvolume`=<persistentvolume-name> <br> `csi_mounter`=<csi-mounter> <br> `csi_map_options`=<csi-map-options> | EXPERIMENTAL |
|
||||
|
||||
## Useful metrics queries
|
||||
|
||||
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
| Metric name | Metric type | Description | Unit (where applicable) | Labels/tags | Status |
|
||||
| ---------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ |
|
||||
| kube_persistentvolumeclaim_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | | `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `namespace`=<persistentvolumeclaim-namespace> <br> `annotation_PERSISTENTVOLUMECLAIM_ANNOTATION`=<PERSISTENTVOLUMECLAIM_ANNOATION> | EXPERIMENTAL |
|
||||
| kube_persistentvolumeclaim_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | | `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `namespace`=<persistentvolumeclaim-namespace> <br> `annotation_PERSISTENTVOLUMECLAIM_ANNOTATION`=<PERSISTENTVOLUMECLAIM_ANNOATION> | EXPERIMENTAL |
|
||||
| kube_persistentvolumeclaim_access_mode | Gauge | | | `access_mode`=<persistentvolumeclaim-access-mode> <br>`namespace`=<persistentvolumeclaim-namespace> <br> `persistentvolumeclaim`=<persistentvolumeclaim-name> | STABLE |
|
||||
| kube_persistentvolumeclaim_info | Gauge | | | `namespace`=<persistentvolumeclaim-namespace> <br> `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `storageclass`=<persistentvolumeclaim-storageclassname><br>`volumename`=<volumename><br>`volumemode`=<volumemode> | STABLE |
|
||||
| kube_persistentvolumeclaim_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | | `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `namespace`=<persistentvolumeclaim-namespace> <br> `label_PERSISTENTVOLUMECLAIM_LABEL`=<PERSISTENTVOLUMECLAIM_LABEL> | STABLE |
|
||||
| kube_persistentvolumeclaim_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | | `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `namespace`=<persistentvolumeclaim-namespace> <br> `label_PERSISTENTVOLUMECLAIM_LABEL`=<PERSISTENTVOLUMECLAIM_LABEL> | STABLE |
|
||||
| kube_persistentvolumeclaim_resource_requests_storage_bytes | Gauge | | | `namespace`=<persistentvolumeclaim-namespace> <br> `persistentvolumeclaim`=<persistentvolumeclaim-name> | STABLE |
|
||||
| kube_persistentvolumeclaim_status_condition | Gauge | | | `namespace` =<persistentvolumeclaim-namespace> <br> `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `type`=<persistentvolumeclaim-condition-type> <br> `status`=<true\false\unknown> | EXPERIMENTAL |
|
||||
| kube_persistentvolumeclaim_status_phase | Gauge | | | `namespace`=<persistentvolumeclaim-namespace> <br> `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `phase`=<Pending\Bound\Lost> | STABLE |
|
||||
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_secret_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `annotations_SECRET_ANNOTATION`=<SECRET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_secret_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `annotations_SECRET_ANNOTATION`=<SECRET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_secret_info | Gauge | | `secret`=<secret-name> <br> `namespace`=<secret-namespace> | STABLE |
|
||||
| kube_secret_type | Gauge | | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `type`=<secret-type> | STABLE |
|
||||
| kube_secret_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `label_SECRET_LABEL`=<SECRET_LABEL> | STABLE |
|
||||
| kube_secret_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `label_SECRET_LABEL`=<SECRET_LABEL> | STABLE |
|
||||
| kube_secret_created | Gauge | | `secret`=<secret-name> <br> `namespace`=<secret-namespace> | STABLE |
|
||||
| kube_secret_metadata_resource_version | Gauge | | `secret`=<secret-name> <br> `namespace`=<secret-namespace> | EXPERIMENTAL |
|
||||
| kube_secret_owner | Gauge | | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `owner_kind`=<owner kind> <br> `owner_name`=<owner name> <br> `owner_is_controller`=<whether owner is controller> | EXPERIMENTAL |
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ----------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_storageclass_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `storageclass`=<storageclass-name> <br> `annotation_STORAGECLASS_ANNOTATION`=<STORAGECLASS_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_storageclass_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `storageclass`=<storageclass-name> <br> `annotation_STORAGECLASS_ANNOTATION`=<STORAGECLASS_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_storageclass_info | Gauge | | `storageclass`=<storageclass-name> <br> `provisioner`=<storageclass-provisioner> <br> `reclaim_policy`=<storageclass-reclaimPolicy> <br> `volume_binding_mode`=<storageclass-volumeBindingMode> | STABLE |
|
||||
| kube_storageclass_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `storageclass`=<storageclass-name> <br> `label_STORAGECLASS_LABEL`=<STORAGECLASS_LABEL> | STABLE |
|
||||
| kube_storageclass_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `storageclass`=<storageclass-name> <br> `label_STORAGECLASS_LABEL`=<STORAGECLASS_LABEL> | STABLE |
|
||||
| kube_storageclass_created | Gauge | | `storageclass`=<storageclass-name> | STABLE |
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
| -------------------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_volumeattachment_info | Gauge | | `volumeattachment`=<volumeattachment-name> <br> `attacher`=<attacher-name> <br> `node`=<node-name> | EXPERIMENTAL |
|
||||
| kube_volumeattachment_created | Gauge | | `volumeattachment`=<volumeattachment-name> | EXPERIMENTAL |
|
||||
| kube_volumeattachment_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `volumeattachment`=<volumeattachment-name> <br> `label_VOLUMEATTACHMENT_LABEL`=<VOLUMEATTACHMENT_LABEL> | EXPERIMENTAL |
|
||||
| kube_volumeattachment_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `volumeattachment`=<volumeattachment-name> <br> `label_VOLUMEATTACHMENT_LABEL`=<VOLUMEATTACHMENT_LABEL> | EXPERIMENTAL |
|
||||
| kube_volumeattachment_spec_source_persistentvolume | Gauge | | `volumeattachment`=<volumeattachment-name> <br> `volumename`=<persistentvolume-name> | EXPERIMENTAL |
|
||||
| kube_volumeattachment_status_attached | Gauge | | `volumeattachment`=<volumeattachment-name> | EXPERIMENTAL |
|
||||
| kube_volumeattachment_status_attachment_metadata | Gauge | | `volumeattachment`=<volumeattachment-name> <br> `metadata_METADATA_KEY`=<METADATA_VALUE> | EXPERIMENTAL |
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ---------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_cronjob_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `annotation_CRONJOB_ANNOTATION`=<CRONJOB_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_cronjob_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `annotation_CRONJOB_ANNOTATION`=<CRONJOB_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_cronjob_info | Gauge | | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `schedule`=<schedule> <br> `concurrency_policy`=<concurrency-policy> | STABLE |
|
||||
| kube_cronjob_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `label_CRONJOB_LABEL`=<CRONJOB_LABEL> | STABLE |
|
||||
| kube_cronjob_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `label_CRONJOB_LABEL`=<CRONJOB_LABEL> | STABLE |
|
||||
| kube_cronjob_created | Gauge | | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> | STABLE |
|
||||
| kube_cronjob_next_schedule_time | Gauge | | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> | STABLE |
|
||||
| kube_cronjob_status_active | Gauge | | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> | STABLE |
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ---------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_daemonset_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> <br> `annotation_DAEMONSET_ANNOTATION`=<DAEMONSET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_daemonset_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> <br> `annotation_DAEMONSET_ANNOTATION`=<DAEMONSET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_daemonset_created | Gauge | | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> | STABLE |
|
||||
| kube_daemonset_status_current_number_scheduled | Gauge | | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> | STABLE |
|
||||
| kube_daemonset_status_desired_number_scheduled | Gauge | | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> | STABLE |
|
||||
|
|
@ -13,4 +13,4 @@
|
|||
| kube_daemonset_status_observed_generation | Gauge | | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> | STABLE |
|
||||
| kube_daemonset_status_updated_number_scheduled | Gauge | | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> | STABLE |
|
||||
| kube_daemonset_metadata_generation | Gauge | | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> | STABLE |
|
||||
| kube_daemonset_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> <br> `label_DAEMONSET_LABEL`=<DAEMONSET_LABEL> | STABLE |
|
||||
| kube_daemonset_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `daemonset`=<daemonset-name> <br> `namespace`=<daemonset-namespace> <br> `label_DAEMONSET_LABEL`=<DAEMONSET_LABEL> | STABLE |
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ----------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_deployment_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> <br> `annotation_DEPLOYMENT_ANNOTATION`=<DEPLOYMENT_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_deployment_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> <br> `annotation_DEPLOYMENT_ANNOTATION`=<DEPLOYMENT_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_deployment_status_replicas | Gauge | | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> | STABLE |
|
||||
| kube_deployment_status_replicas_ready | Gauge | | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> | STABLE |
|
||||
| kube_deployment_status_replicas_available | Gauge | | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> | STABLE |
|
||||
|
|
@ -15,5 +15,5 @@
|
|||
| kube_deployment_spec_strategy_rollingupdate_max_unavailable | Gauge | | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> | STABLE |
|
||||
| kube_deployment_spec_strategy_rollingupdate_max_surge | Gauge | | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> | STABLE |
|
||||
| kube_deployment_metadata_generation | Gauge | | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> | STABLE |
|
||||
| kube_deployment_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> <br> `label_DEPLOYMENT_LABEL`=<DEPLOYMENT_LABEL> | STABLE |
|
||||
| kube_deployment_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> <br> `label_DEPLOYMENT_LABEL`=<DEPLOYMENT_LABEL> | STABLE |
|
||||
| kube_deployment_created | Gauge | | `deployment`=<deployment-name> <br> `namespace`=<deployment-namespace> | STABLE |
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ---------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_horizontalpodautoscaler_info | Gauge | | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> <br> `scaletargetref_api_version`=<hpa-target-api-version> <br> `scaletargetref_kind`=<hpa-target-kind> <br> `scaletargetref_name`=<hpa-target-name> | EXPERIMENTAL |
|
||||
| kube_horizontalpodautoscaler_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> | EXPERIMENTAL |
|
||||
| kube_horizontalpodautoscaler_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> | STABLE |
|
||||
| kube_horizontalpodautoscaler_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> | EXPERIMENTAL |
|
||||
| kube_horizontalpodautoscaler_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> | STABLE |
|
||||
| kube_horizontalpodautoscaler_metadata_generation | Gauge | | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> | STABLE |
|
||||
| kube_horizontalpodautoscaler_spec_max_replicas | Gauge | | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> | STABLE |
|
||||
| kube_horizontalpodautoscaler_spec_min_replicas | Gauge | | `horizontalpodautoscaler`=<hpa-name> <br> `namespace`=<hpa-namespace> | STABLE |
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_job_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `job_name`=<job-name> <br> `namespace`=<job-namespace> <br> `annotation_JOB_ANNOTATION`=<JOB_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_job_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `job_name`=<job-name> <br> `namespace`=<job-namespace> <br> `annotation_JOB_ANNOTATION`=<JOB_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_job_info | Gauge | | `job_name`=<job-name> <br> `namespace`=<job-namespace> | STABLE |
|
||||
| kube_job_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `job_name`=<job-name> <br> `namespace`=<job-namespace> <br> `label_JOB_LABEL`=<JOB_LABEL> | STABLE |
|
||||
| kube_job_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `job_name`=<job-name> <br> `namespace`=<job-namespace> <br> `label_JOB_LABEL`=<JOB_LABEL> | STABLE |
|
||||
| kube_job_owner | Gauge | | `job_name`=<job-name> <br> `namespace`=<job-namespace> <br> `owner_kind`=<owner kind> <br> `owner_name`=<owner name> <br> `owner_is_controller`=<whether owner is controller> | STABLE |
|
||||
| kube_job_spec_parallelism | Gauge | | `job_name`=<job-name> <br> `namespace`=<job-namespace> | STABLE |
|
||||
| kube_job_spec_completions | Gauge | | `job_name`=<job-name> <br> `namespace`=<job-namespace> | STABLE |
|
||||
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
| Metric name | Metric type | Description | Unit (where applicable) | Labels/tags | Status | Opt-in |
|
||||
| ----------------------------------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------ |
|
||||
| kube_pod_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `annotation_POD_ANNOTATION`=<POD_ANNOTATION> <br> `uid`=<pod-uid> | EXPERIMENTAL | - |
|
||||
| kube_pod_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `annotation_POD_ANNOTATION`=<POD_ANNOTATION> <br> `uid`=<pod-uid> | EXPERIMENTAL | - |
|
||||
| kube_pod_info | Gauge | Information about pod | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `host_ip`=<host-ip> <br> `pod_ip`=<pod-ip> <br> `node`=<node-name><br> `created_by_kind`=<created_by_kind><br> `created_by_name`=<created_by_name><br> `uid`=<pod-uid><br> `priority_class`=<priority_class><br> `host_network`=<host_network> | STABLE | - |
|
||||
| kube_pod_ips | Gauge | Pod IP addresses | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `ip`=<pod-ip-address> <br> `ip_family`=<4 OR 6> <br> `uid`=<pod-uid> | EXPERIMENTAL | - |
|
||||
| kube_pod_start_time | Gauge | Start time in unix timestamp for a pod | seconds | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `uid`=<pod-uid> | STABLE | - |
|
||||
| kube_pod_completion_time | Gauge | Completion time in unix timestamp for a pod | seconds | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `uid`=<pod-uid> | STABLE | - |
|
||||
| kube_pod_owner | Gauge | Information about the Pod's owner | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `owner_kind`=<owner kind> <br> `owner_name`=<owner name> <br> `owner_is_controller`=<whether owner is controller> <br> `uid`=<pod-uid> | STABLE | - |
|
||||
| kube_pod_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `label_POD_LABEL`=<POD_LABEL> <br> `uid`=<pod-uid> | STABLE | - |
|
||||
| kube_pod_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `label_POD_LABEL`=<POD_LABEL> <br> `uid`=<pod-uid> | STABLE | - |
|
||||
| kube_pod_nodeselectors | Gauge | Describes the Pod nodeSelectors | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `nodeselector_NODE_SELECTOR`=<NODE_SELECTOR> <br> `uid`=<pod-uid> | EXPERIMENTAL | Opt-in |
|
||||
| kube_pod_status_phase | Gauge | The pods current phase | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `phase`=<Pending\|Running\|Succeeded\|Failed\|Unknown> <br> `uid`=<pod-uid> | STABLE | - |
|
||||
| kube_pod_status_qos_class | Gauge | The pods current qosClass | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `qos_class`=<BestEffort\|Burstable\|Guaranteed> <br> `uid`=<pod-uid> | EXPERIMENTAL | - |
|
||||
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| --------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_replicaset_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> <br> `annotation_REPLICASET_ANNOTATION`=<REPLICASET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_replicaset_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> <br> `annotation_REPLICASET_ANNOTATION`=<REPLICASET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_replicaset_status_replicas | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> | STABLE |
|
||||
| kube_replicaset_status_fully_labeled_replicas | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> | STABLE |
|
||||
| kube_replicaset_status_ready_replicas | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> | STABLE |
|
||||
| kube_replicaset_status_observed_generation | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> | STABLE |
|
||||
| kube_replicaset_spec_replicas | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> | STABLE |
|
||||
| kube_replicaset_metadata_generation | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> | STABLE |
|
||||
| kube_replicaset_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> <br> `label_REPLICASET_LABEL`=<REPLICASET_LABEL> | STABLE |
|
||||
| kube_replicaset_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> <br> `label_REPLICASET_LABEL`=<REPLICASET_LABEL> | STABLE |
|
||||
| kube_replicaset_created | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> | STABLE |
|
||||
| kube_replicaset_owner | Gauge | | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> <br> `owner_kind`=<owner kind> <br> `owner_name`=<owner name> <br> `owner_is_controller`=<whether owner is controller> | STABLE |
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name | Metric type | Description | Labels/tags | Status |
|
||||
| ------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
||||
| kube_statefulset_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](./cli-arguments.md) | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `annotation_STATEFULSET_ANNOTATION`=<STATEFULSET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_statefulset_annotations | Gauge | Kubernetes annotations converted to Prometheus labels controlled via [--metric-annotations-allowlist](../../developer/cli-arguments.md) | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `annotation_STATEFULSET_ANNOTATION`=<STATEFULSET_ANNOTATION> | EXPERIMENTAL |
|
||||
| kube_statefulset_status_replicas | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> | STABLE |
|
||||
| kube_statefulset_status_replicas_current | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> | STABLE |
|
||||
| kube_statefulset_status_replicas_ready | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> | STABLE |
|
||||
|
|
@ -14,6 +14,6 @@
|
|||
| kube_statefulset_metadata_generation | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> | STABLE |
|
||||
| kube_statefulset_persistentvolumeclaim_retention_policy | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `when_deleted`=<statefulset-when-deleted-pvc-policy> <br> `when_scaled`=<statefulset-when-scaled-pvc-policy> | EXPERIMENTAL |
|
||||
| kube_statefulset_created | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> | STABLE |
|
||||
| kube_statefulset_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](./cli-arguments.md) | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `label_STATEFULSET_LABEL`=<STATEFULSET_LABEL> | STABLE |
|
||||
| kube_statefulset_labels | Gauge | Kubernetes labels converted to Prometheus labels controlled via [--metric-labels-allowlist](../../developer/cli-arguments.md) | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `label_STATEFULSET_LABEL`=<STATEFULSET_LABEL> | STABLE |
|
||||
| kube_statefulset_status_current_revision | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `revision`=<statefulset-current-revision> | STABLE |
|
||||
| kube_statefulset_status_update_revision | Gauge | | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `revision`=<statefulset-update-revision> | STABLE |
|
||||
Loading…
Reference in New Issue