Skip to content

Instantly share code, notes, and snippets.

@LotharSee
Created June 6, 2014 20:55
Show Gist options
  • Save LotharSee/d90906b93383d9b2ae78 to your computer and use it in GitHub Desktop.
Save LotharSee/d90906b93383d9b2ae78 to your computer and use it in GitHub Desktop.
Datadog Agent Dockerfile example, integrating Apache
FROM datadog/docker-dd-agent
# Set your API key
RUN sed -i -e"s/^.*api_key:.*$/api_key: EXAMPLE_API_KEY/" /etc/dd-agent/datadog.conf
# Add Apache check configuration
ADD apache.yaml /etc/dd-agent/conf.d/apache.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment