aboutsummaryrefslogtreecommitdiffstats
path: root/charms/trusty/ceilometer-agent/templates/icehouse/ceilometer.conf
blob: ed778f0d75a06d3878afb13c009db52f2439972b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# icehouse
###############################################################################
# [ WARNING ]
# ceilometer configuration file maintained by Juju
# local changes may be overwritten.
###############################################################################
[DEFAULT]
debug = {{ debug }}
verbose = {{ verbose }}
logdir = /var/log/ceilometer
{% include "parts/rabbitmq" %}
{% if use_internal_endpoints -%}
interface = internal
{% endif -%}

{% if auth_host -%}
[service_credentials]
os_auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/v2.0
os_tenant_name = {{ admin_tenant_name }}
os_username = {{ admin_user }}
os_password = {{ admin_password }}
{% endif -%}

{% if metering_secret -%}
[publisher_rpc]
metering_secret = {{ metering_secret }}
{% endif -%}

[database]
# NOTE(jamespage) this allows the db sync process to run OK for upgrades
# fixed in icehouse
backend=sqlalchemy
connection=sqlite:////var/lib/ceilometer/$sqlite_db