Fix documentation and tests
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
This commit is contained in:
parent
1cd06cf4ab
commit
c1d3c87589
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_cronjob_annotations | Gauge | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `annotation_CRONJOB_LABEL`=<CRONJOB_ANNOTATION> | STABLE
|
||||
| kube_cronjob_annotations | Gauge | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `annotation_CRONJOB_ANNOTATION`=<CRONJOB_ANNOTATION> | STABLE
|
||||
| kube_cronjob_info | Gauge | `cronjob`=<cronjob-name> <br> `namespace`=<cronjob-namespace> <br> `schedule`=<schedule> <br> `concurrency_policy`=<concurrency-policy> | STABLE
|
||||
| kube_cronjob_labels | Gauge | `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
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_endpoint_annotations | Gauge | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `annotation_ENDPOINT_LABEL`=<ENDPOINT_ANNOTATION> | STABLE |
|
||||
| kube_endpoint_annotations | Gauge | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> <br> `annotation_ENDPOINT_ANNOTATION`=<ENDPOINT_ANNOTATION> | STABLE |
|
||||
| kube_endpoint_address_not_ready | Gauge | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> | STABLE |
|
||||
| kube_endpoint_address_available | Gauge | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> | STABLE |
|
||||
| kube_endpoint_info | Gauge | `endpoint`=<endpoint-name> <br> `namespace`=<endpoint-namespace> | STABLE |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_ingress_annotations | Gauge | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `annotation_INGRESS_LABEL`=<ANNOTATION_LABEL> | STABLE |
|
||||
| kube_ingress_annotations | Gauge | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> <br> `annotation_INGRESS_ANNOTATION`=<ANNOTATION_LABEL> | STABLE |
|
||||
| kube_ingress_info | Gauge | `ingress`=<ingress-name> <br> `namespace`=<ingress-namespace> | STABLE |
|
||||
| kube_ingress_labels | Gauge | `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 |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_job_annotations | Gauge | `job_name`=<job-name> <br> `namespace`=<job-namespace> <br> `annotation_JOB_LABEL`=<JOB_ANNOTATION> | STABLE |
|
||||
| kube_job_annotations | Gauge | `job_name`=<job-name> <br> `namespace`=<job-namespace> <br> `annotation_JOB_ANNOTATION`=<JOB_ANNOTATION> | STABLE |
|
||||
| kube_job_info | Gauge | `job_name`=<job-name> <br> `namespace`=<job-namespace> | STABLE |
|
||||
| kube_job_labels | Gauge | `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 |
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_namespace_annotations | Gauge | `namespace`=<namespace-name> <br> `label_NS_ANNOTATION`=<NS_ANNOTATION> | STABLE |
|
||||
| kube_namespace_created | Gauge | `namespace`=<namespace-name> | STABLE |
|
||||
| kube_namespace_labels | Gauge | `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 |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Description | Unit (where applicable) | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------------------- | ----------- | ------ |
|
||||
| kube_node_annotations | Gauge | Kubernetes annotations converted to Prometheus labels | | `node`=<node-address> <br> `annotation_NODE_LABEL`=<NODE_ANNOTATION> | STABLE |
|
||||
| kube_node_annotations | Gauge | Kubernetes annotations converted to Prometheus labels | | `node`=<node-address> <br> `annotation_NODE_ANNOTATION`=<NODE_ANNOTATION> | STABLE |
|
||||
| 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> `internal_ip`=<internal-ip> | STABLE |
|
||||
| kube_node_labels | Gauge | Kubernetes labels converted to Prometheus labels | | `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 |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_persistentvolume_annotations | Gauge | `persistentvolume`=<persistentvolume-name> <br> `annotation_PERSISTENTVOLUME_LABEL`=<PERSISTENTVOLUME_ANNOTATION> | STABLE |
|
||||
| kube_persistentvolume_annotations | Gauge | `persistentvolume`=<persistentvolume-name> <br> `annotation_PERSISTENTVOLUME_ANNOTATION`=<PERSISTENTVOLUME_ANNOTATION> | STABLE |
|
||||
| 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 |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_persistentvolumeclaim_annotations | Gauge | `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `namespace`=<persistentvolumeclaim-namespace> <br> `annotation_PERSISTENTVOLUMECLAIM_LABEL`=<PERSISTENTVOLUMECLAIM_ANNOATION> | STABLE |
|
||||
| kube_persistentvolumeclaim_annotations | Gauge | `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `namespace`=<persistentvolumeclaim-namespace> <br> `annotation_PERSISTENTVOLUMECLAIM_ANNOTATION`=<PERSISTENTVOLUMECLAIM_ANNOATION> | STABLE |
|
||||
| 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> | STABLE |
|
||||
| kube_persistentvolumeclaim_labels | Gauge | `persistentvolumeclaim`=<persistentvolumeclaim-name> <br> `namespace`=<persistentvolumeclaim-namespace> <br> `label_PERSISTENTVOLUMECLAIM_LABEL`=<PERSISTENTVOLUMECLAIM_LABEL> | STABLE |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Description | Unit (where applicable) | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------------------- | ----------- | ------ |
|
||||
| kube_pod_annotations | Gauge | Kubernetes annotations converted to Prometheus labels | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `annotation_POD_LABEL`=<POD_ANNOTATION> <br> `uid`=<pod-uid> | STABLE |
|
||||
| kube_pod_annotations | Gauge | Kubernetes annotations converted to Prometheus labels | | `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `annotation_POD_ANNOTATION`=<POD_ANNOTATION> <br> `uid`=<pod-uid> | STABLE |
|
||||
| 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_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 |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_replicaset_annotations | Gauge | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> <br> `annotation_REPLICASET_LABEL`=<REPLICASET_ANNOTATION> | STABLE |
|
||||
| kube_replicaset_annotations | Gauge | `replicaset`=<replicaset-name> <br> `namespace`=<replicaset-namespace> <br> `annotation_REPLICASET_ANNOTATION`=<REPLICASET_ANNOTATION> | STABLE |
|
||||
| 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 |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_secret_annotations | Gauge | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `annotations_SECRET_LABEL`=<SECRET_ANNOTATION> | STABLE |
|
||||
| kube_secret_annotations | Gauge | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `annotations_SECRET_ANNOTATION`=<SECRET_ANNOTATION> | STABLE |
|
||||
| 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 | `secret`=<secret-name> <br> `namespace`=<secret-namespace> <br> `label_SECRET_LABEL`=<SECRET_LABEL> | STABLE |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Description | Unit (where applicable) | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------------------- | ----------- | ------ |
|
||||
| kube_service_annoations | Gauge | Kubernetes annotations converted to Prometheus labels | |`service`=<service-name> <br> `namespace`=<service-namespace> <br> `annotation_SERVICE_LABEL`=<SERVICE_ANNOTATION> | STABLE |
|
||||
| kube_service_annotations | Gauge | Kubernetes annotations converted to Prometheus labels | |`service`=<service-name> <br> `namespace`=<service-namespace> <br> `annotation_SERVICE_ANNOTATION`=<SERVICE_ANNOTATION> | STABLE |
|
||||
| kube_service_info | Gauge | Information about service | |`service`=<service-name> <br> `namespace`=<service-namespace> <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 | |`service`=<service-name> <br> `namespace`=<service-namespace> <br> `label_SERVICE_LABEL`=<SERVICE_LABEL> | STABLE |
|
||||
| kube_service_created | Gauge | Unix creation timestamp | seconds |`service`=<service-name> <br> `namespace`=<service-namespace> | STABLE |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_statefulset_annotations | Gauge | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `annotation_STATEFULSET_LABEL`=<STATEFULSET_ANNOTATION> | STABLE |
|
||||
| kube_statefulset_annotations | Gauge | `statefulset`=<statefulset-name> <br> `namespace`=<statefulset-namespace> <br> `annotation_STATEFULSET_ANNOTATION`=<STATEFULSET_ANNOTATION> | STABLE |
|
||||
| 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 |
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Metric name| Metric type | Labels/tags | Status |
|
||||
| ---------- | ----------- | ----------- | ----------- |
|
||||
| kube_storageclass_annotations | Gauge | `storageclass`=<storageclass-name> <br> `annotation_STORAGECLASS_LABEL`=<STORAGECLASS_ANNOTATION> | STABLE |
|
||||
| kube_storageclass_annotations | Gauge | `storageclass`=<storageclass-name> <br> `annotation_STORAGECLASS_ANNOTATION`=<STORAGECLASS_ANNOTATION> | STABLE |
|
||||
| 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 | `storageclass`=<storageclass-name> <br> `label_STORAGECLASS_LABEL`=<STORAGECLASS_LABEL> | STABLE |
|
||||
| kube_storageclass_created | Gauge | `storageclass`=<storageclass-name> | STABLE |
|
||||
|
|
|
|||
Loading…
Reference in New Issue