Skip to content

Commit

Permalink
Add example about autodiscovery to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
hush-hush committed May 29, 2018
1 parent 8412502 commit 6e0d910
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,29 @@ This will create:
- some_data: true
```

**autodiscovery check**

There is no pre-processing nor post-processing on the YAML. This means every
YAML sections will be added to the final configuration file, including
`autodiscovery identifiers`.

This example will configure the PostgeSQL check through **autodiscovery**:

```yml
datadog_checks:
postgres:
ad_identifiers:
- db-master
- db-slave
init_config:
instances:
- host: %%host%%
port: %%port%%
username: username
password: password
```


Example Playbooks
-----------------
```yml
Expand Down

0 comments on commit 6e0d910

Please sign in to comment.