monasca-agent/conf.d/cadvisor_host.yaml.example
Kaiyan Sheng 8187a0c73f Add Dimensions into White List
Before submitting metrics, we want to check with the white list to
see what are the metrics we want to report and what are the dimension
we want in these metrics. If the key under "metrics" section is not
in the default dimension, the corresponding value specified in white
list will be used to update the dimension. If there is no key value
pairs under "metrics" section, then check and use the key value pairs
under "dimensions" section.

Change-Id: Ic81cc4c393112eb50f700655cefa839e454354db
2017-05-04 15:40:24 -06:00

23 lines
681 B
Plaintext

# (C) Copyright 2017 Hewlett Packard Enterprise Development LP
init_config:
# Timeout on cAdvisor requests
# connection_timeout: 3
# white_list:
# metrics:
# cpu.system_time_sec:
# dimensions:
# workspace_id: 12345uuid
# hostname: host_default
# net.in_bytes_sec:
# mem.used_bytes:
# dimensions:
# workspace_id: 56789uuid
# dimensions:
# workspace_id: abcd_uuid
instances:
# URL of cAdvisor to connect to.
- cadvisor_url: "http://127.0.0.1:4194"
# You can also set the plugin to determine cadvisor url from running within a kubernetes container
# kubernetes_detect_cadvisor: True