Docker support statsd disabled
Support statsd disabled in docker environment. Change-Id: I96b7f257b03142245653c4914834d47df1612ef4
This commit is contained in:
parent
bcc64929f3
commit
8db26df094
@ -27,6 +27,7 @@ ENV \
|
||||
MYSQL_DB_USERNAME=notification \
|
||||
MYSQL_DB_PASSWORD=password \
|
||||
MYSQL_DB_DATABASE=mon \
|
||||
STATSD_ENABLE=true \
|
||||
STATSD_HOST=monasca-statsd \
|
||||
STATSD_PORT=8125 \
|
||||
STAY_ALIVE_ON_FAILURE="false"
|
||||
|
@ -49,6 +49,7 @@ NOTIFICATION_PROCESSORS 2
|
||||
RETRY_INTERVAL 30 Retry interval in seconds
|
||||
RETRY_MAX_ATTEMPTS 5 Max number of notification retries
|
||||
LOG_LEVEL WARN Logging level
|
||||
STATSD_ENABLE true Monasca agent StatsD enable or disable
|
||||
STATSD_HOST monasca-statsd Monasca agent StatsD host for self-monitoring
|
||||
STATSD_PORT 8125 Monasca agent StatsD port for self-monitoring
|
||||
NF_PLUGINS <not set> See below "Notification Plugins"
|
||||
|
@ -147,8 +147,7 @@ logging: # Used in logging.dictConfig
|
||||
- console
|
||||
level: {{ LOG_LEVEL | default('WARN') }}
|
||||
|
||||
{% if STATSD_HOST and STATSD_PORT %}
|
||||
statsd:
|
||||
enable: {{ STATSD_ENABLE }}
|
||||
host: "{{ STATSD_HOST }}"
|
||||
port: {{ STATSD_PORT }}
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user