This document is auto-generated by make docs
, and details what
data Insights Operator (IO) gathers from a cluster, the location
where it is stored in the IO archive, and the applicable version(s) of OpenShift.
Data stored in the conditional/
directory is only
gathered when certain conditions are met.
The IO pod operates in the openshift-insights
namespace and the
archives are packaged as .tar.gz
files in /var/lib/insights-operator
.
Collects API requests counts for the resources mentioned in the alert provided as a string parameter.
None
conditional/alerts/{alert_name}/api_request_counts.json
conditional/api_request_counts_of_resource_from_alert
- 4.10.0
- 4.9.6+
None
Collects active alerts from the Alertmanager
API V2 in the JSON format. Alert data is also
still included in the GatherMostRecentMetrics gatherer.
This adds new gatherer for gathering firing/active Prometheus alerts in JSON format as well. The original recent metrics gatherer still continues to gather the alerts (not in JSON) as well, but this can be removed in the future, and we will keep the data only in JSON.
None
config/alerts.json
clusterconfig/active_alerts
- 4.12.0
None
None
Collects instances outside of the openshift-monitoring
of the following custom resources:
- Kind:
Prometheus
Group:monitoring.coreos.com
- Kind:
AlertManager
Group:monitoring.coreos.com
- https://docs.openshift.com/container-platform/4.13/rest_api/monitoring_apis/alertmanager-monitoring-coreos-com-v1.html
- https://docs.openshift.com/container-platform/4.13/rest_api/monitoring_apis/prometheus-monitoring-coreos-com-v1.html
aggregated/custom_prometheuses_alertmanagers.json
clusterconfig/aggregated_monitoring_cr_names
- 4.16
- 4.15.20+
- 4.14.32+
None
Collects the specified Custom Resource Definitions.
The following CRDs are gathered:
volumesnapshots.snapshot.storage.k8s.io
(10745 bytes)volumesnapshotcontents.snapshot.storage.k8s.io
(13149 bytes)
None
config/crd/{name}.json
clusterconfig/crds
- 4.6.0
None
None
Collects statuses of thecephclusters.ceph.rook.io
resources
from Openshift Data Foundation Stack.
Version | Path |
---|---|
< 4.13.0 | config/storage/{namespace}/{name}.json |
>= 4.13.0 | config/storage/{namespace}/cephclusters/{name}.json |
clusterconfig/ceph_cluster
- 4.12.0
- 4.8.49+
- 4.9.48+
- 4.10.31+
- 4.11.2+
In OCP 4.11 and OCP 4.12, the location of gathered data collides with data gathered by the StorageCluster gatherer. It is practically impossible to tell the two resources apart. Use with caution.
Collects anonymized CertificateSigningRequests
which weren't Verified, or
when Now < ValidBefore
or Now > ValidAfter
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/certificates/v1beta1/certificatesigningrequest.go#L78
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#certificatesigningrequestlist-v1beta1certificates
config/certificatesigningrequests
clusterconfig/certificate_signing_requests
- 4.5.0
- 4.3.25+
- 4.4.12+
None
Collects APIServer.config.openshift.io resource
https://github.com/openshift/api/blob/master/config/v1/types_apiserver.go
config/apiserver.json
cluster_apiserver
- 4.15.0
- 4.14.0+
- 4.13.19+
- 4.12.42+
- 4.11.54+
None
Collects the cluster Authentication
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/authentication.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#authentication-v1operator-openshift-io
config/authentication.json
clusterconfig/authentication
- 4.2.0
None
None
Collects the cluster FeatureGate
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/featuregate.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#featuregate-v1-config-openshift-io
config/featuregate.json
clusterconfig/feature_gates
- 4.2.0
None
None
Collects cluster images.config.openshift.io
resource definition.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/config_client.go#L72
- https://docs.openshift.com/container-platform/latest/rest_api/config_apis/image-config-openshift-io-v1.html#image-config-openshift-io-v1
config/image.json
clusterconfig/image
- 4.11.0
- 4.10.8+
None
Collects the image pruner configuration.
None
Version | Path |
---|---|
< 4.6.0 | config/imagepruner.json |
>= 4.6.0 | config/clusteroperator/{group}/{kind}/{name}.json |
clusterconfig/image_pruners
- 4.5.0
None
None
Collects the cluster Image Registry configuration
None
Version | Path |
---|---|
< 4.7.0 | config/imageregistry.json |
>= 4.7.0 | config/clusteroperator/imageregistry.operator.openshift.io/config/cluster.json |
>= 4.6.20 | config/persistentvolumes/{name}.json |
clusterconfig/image_registries
- 4.5.0
- 4.3.40+
- 4.4.12+
PersistentVolumes
were introduced in version 4.7.0 and backported to 4.6.20+.- If the Image Registry configuration uses any
PersistentVolumeClaim
for the storage, the correspondingPersistentVolume
definition is gathered.
Collects the cluster Infrastructure
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/infrastructure.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#infrastructure-v1-config-openshift-io
config/infrastructure.json
clusterconfig/infrastructures
- 4.2.0
None
None
Collects the cluster Ingress
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/ingress.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#ingress-v1-config-openshift-io
config/ingress.json
clusterconfig/ingress
- 4.2.0
None
None
Collects the certificate's NotBefore and NotAfter dates from the cluster's ingress controller certificates. It also collects the name and namespace of any Ingress Controllers using the certificates.
- https://docs.openshift.com/container-platform/4.13/rest_api/operator_apis/ingresscontroller-operator-openshift-io-v1.html
- https://docs.openshift.com/container-platform/4.13/rest_api/security_apis/secret-v1.html
aggregated/ingress_controllers_certs.json
clusterconfig/ingress_certificates
- 4.17
TBD
None
Collects the cluster Network with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/network.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#network-v1-config-openshift-io
config/network.json
clusterconfig/networks
- 4.2.0
None
None
Collects the cluster OAuth with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/oauth.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#oauth-v1-config-openshift-io
config/oauth.json
clusterconfig/oauths
- 4.2.0
None
None
Collects information about pods and events from namespaces of degraded cluster operators. The collected information includes:
- Definitions for non-running (terminated, pending) Pods
- Previous (if container was terminated) and current logs of all related pod containers
- Namespace events
None
- docs/insights-archive-sample/config/openshift-authentication-operator/authentication-operator-6d65456dc7-9d2qx.json
- docs/insights-archive-sample/config/openshift-storage-operator/cluster-storage-operator-6974bfb5c6-tppp7.json
- docs/insights-archive-sample/config/openshift-etcd-operator/etcd-operator-78bb597755-r6lgn.json
- docs/insights-archive-sample/config/openshift-monitoring-operator/cluster-monitoring-operator-6c785d75f6-t79zv.json
config/pod/{namespace}/{pod}.json
events/{namespace}.json
config/pod/{namespace}/logs/{pod}/{container}_{current|previous}.log
clusterconfig/operators_pods_and_events
- 4.8.2
- 4.6.35+
- 4.7.11+
- The data gathered by
ClusterOperatorPodsAndEvents
were originally gathered byClusterOperators
. TheClusterOperators
gather was split at 4.8.2 and the change was backported to 4.7.11 and 4.6.35. - The collected data was previously included as specifications for
ClusterOperators
, and it was initially introduced in version4.3.0
and later backported to version4.2.10+
.
Collects all the ClusterOperators
definitions and their related resources
from the operator.openshift.io
group. Only metadata (group, version, kind) and spec attributes
from the operator.openshift.io
group are gathered.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/clusteroperator.go#L62
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#clusteroperatorlist-v1config-openshift-io
Version | Path |
---|---|
< 4.6.16 | config/clusteroperator/{kind}-{name}.json |
>= 4.6.16 | config/clusteroperator/{group}/{kind}/{name}.json |
< 4.8.2 | config/pod/{namespace}/{pod}.json |
< 4.8.2 | events/{namespace}.json |
clusterconfig/operators
- 4.2.0
None
config/pod/{namespace}/{pod}.json
andevents/
were moved to ClusterOperatorPodsAndEvents since4.8.2
, both were introduced at4.3.0
as part of this gatherer and backported to4.2.10+
.- gather status of the
insightsoperator.operator.openshift.io
resource from4.16.0+
Collects the cluster Proxy
with cluster name.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/proxy.go#L30
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#proxy-v1-config-openshift-io
config/proxy.json
clusterconfig/proxies
- 4.3.0
None
None
Collects definition of the "admin" and "edit" cluster roles.
cluster-scoped-resources/rbac.authorization.k8s.io/clusterroles/
clusterconfig/clusterroles
- 4.18.0
None
Collects the ClusterVersion
(including the cluster ID) with the name
'version' and its resources.
- https://github.com/openshift/client-go/blob/master/config/clientset/versioned/typed/config/v1/clusterversion.go#L50
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#clusterversion-v1config-openshift-io
- docs/insights-archive-sample/config/version.json
- docs/insights-archive-sample/config/pod
- docs/insights-archive-sample/events/
- docs/insights-archive-sample/config/id
Version | Path |
---|---|
>= 4.2.0 | config/version.json |
>= 4.2.0 | config/id |
>= 4.8.2 | config/pod/openshift-cluster-version/version.json |
>= 4.8.2 | events/openshift-cluster-version.json |
clusterconfig/version
- 4.2.0
None
None
Collects all ConfigMaps
from the openshift-config
namespace and specific ConfigMaps
from other namespaces (see Changes
for details).
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/configmap.go#L80
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#configmaplist-v1core
Version | Path |
---|---|
< 4.7.0 | config/configmaps/{configmap} |
>= 4.7.0 | config/configmaps/{namespace}/{name}/{configmap} |
clusterconfig/config_maps
- 4.5.0
- 4.3.25+
- 4.4.6+
cluster-monitoring-config
config map fromopenshift-monitoring
namespace since versions 4.6.22+ and 4.7.0+install-config
key from thecluster-config-v1
config map in thekube-system
namespace since versions 4.9.0+; originally stored asconfig/configmaps/kube-system/cluster-config-v1.json
, changed toconfig/configmaps/kube-system/cluster-config-v1/install-config
since 4.13.0+gateway-mode-config
config map fromopenshift-network-operator
namespace since 4.14.0+insights-config
config map fromopenshift-insights
namespace since 4.15.0+
If the content of a ConfigMap
contains a parseable PEM structure (like a certificate), it removes the inside of
PEM blocks. For ConfigMap
of type BinaryData
, it is encoded as standard base64. In the archive under configmaps,
we store the name of the namespace, the name of the ConfigMap
, and then each key.
For example: config/configmaps/NAMESPACENAME/CONFIGMAPNAME/CONFIGMAPKEY1
Collects essential information about running containers. Specifically, the age of pods, the set of running images and the container names are collected.
None
config/running_containers.json
clusterconfig/container_images
- 4.7.0
- 4.5.33+
- 4.6.1+
None
Collects ContainerRuntimeConfig
information.
- https://github.com/openshift/machine-config-operator/blob/master/pkg/apis/machineconfiguration.openshift.io/v1/types.go#L402
- https://docs.okd.io/latest/rest_api/machine_apis/containerruntimeconfig-machineconfiguration-openshift-io-v1.html
config/containerruntimeconfigs/{name}.json
clusterconfig/container_runtime_configs
- 4.7.0
- 4.6.18+
None
is used for more dynamic log gathering based on the Rapid Recommendations.
The remote configuration data is fetched from the Conditional Gathering service (the endpoint is defined here). If the remote endpoint is not available or the data cannot be parsed or validated (using JSON schema defined here), the default built-in configuration (see here) is used. In case of any issues, user should check the respective clusteroperator conditions (see more information here) of the Insights Operator.
The configuration used for the data gathering is always stored in the Insights archive in the insights-operator/remote-configuration.json
file.
The gatherer finds the Pods (and containers) that match the requested data and filters all the container logs to match the specific messages up to a maximum of 6 hours old.
Collects CostManagementMetricsConfigs
definitions.
None
config/cost_management_metrics_configs/{name}.json
clusterconfig/cost_management_metrics_configs
- 4.10.0
- 4.8.27+
- 4.9.13+
None
Collects metrics from the Deployment Validation Operator's
metrics service. The metrics are fetched via the /metrics endpoint and
filtered to only include those with a deployment_validation_operator_
prefix.
If the DVO service is deployed in a namespace other than `openshift-deployment-validation-operator',
then the names of the workloads (e.g., namespace, deployment) are collected.
Otherwise, only the UIDs of those resources are collected.
If no service with label selector name=deployment-validation-operator
is found,
then there is no dvo_metrics
file in the archive (and the warning is present in the archive metadata).
If a service with the selector name=deployment-validation-operator
is found,
but no active DVO checks are available,
then the dvo_metrics
file in the archive is almost empty (only the URL of the service is there).
None
config/dvo_metrics
clusterconfig/dvo_metrics
- 4.10.0
None
None
Collects statistics about resources deployed via HelmChart, counting only the resources
with app.kubernetes.io/managed-by=Helm
and helm.sh/chart
labels. The data is then summarized
and grouped by hashed namespace.
Resource types included:
- ReplicaSets
- DaemonSets
- StatefulSets
- Services
- Deployments
None
config/helmchart_info.json
workloads/helmchart_info
- 4.15.0
None
Closure which collects image streams from the provided namespace
Version | Path |
---|---|
>= 4.9.0 | conditional/namespaces/{namespace}/imagestreams/{name}.json |
conditional/image_streams_of_namespace
- 4.9.0
None
None
Collects top 100 InstallPlans
from openshift-*
namespaces. Because InstallPlans
have
unique generated names, it groups them by namespace and the "template" for name generation from field generateName
.
It also collects total number of all InstallPlans
and all non-unique InstallPlans
.
config/instalplans.json
clusterconfig/install_plans
- 4.7.0
- 4.5.33+
- 4.6.16+
None
Collects maximum of 5 jaegers.jaegertracing.io
custom resources installed in the cluster.
None
config/jaegers.jaegertracing.io/{name}.json
clusterconfig/jaegers
- 4.10.0
None
None
Collects logs from pods in the provided namespace.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/pod_expansion.go#L48
- https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog
conditional/namespaces/{namespace}/pods/{pod_name}/containers/{container_name}/logs/last-{n}-lines.log
conditional/logs_of_namespace
- 4.9.0
None
None
Collects lokistacks.loki.grafana.com
resources.
The gatherer will collect up to 20 resources from openshift-*
namespaces
and it will report errors if it finds a LokiStack
resource in a different namespace
or if there are more than 20 LokiStacks
in the openshift-*
namespaces.
None
namespace/{namespace}/loki.grafana.com/lokistacks/{name}.json
`clusterconfig/lokistacks
- 4.19.0
None
None
Collects Machine
information.
- https://github.com/openshift/api/blob/master/machine/v1beta1/types_machine.go
- https://docs.openshift.com/container-platform/4.12/rest_api/machine_apis/machine-machine-openshift-io-v1beta1.html
config/machines/
clusterconfig/machines
- 4.13.0
- 4.11.29+
- 4.12.5+
None
Collects MachineAutoscalers
definition.
- https://github.com/openshift/cluster-autoscaler-operator/blob/master/pkg/apis/autoscaling/v1beta1/machineautoscaler_types.go
- https://docs.openshift.com/container-platform/4.7/rest_api/autoscale_apis/machineautoscaler-autoscaling-openshift-io-v1beta1.html#machineautoscaler-autoscaling-openshift-io-v1beta1
config/machineautoscalers/{namespace}/{name}.json
clusterconfig/machine_autoscalers
- 4.8.2
None
None
Collects MachineConfigPool
information.
- https://github.com/openshift/machine-config-operator/blob/master/pkg/apis/machineconfiguration.openshift.io/v1/types.go#L197
- https://docs.okd.io/latest/rest_api/machine_apis/machineconfigpool-machineconfiguration-openshift-io-v1.html
config/machineconfigpools
clusterconfig/machine_config_pools
- 4.7.0
- 4.5.33+
- 4.6.16+
None
Collects definitions of in-use 'MachineConfigs' and aggregated number of non-used 'MachineConfigs'.
MachineConfig is used when it's referenced in a MachineConfigPool or in Node machineconfiguration.openshift.io/desiredConfig
and machineconfiguration.openshift.io/currentConfig
annotations
Following data is intentionally removed from the definitions:
spec.config.storage.files
spec.config.passwd.users
- docs/insights-archive-sample/aggregated/unused_machine_configs_count.json
- docs/insights-archive-sample/config/machineconfigs/75-worker-sap-data-intelligence.json
aggregated/unused_machine_configs_count.json
config/machineconfigs/{resource}.json
clusterconfig/machine_configs
- 4.9.0
- 4.8.5
- gathers only in-use MachineConfigs and aggregated number of non-used MachineConfigs since 4.18+
Collects MachineHealthCheck
information.
- https://github.com/openshift/api/blob/master/machine/v1beta1/types_machinehealthcheck.go
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#machinehealthcheck-v1beta1-machine-openshift-io
config/machinehealthchecks/{namespace}/{resource}.json
clusterconfig/machine_healthchecks
- 4.8.0
None
None
Collects MachineSet
information.
- https://github.com/openshift/api/blob/master/machine/v1beta1/types_machineset.go
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#machineset-v1beta1-machine-openshift-io
config//machinesets/{resource}
clusterconfig/machine_sets
- 4.6.0
- 4.4.29+
- 4.5.15+
None
Collects Persistent Volumes from openshift-monitoring namespace which matches with ConfigMap configuration yaml
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/configmap.go
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/persistentvolume.go
config/persistentvolumes/{persistent_volume_name}.json
clusterconfig/monitoring_persistent_volumes
- 4.14
- 4.13.0
- 4.12.17
- 4.11.41
None
Collects cluster Federated Monitoring metrics.
The GET REST query to URL /federate Gathered metrics:
virt_platform
cluster_installer
vsphere_node_hw_version_total
- namespace CPU and memory usage
console_helm_installs_total
console_helm_upgrades_total
console_helm_uninstalls_total
etcd_server_slow_apply_total
etcd_server_slow_read_indexes_total
None
config/metrics
clusterconfig/metrics
- 4.3.0
None
etcd_object_counts
introduced in version 4.3+ and removed in 4.12.0cluster_installer
introduced in version 4.3+ALERTS
introduced in version 4.3+namespace:container_cpu_usage_seconds_total:sum_rate
introduced in version 4.5+ and changed tonamespace:container_cpu_usage:sum
in 4.16.0+namespace:container_memory_usage_bytes:sum
introduced in version 4.5+virt_platform metric
introduced in version 4.8+ and backported to 4.6.34+, 4.7.16+ versionsvsphere_node_hw_version_total
introduced in version 4.8+ and backported to 4.7.11+ versionconsole_helm_installs_total
introduced in version 4.11+console_helm_upgrades_total
introduced in version 4.12+console_helm_uninstalls_total
introduced in version 4.12+openshift_apps_deploymentconfigs_strategy_total
introduced in version 4.13+ and backported to 4.12.5+ versionetcd_server_slow_apply_total
introduced in version 4.16+etcd_server_slow_read_indexes_total
introduced in version 4.16+haproxy_exporter_server_threshold
introduced in version 4.17+ALERTS
removed in version 4.17+
Collects MutatingWebhookConfiguration
resources.
config/mutatingwebhookconfigurations/{resource}.json
clusterconfig/mutating_webhook_configurations
- 4.10.3
- 4.7.40+
- 4.8.24+
- 4.9.11+
None
Collects namespaces with overlapping UID ranges.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/namespace.go
- Response is an array of arrays of namespaces with overlapping UIDs. Each namespace is represented by its name
and the UID range value from the
openshift.io/sa.scc.uid-range
annotation
config/namespaces_with_overlapping_uids.json
clusterconfig/overlapping_namespace_uids
- 4.11.0
- 4.8.41+
- 4.9.31+
- 4.10.12+
None
Collects control plane node logs from journal unit with following substrings:
- E\d{4} [0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}
- connect: connection refused
- failed (failure): command timed out
- Failed to make webhook authenticator request: Post
- raise JSONDecodeError("Expecting value", s, err.value) from None
- ContainerStateWaiting{Reason:ContainerCreating
- ContainersNotReady Message:containers with unready status
- MountVolume.MountDevice failed for volume
- kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient
- Unable to attach or mount volumes: unmounted volumes
- timed out waiting for the condition
- CreateContainerError: context deadline exceeded
- rpc error: code = ResourceExhausted desc = grpc: received message larger than max
config/nodes/logs/{hostname}.log
clusterconfig/node_logs
- 4.10.0
None
None
Collects cluster scope "nodenetworkconfigurationpolicy.nmstate.io/v1" resources
cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/{name}.json
clusterconfig/nodenetworkconfigurationpolicies
- 4.18.0
Collects cluster scope "nodenetworkstate.nmstate.io/v1beta1" resources
cluster-scoped-resources/nmstate.io/nodenetworkstates/{name}.json
clusterconfig/nodenetworkstates
- 4.18.0
Collects all node resources.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/node.go#L78
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#nodelist-v1core
config/node/{node}.json
clusterconfig/nodes
- 4.2.0
None
None
- Removes any annotation that does not match specific namespaces (
openshift.io/
,k8s.io/
,kubernetes.io/
). - Replaces the values of any label that matches the previously listed namespaces and not a region label
(
failure-domain.beta.kubernetes.io/region
,topology.kubernetes.io/region
) with 'x' strings while preserving its length. - Replaces the values of the node's status object fields such as
BootID
,SystemUUID
, andMachineID
with 'x' strings preserving the same length. - Clears the
Images
field of the node's status object, removing any information about the container images running on the node.
Collects number of Pods with the annotation:
pod.network.openshift.io/assign-macvlan
and also collects number of Netnamespaces with the annotation:
netnamespace.network.openshift.io/multicast-enabled: "true"
aggregated/pods_and_netnamespaces_with_sdn_annotations.json
clusterconfig/pods_and_netnamespaces_with_sdn_annotations
- 4.17.0
None
Collects the list of installed OLM operators. Each OLM operator (in the list) contains following data:
- OLM operator name
- OLM operator version
- related
ClusterServiceVersion
conditions
None
config/olm_operators
clusterconfig/olm_operators
- 4.7.0
- 4.6.26+
None
Collects clusterlogging.logging.openshift.io
resources.
config/logging/{namespace}/{name}.json
clusterconfig/openshift_logging
- 4.9.0
None
None
Collects warning ("abnormal") events
from openshift-machine-api
namespace
None
events/openshift-machine-api.json
clusterconfig/openshift_machine_api_events
- 4.12.0
None
None
Collects openstackcontrolplanes.core.openstack.org
resources from all namespaces
None
namespaces/{namespace}/core.openstack.org/openstackcontrolplanes/{name}.json
clusterconfig/openstack_controlplanes
- 4.17
None
Collects openstackdataplanedeployments.dataplane.openstack.org
resources from all namespaces
None
namespaces/{namespace}/dataplane.openstack.org/openstackdataplanedeployments/{name}.json
clusterconfig/openstack_dataplanedeployments
- 4.17
None
GatherOpenstackDataplaneNodesets Collects openstackdataplanenodesets.dataplane.openstack.org
resources from all namespaces
None
namespaces/{namespace}/dataplane.openstack.org/openstackdataplanes/{name}.json
clusterconfig/openstack_dataplanenodesets
- 4.17
None
Collects openstackversion.core.openstack.org
resources from all namespaces
None
namespaces/{namespace}/core.openstack.org/openstackversion/{name}.json
clusterconfig/openstack_version
- 4.17
None
Collects pod definition from pods that are firing one of the configured alerts.
None
conditional/namespaces/{namespace}/pods/{name}/{name}.json
conditional/pod_definition
- 4.11.0
None
None
Collects the cluster's PodDisruptionBudgets
.
- https://github.com/kubernetes/client-go/blob/v11.0.0/kubernetes/typed/policy/v1beta1/poddisruptionbudget.go#L80
- https://docs.okd.io/latest/rest_api/policy_apis/poddisruptionbudget-policy-v1beta1.html
config/pdbs/{namespace}/{name}.json
clusterconfig/pdbs
- 4.6.0
- 4.4.30+
- 4.5.15+
- The gatherer was changed to gather pdbs only from namespaces with "openshift" prefix and the limit of gathered records to 100 since 4.14.
Collects a summary of failed PodNetworkConnectivityChecks
from last 24 hours.
Time of the most recently failed check with each reason and message is recorded.
- podnetworkconnectivitychecks.controlplane.operator.openshift.io/v1alpha1
- https://pkg.go.dev/github.com/openshift/api/operatorcontrolplane/v1alpha1
config/podnetworkconnectivitychecks.json
clusterconfig/pod_network_connectivity_checks
- 4.8.2
None
None
Collects Prometheus TSDB status.
None
config/tsdb.json
clusterconfig/tsdb_status
- 4.10.0
None
None
Collects selected security context constraints and cluster role bindings from clusters running a SAP payload.
- https://pkg.go.dev/github.com/openshift/client-go/authorization/clientset/versioned/typed/authorization/v1
- https://pkg.go.dev/github.com/openshift/client-go/security/clientset/versioned/typed/security/v1
- docs/insights-archive-sample/config/securitycontextconstraint
- docs/insights-archive-sample/config/clusterrolebinding
config/clusterrolebinding/{name}.json
config/securitycontentconstraint/{name}.json
clusterconfig/sap_config
- 4.7.0
- 4.6.20+
None
Collects datahubs.installers.datahub.sap.com
resources from SAP/SDI clusters.
None
customresources/installers.datahub.sap.com/datahubs/{namespace}/{name}.json
clusterconfig/sap_datahubs
- 4.8.2
- 4.7.5+
- 4.6.26+
None
Collects information about pods running in SAP/SDI namespaces.
- Only pods with a failing status are collected.
- Failed pods belonging to a job that has later succeeded are ignored.
Note This data is collected only if the
installers.datahub.sap.com
resource is found in the cluster.
- https://pkg.go.dev/k8s.io/client-go/kubernetes/typed/core/v1
- https://pkg.go.dev/k8s.io/client-go/kubernetes/typed/batch/v1
- https://pkg.go.dev/k8s.io/client-go/dynamic
- docs/insights-archive-sample/config/pod/di-288312/auditlog-retention-28566720-t22qj.json
- docs/insights-archive-sample/config/pod/di-288312/data-hub-flow-agent-1a3a7e88888b7fe0630189-qcwhm-547b57cc5fvmg8.json
- docs/insights-archive-sample/config/pod/di-288312/default-2k58azz-backup-deletion-5rdw4.json
- docs/insights-archive-sample/config/pod/di-288312/vsystem-867f4b77cc-pqcns.json
config/pod/{namespace}/{name}.json
clusterconfig/sap_pods
- 4.8.2
- 4.7.5+
- 4.6.25+
None
Collects information about schedulers
config/schedulers/cluster.json
clusterconfig/schedulers
- 4.10.0
None
None
Collects ServiceAccount
stats
from kubernetes default and openshift-*
namespaces.
- https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/core/v1/serviceaccount.go#L83
- https://docs.openshift.com/container-platform/4.3/rest_api/index.html#serviceaccount-v1-core
config/serviceaccounts.json
clusterconfig/service_accounts
- 4.7.0
- 4.5.34+
- 4.6.20+
None
Collects the alerts that have been silenced.
None
config/silenced_alerts.json
config/silenced_alerts
- 4.10.0
None
None
Collects the cluster StorageClass
available in cluster.
config/storage/storageclasses/{name}.json
clusterconfig/storage_classes
- 4.15
None
None
Collects storageclusters.ocs.openshift.io
resources
Version | Path |
---|---|
< 4.12.0 | config/storage/{namespace}/{name}.json |
>= 4.12.0 | config/storage/{namespace}/storageclusters/{name}.json |
clusterconfig/storage_cluster
- 4.11.0
None
- Renamed from
OpenshiftStorage
toStorageCluster
in version4.12.0+
- Config ID changed from
clusterconfig/openshift_storage
toclusterconfig/storage_cluster
in version4.12.0+
- In OCP 4.11 and OCP 4.12, the location of gathered data collides with data gathered by the CephCluster](#CephCluster) gatherer. It is practically impossible to tell the two resources apart. Use with caution.
Collects anonymized support secret if there is any
None
config/secrets/openshift-config/support/data.json
clusterconfig/support_secret
- 4.11.0
None
None
Collects ValidatingWebhookConfiguration
resources
config/validatingwebhookconfigurations/{name}.json
clusterconfig/validating_webhook_configurations
- 4.10.3
- 4.7.40+
- 4.8.24+
- 4.9.11+
None
Collects summarized info about the workloads on a cluster in a generic fashion
None
config/workload_info.json
workloads/workload_info
- 4.8.0
None
- Image repository is now collected if it comes from outside the Red Hat domain
- [Tech Preview] runtime info for workloads are collected (since 4.18.0)