Skip to content

Instantly share code, notes, and snippets.

@naturalett
Created May 24, 2020 22:01
Show Gist options
  • Select an option

  • Save naturalett/c9491dba2e9a452ee62c3876be590b94 to your computer and use it in GitHub Desktop.

Select an option

Save naturalett/c9491dba2e9a452ee62c3876be590b94 to your computer and use it in GitHub Desktop.
ccloudexporter with datadog
version: '3.1'
services:
ccloud_exporter:
ports:
- 2112:2112
image: dabz/ccloudexporter
environment:
CCLOUD_USER: ${CCLOUD_USER}
CCLOUD_PASSWORD: ${CCLOUD_PASSWORD}
command: -cluster ${CCLOUD_CLUSTER}
datadog:
image: datadog/agent:latest
links:
- ccloud_exporter
environment:
- DD_API_KEY=${DD_API_KEY}
- DD_TAGS="env:production service:confluent"
volumes:
- ./openmetrics.yaml:/etc/datadog-agent/conf.d/openmetrics.yaml:ro
- /var/run/docker.sock:/var/run/docker.sock
- /proc/:/host/proc/:ro
- /sys/fs/cgroup:/host/sys/fs/cgroup:ro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment