Merge "Collect StatsD metrics from Monasca services"

This commit is contained in:
Zuul 2018-11-08 10:50:34 +00:00 committed by Gerrit Code Review
commit f1bcea7eab
3 changed files with 48 additions and 11 deletions

View File

@ -17,8 +17,8 @@ topics = {{ monasca_raw_logs_topic }}
kafka_url = {{ monasca_kafka_servers }} kafka_url = {{ monasca_kafka_servers }}
[monitoring] [monitoring]
# TODO(dszumski): Deploy statsd to use this statsd_buffer = 30
enable = false statsd_port = {{ monasca_agent_statsd_port }}
[roles_middleware] [roles_middleware]
path = /v2.0/log, /v3.0/logs path = /v2.0/log, /v3.0/logs

View File

@ -18,8 +18,7 @@ passwd = {{ monasca_database_password }}
db = {{ monasca_database_name }} db = {{ monasca_database_name }}
[statsd] [statsd]
# TODO(dszumski): Enable when statsd is deployed port = {{ monasca_agent_statsd_port }}
enable = false
[zookeeper] [zookeeper]
url = {{ monasca_zookeeper_servers }} url = {{ monasca_zookeeper_servers }}

View File

@ -18,13 +18,51 @@
metricSpoutThreads: 2 metricSpoutThreads: 2
metricSpoutTasks: 2 metricSpoutTasks: 2
#statsdConfig: statsdConfig:
# host: "127.0.0.1" host: 127.0.0.1
# port: %MONASCA_STATSD_PORT% port: {{ monasca_agent_statsd_port }}
# prefix: monasca.storm. debugmetrics: {{ monasca_logging_debug }}
# dimensions: !!map dimensions: !!map
# service : monitoring service : monitoring
# component : storm component : storm
whitelist: !!seq
- aggregation-bolt.execute-count.filtering-bolt_alarm-creation-stream
- aggregation-bolt.execute-count.filtering-bolt_default
- aggregation-bolt.execute-count.system_tick
- filtering-bolt.execute-count.event-bolt_metric-alarm-events
- filtering-bolt.execute-count.metrics-spout_default
- thresholding-bolt.execute-count.aggregation-bolt_default
- thresholding-bolt.execute-count.event-bolt_alarm-definition-events
- system.memory_heap.committedBytes
- system.memory_nonHeap.committedBytes
- system.newWorkerEvent
- system.startTimeSecs
- system.GC_ConcurrentMarkSweep.timeMs
metricmap: !!map
aggregation-bolt.execute-count.filtering-bolt_alarm-creation-stream :
monasca.threshold.aggregation-bolt.execute-count.filtering-bolt_alarm-creation-stream
aggregation-bolt.execute-count.filtering-bolt_default :
monasca.threshold.aggregation-bolt.execute-count.filtering-bolt_default
aggregation-bolt.execute-count.system_tick :
monasca.threshold.aggregation-bolt.execute-count.system_tick
filtering-bolt.execute-count.event-bolt_metric-alarm-events :
monasca.threshold.filtering-bolt.execute-count.event-bolt_metric-alarm-events
filtering-bolt.execute-count.metrics-spout_default :
monasca.threshold.filtering-bolt.execute-count.metrics-spout_default
thresholding-bolt.execute-count.aggregation-bolt_default :
monasca.threshold.thresholding-bolt.execute-count.aggregation-bolt_default
thresholding-bolt.execute-count.event-bolt_alarm-definition-events :
monasca.threshold.thresholding-bolt.execute-count.event-bolt_alarm-definition-events
system.memory_heap.committedBytes :
monasca.threshold.system.memory_heap.committedBytes
system.memory_nonHeap.committedBytes :
monasca.threshold.system.memory_nonHeap.committedBytes
system.newWorkerEvent :
monasca.threshold.system.newWorkerEvent
system.startTimeSecs :
monasca.threshold.system.startTimeSecs
system.GC_ConcurrentMarkSweep.timeMs :
monasca.threshold.system.GC_ConcurrentMarkSweep.timeMs
metricSpoutConfig: metricSpoutConfig: