Skip to content

Instantly share code, notes, and snippets.

@conorbranagan
Created August 1, 2014 21:43
Show Gist options
  • Save conorbranagan/210c50039afed11da081 to your computer and use it in GitHub Desktop.
Save conorbranagan/210c50039afed11da081 to your computer and use it in GitHub Desktop.
init_config:
instances:
# - name: (required) STRING. It will be used to uniquely identify your metrics as they will be tagged with this name
# search_string: (required) LIST OF STRINGS. If one of the elements in the list matches,
# return the counter of all the processes that contain the string
# exact_match: (optional) Boolean. Default to True, if you want to look for an arbitrary
# string, use exact_match: False
# cpu_check_interval: (optional) CPU percent check interval: 0.1 - 1.0 sec.
# ignore_denied_access: (optional) Boolean. Default to True, when getting the number of files descriptors, dd-agent user might
# get a denied access. Set this to true to not issue a warning if that happens.
#
# Examples:
#
- name: Google Chrome
search_string: ['chrome.exe']
# - name: python
# process: ['python']
# - name: node
# process: ['node']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment