Skip to main content

Datadog

Enable Dual Shipping for Datadog APM

Causely can leverage Datadog APM instrumentation with dual shipping to discover and monitor service dependencies.

Option 1: Enable via Helm Deployment

To enable dual shipping when deploying the Datadog Agent using Helm:

  1. Add the following configuration to your values.yaml:
agents:
customAgentConfig:
apm_config:
additional_endpoints:
'http://mediator.causely.svc.cluster.local:8125':
- 'nokey'
  1. Upgrade or install the Datadog Helm chart:
 helm upgrade --install datadog datadog/datadog -f ./values.yaml

Option 2: Enable via Datadog Operator

If you're managing the Datadog Agent using the Datadog Operator, modify the DatadogAgent custom resource as follows:

apiVersion: datadoghq.com/v2alpha1
kind: DatadogAgent
metadata:
name: datadog
spec:
override:
nodeAgent:
env:
- name: DD_APM_ADDITIONAL_ENDPOINTS
value: '{\"http://mediator.causely.svc.cluster.local:8125\": [\"nokey\"]}'

Enabling Datadog Watchdog Monitors as a Data Source

Causely can also leverage Datadog monitors for Postgres, Redis, and other integrations to be used as input to Casual Reasoning.

To enable Datadog as a data source in Causely, add the following configuration to your values.yaml:

scrapers:
datadog:
enabled: true
accounts:
- org: Customer
api_key: YYY
app_key: ZZZ
monitor_mapping:
- entityType: Workload
createIfMissing: true
attributes:
id:
label: ['host']
service_name:
label: ['dbinstanceidentifier']
isIdentifier: true
resources:
- monitorId: 116252750
attribute: DBConnectionUsage
symptom: DBConnectionsUtilization_High
- monitorId: 116252751
attribute: DBQueryDuration
symptom: DBQueryDuration_High