This check monitors Argo Rollouts through the Datadog Agent.
Follow the instructions below to install and configure this check for an Agent running in your Kubernetes environment. For more information about configuration in containerized environments, see the Autodiscovery Integration Templates for guidance.
Starting from Agent release 7.53.0, the Argo Rollouts check is included in the Datadog Agent package. No additional installation is needed in your environment.
This check uses OpenMetrics to collect metrics from the OpenMetrics endpoint that Argo Rollouts exposes, which requires Python 3.
The Argo Rollouts controller has Prometheus-formatted metrics readily available at /metrics
on port 8090
. For the Agent to start collecting metrics, the Argo Rollouts pods need to be annotated. For more information about annotations, refer to the Autodiscovery Integration Templates for guidance. You can find additional configuration options by reviewing the sample argo_rollouts.d/conf.yaml.
Note: The listed metrics can only be collected if they are available. Some metrics are generated only when certain actions are performed. For example, the argo_rollouts.info.replicas.updated
metric is exposed only after a replica is updated.
The only parameter required for configuring the Argo Rollouts check is:
openmetrics_endpoint
: This parameter should be set to the location where the Prometheus-formatted metrics are exposed. The default port is8090
. In containerized environments,%%host%%
should be used for host autodetection.
apiVersion: v1
kind: Pod
# (...)
metadata:
name: '<POD_NAME>'
annotations:
ad.datadoghq.com/argo-rollouts.checks: |
{
"argo_rollouts": {
"init_config": {},
"instances": [
{
"openmetrics_endpoint": "http://%%host%%:8090/metrics"
}
]
}
}
# (...)
spec:
containers:
- name: 'argo-rollouts'
# (...)
Available for Agent versions >6.0
Argo Rollouts logs can be collected from the different Argo Rollouts pods through Kubernetes. Collecting logs is disabled by default in the Datadog Agent. To enable it, see Kubernetes Log Collection.
See the Autodiscovery Integration Templates for guidance on applying the parameters below.
Parameter | Value |
---|---|
<LOG_CONFIG> |
{"source": "argo_rollouts", "service": "<SERVICE_NAME>"} |
Run the Agent's status subcommand and look for argo_rollouts
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The Argo Rollouts integration does not include any events.
See service_checks.json for a list of service checks provided by this integration.
Need help? Contact Datadog support.
Additional helpful documentation, links, and articles: