Files
monasca-agent/conf.d/process.yaml.example
Tim Kuhlman 325c5ce6fc Changed it so you have to explicitly choose the detailed process metrics.
Fixed process setup for kafka and zookeeper.
Also fixed dimensions for the pid_count and made it so pid_count can go
higher than 1 for non-exact matches.

Change-Id: Ia8f44ddf668b976480afcf203eb11fa696f71b5e
2015-01-28 17:17:25 -07:00

37 lines
1.1 KiB
Plaintext

init_config:
instances:
# - name: (required) STRING. It will be used to uniquely identify your metrics as they will be tagged with this name
# detailed: (optional) Boolean. Defaults to False, if set detailed metrics are pulled for the process. When false
only the process.pid_count metric is returned.
# 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.
#
# Examples:
#
- name: ssh
search_string: ['ssh', 'sshd']
detailed: false
- name: postgres
search_string: ['postgres']
detailed: true
- name: All
search_string: ['All']
detailed: false
- name: nodeserver
search_string: ['node server.js']
detailed: false
# - name: python
# process: ['python']
# - name: node
# process: ['node']