This check monitors Argo Workflows through the Datadog Agent.
Minimum Agent version: 7.53.0
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 Workflows 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.
The Argo Workflows Workflow Controller has Prometheus-formatted metrics available at /metrics on port 9090. Configure the check with one of the Kubernetes Autodiscovery options below. You can find additional configuration options by reviewing the sample argo_workflows.d/conf.yaml.
The only parameter required for configuring the Argo Workflows check is:
openmetrics_endpoint: This parameter should be set to the location where the Prometheus-formatted metrics are exposed. The default port is9090. In containerized environments,%%host%%should be used for host autodetection.
apiVersion: v1
kind: Pod
# (...)
metadata:
name: '<POD_NAME>'
annotations:
ad.datadoghq.com/workflow-controller.checks: |
{
"argo_workflows": {
"init_config": {},
"instances": [
{
"openmetrics_endpoint": "http://%%host%%:9090/metrics"
}
]
}
}
# (...)
spec:
containers:
- name: 'workflow-controller'
# (...)This example targets the Argo Workflows controller Deployment:
apiVersion: datadoghq.com/v1alpha1
kind: DatadogInstrumentation
metadata:
name: <CR_NAME>
namespace: <WORKLOAD_NAMESPACE>
spec:
targetRef:
apiVersion: apps/v1
kind: Deployment
name: workflow-controller
config:
checks:
- integration: argo_workflows
containerName: workflow-controller
initConfig: {}
instances:
- openmetrics_endpoint: "http://%%host%%:9090/metrics"For setup details, see Configure Autodiscovery with the DatadogInstrumentation CRD.
Available for Agent versions >6.0
Argo Workflows logs can be collected from the different Argo Workflows 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_workflows", "service": "<SERVICE_NAME>"} |
Run the Agent's status subcommand and look for argo_workflows under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The Argo Workflows 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: