Document additional collected Kubernetes resources (#6297)

This commit is contained in:
Greg 2019-08-21 17:39:57 -06:00 committed by Daniel Nelson
parent 02174031c8
commit bc52592c87
2 changed files with 49 additions and 5 deletions

View File

@ -42,8 +42,8 @@ avoid cardinality issues:
## Optional Resources to exclude from gathering ## Optional Resources to exclude from gathering
## Leave them with blank with try to gather everything available. ## Leave them with blank with try to gather everything available.
## Values can be - "daemonsets", deployments", "nodes", "persistentvolumes", ## Values can be - "daemonsets", deployments", "endpoints", "ingress", "nodes",
## "persistentvolumeclaims", "pods", "statefulsets" ## "persistentvolumes", "persistentvolumeclaims", "pods", "services", "statefulsets"
# resource_exclude = [ "deployments", "nodes", "statefulsets" ] # resource_exclude = [ "deployments", "nodes", "statefulsets" ]
## Optional Resources to include when gathering ## Optional Resources to include when gathering
@ -131,6 +131,36 @@ subjects:
- replicas_unavailable - replicas_unavailable
- created - created
+ kubernetes_endpoints
- tags:
- endpoint_name
- namespace
- hostname
- node_name
- port_name
- port_protocol
- kind (*varies)
- fields:
- created
- generation
- ready
- port
- kubernetes_ingress
- tags:
- ingress_name
- namespace
- hostname
- ip
- backend_service_name
- path
- host
- fields:
- created
- generation
- backend_service_port
- tls
+ kubernetes_node + kubernetes_node
- tags: - tags:
- node_name - node_name
@ -174,7 +204,21 @@ subjects:
- resource_limits_cpu_units - resource_limits_cpu_units
- resource_limits_memory_bytes - resource_limits_memory_bytes
+ kubernetes_statefulset + kubernetes_service
- tags:
- service_name
- namespace
- port_name
- port_protocol
- external_name
- cluster_ip
- fields
- created
- generation
- port
- target_port
- kubernetes_statefulset
- tags: - tags:
- statefulset_name - statefulset_name
- namespace - namespace

View File

@ -51,8 +51,8 @@ var sampleConfig = `
## Optional Resources to exclude from gathering ## Optional Resources to exclude from gathering
## Leave them with blank with try to gather everything available. ## Leave them with blank with try to gather everything available.
## Values can be - "daemonsets", deployments", "nodes", "persistentvolumes", ## Values can be - "daemonsets", deployments", "endpoints", "ingress", "nodes",
## "persistentvolumeclaims", "pods", "statefulsets" ## "persistentvolumes", "persistentvolumeclaims", "pods", "services", "statefulsets"
# resource_exclude = [ "deployments", "nodes", "statefulsets" ] # resource_exclude = [ "deployments", "nodes", "statefulsets" ]
## Optional Resources to include when gathering ## Optional Resources to include when gathering