Supported telemetry types
The cert-manager integration supports these telemetry types:Prerequisites
The cert-manager integration has the following prerequisites:- Enable the cert-manager Prometheus metrics endpoint.
- Make the
/metricsendpoint on port9402reachable from the collector.
Configure
To configure the cert-manager integration, follow these steps:-
For controller pods that listen on port
9402, use theapp.kubernetes.io/name: cert-managerandapp.kubernetes.io/component: controllerlabels on the pod template. For instances that require a different metrics URL, provide the URL through autodiscovery annotations. For more information, see autodiscovery. -
Optional: Configure static targets for managed clusters or custom installations
that the labels don’t identify. For example, add the following to the
values.yamlfor your Chronosphere XDOT Helm chart:
Validate
To validate the cert-manager integration, follow these steps:-
In the Live Telemetry Analyzer, filter for
cxdot.integration.name=cert_manager. Confirm that the cert-manager metric names appear. -
In Metrics Explorer, run the following query:
Confirm that the query returns the expected time series for each certificate.
Configuration reference
Configure one cert-manager integration instance with the following settings. In Helm values, place these settings underconfig.integrations.cert_manager. In a Collector configuration
file, place them under cxdot.integrations.cert_manager.
Optional settings
-
enabledType:boolean. Optional. Default:true. Whether to enable this cert-manager integration instance. If true, the Collector runs the instance. If false, the Collector doesn’t run it. -
endpointsType:array of object. Optional. Static cert-manager targets. A nonempty list disables automatic discovery for this integration instance, and the Collector collects metrics from only the listed targets. Specify each target ashost:port. The Collector requestshttp://<host>:<port>/metrics. -
endpoints[].endpointType:string. Required. cert-manager target inhost:portformat. -
collection_intervalType:duration. Optional. Default:60s. How often the Collector collects metrics from each cert-manager target. -
timeoutType:duration. Optional. Default:60s. Maximum time allowed to collect metrics from one cert-manager target. The value must not exceedcollection_interval.

