Merge "Adjust docker image to support new configuration option"
This commit is contained in:
@@ -56,7 +56,9 @@ ENV \
|
|||||||
LOG_LEVEL_ROOT=WARN \
|
LOG_LEVEL_ROOT=WARN \
|
||||||
LOG_LEVEL_CONSOLE=INFO \
|
LOG_LEVEL_CONSOLE=INFO \
|
||||||
LOG_LEVEL_ACCESS=INFO \
|
LOG_LEVEL_ACCESS=INFO \
|
||||||
STAY_ALIVE_ON_FAILURE=false
|
STAY_ALIVE_ON_FAILURE=false \
|
||||||
|
ENABLE_METRICS_API=true \
|
||||||
|
ENABLE_LOGS_API=false
|
||||||
|
|
||||||
# Copy all neccessary files to proper locations.
|
# Copy all neccessary files to proper locations.
|
||||||
COPY api-* /etc/monasca/
|
COPY api-* /etc/monasca/
|
||||||
|
@@ -70,6 +70,8 @@ LOG_LEVEL_ROOT WARN
|
|||||||
LOG_LEVEL_CONSOLE INFO Log level for console logging
|
LOG_LEVEL_CONSOLE INFO Log level for console logging
|
||||||
LOG_LEVEL_ACCESS INFO Log level for access logging
|
LOG_LEVEL_ACCESS INFO Log level for access logging
|
||||||
STAY_ALIVE_ON_FAILURE false If true, container runs 2 hours after service fail
|
STAY_ALIVE_ON_FAILURE false If true, container runs 2 hours after service fail
|
||||||
|
ENABLE_METRICS_API true Enable/Disable metrics endpoints
|
||||||
|
ENABLE_LOGS_API false Enable/disable logs endpoints
|
||||||
============================== ======================================================================= ==========================================
|
============================== ======================================================================= ==========================================
|
||||||
|
|
||||||
Wait scripts environment variables
|
Wait scripts environment variables
|
||||||
|
@@ -18,6 +18,14 @@ region = {{ DEFAULT_REGION }}
|
|||||||
# (list value)
|
# (list value)
|
||||||
#valid_notification_periods = 0,60
|
#valid_notification_periods = 0,60
|
||||||
|
|
||||||
|
#
|
||||||
|
# Enable Metrics api endpoints (boolean value)
|
||||||
|
enable_metrics_api = {{ ENABLE_METRICS_API }}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Enable Logs api endpoints (boolean value)
|
||||||
|
enable_logs_api = {{ ENABLE_LOGS_API }}
|
||||||
|
|
||||||
#
|
#
|
||||||
# From oslo.log
|
# From oslo.log
|
||||||
#
|
#
|
||||||
@@ -424,6 +432,9 @@ metrics_topic = metrics
|
|||||||
# (string value)
|
# (string value)
|
||||||
#events_topic = events
|
#events_topic = events
|
||||||
|
|
||||||
|
# The topic that logs will be published to (multi valued)
|
||||||
|
#logs_topics = log
|
||||||
|
|
||||||
#
|
#
|
||||||
# The topic that alarm state will be published too
|
# The topic that alarm state will be published too
|
||||||
# (string value)
|
# (string value)
|
||||||
|
Reference in New Issue
Block a user