Created
May 24, 2020 22:01
-
-
Save naturalett/c9491dba2e9a452ee62c3876be590b94 to your computer and use it in GitHub Desktop.
ccloudexporter with datadog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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