Created
February 4, 2015 23:44
-
-
Save LeoCavaille/f86117909e0022ac01ff to your computer and use it in GitHub Desktop.
Using Anchors in dd-agent YAML check configs
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
defaults: &DEFAULTS | |
collect_response_time: true | |
timeout: 42 | |
tags: | |
- "test:tag" | |
skip_event: true | |
init_config: | |
# Change default path of trusted certificates | |
# ca_certs: /etc/ssl/certs/ca-certificates.crt | |
instances: | |
- <<: *DEFAULTS | |
name: service 1 | |
url: http://google.com | |
- <<: *DEFAULTS | |
name: service 2 | |
url: http://datadog.com | |
- <<: *DEFAULTS | |
name: service 3 | |
url: http://linuxfr.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
perfect, thanks!