b7b45effed
The Monasca Agent collects metrics and in this change is deployed across the control plane. These metrics are collected into an OpenStack project. It supports configuring a small number of plugins, which can be extended in later commits. It also makes the Monasca Agent credentials available to other roles, such as the common role to allow forwarding logs to Monasca. Partially-Implements: blueprint monasca-roles Change-Id: I76b34fc5e1c76407a45fcf272268d5798b473ca2
25 lines
696 B
Django/Jinja
25 lines
696 B
Django/Jinja
{
|
|
"command": "monasca-collector foreground --config-file /etc/monasca/agent-collector.yml",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/agent-collector.yml",
|
|
"dest": "/etc/monasca/agent-collector.yml",
|
|
"owner": "monasca",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/plugins/*.yaml",
|
|
"dest": "/etc/monasca/conf.d/",
|
|
"owner": "monasca",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/monasca",
|
|
"owner": "monasca:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|