Skip to content

Commit

Permalink
This patch resolves #53
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Olsen committed Nov 12, 2015
1 parent 64e0e81 commit 15b52e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ A few parameters can be changed with environment variables.

### Enabling integrations

To enable integrations you can write your YAML configuration files in the `/conf.d` folder, they will automatically be copied to `/etc/dd-agent/conf.d/` when the container starts.
To enable integrations you can write your YAML configuration files in the `/conf.d` folder, they will automatically be copied to `/etc/dd-agent/conf.d/` when the container starts. You can also do the same for the `/checks.d` folder. Any Python files in the `/checks.d` folder will automatically be copied to the `/etc/dd-agent/conf.d/` when the container starts.

1. Create a configuration folder on the host and write your YAML files in it.
1. Create a configuration folder on the host and write your YAML files in it. The examples below can be used for the `/checks.d` folder as well.

```
mkdir /opt/dd-agent-conf.d
Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ fi

find /conf.d -name '*.yaml' -exec cp {} /etc/dd-agent/conf.d \;

find /checks.d -name '*.py' -exec cp {} /etc/dd-agent/checks.d \;

export PATH="/opt/datadog-agent/embedded/bin:/opt/datadog-agent/bin:$PATH"

exec "$@"

2 comments on commit 15b52e0

@bradobro
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks the image. The Dockerfile needs to creat checks.d/

@someword
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bradobro thanks for the suggestion. I submitted #59

Please sign in to comment.