Merge "Few small changes for rabbitmq grafana graphs and configuration"

This commit is contained in:
Jenkins 2017-03-16 13:17:48 +00:00 committed by Gerrit Code Review
commit e29cdbf21c
4 changed files with 28 additions and 9 deletions

View File

@ -102,6 +102,16 @@ rabbitmq_undercloud_collectd_interval: 10
rabbitmq_controller_collectd_plugin: false
rabbitmq_controller_collectd_interval: 10
# Queues to monitor message count on Undercloud
undercloud_monitored_queues:
- "metering.sample"
- "event.sample"
# Queues to monitor message count on Controllers
controller_monitored_queues:
- "metering.sample"
- "event.sample"
########################
# tail plugin
########################

View File

@ -264,7 +264,8 @@ PreCacheChain "PreCache"
port 15672
username {{controller0_rabbitmq_username.stdout}}
password {{controller0_rabbitmq_password.stdout}}
message_count "metering.sample" "event.sample"
message_count {% for a_queue in controller_monitored_queues %}"{{a_queue}}" {% endfor %}
</Module>
</Plugin>
{% else %}

View File

@ -235,7 +235,8 @@ PreCacheChain "PreCache"
port 15672
username {{undercloud_rabbitmq_username.stdout}}
password {{undercloud_rabbitmq_password.stdout}}
message_count "metering.sample" "event.sample"
message_count {% for a_queue in undercloud_monitored_queues %}"{{a_queue}}" {% endfor %}
</Module>
</Plugin>

View File

@ -2894,7 +2894,8 @@
"editable": true,
"type": "graph",
"isNew": true,
"id": 185,
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"targets": [
{
"target": "aliasByMetric(aliasSub($Cloud.$Node.gnocchi_status.*, 'gauge-', ''))",
@ -4120,7 +4121,8 @@
"bars": false,
"datasource": null,
"fill": 0,
"id": 246,
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"legend": {
"alignAsTable": true,
"avg": false,
@ -4206,7 +4208,8 @@
"bars": false,
"datasource": null,
"fill": 0,
"id": 247,
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"legend": {
"alignAsTable": true,
"avg": false,
@ -4277,7 +4280,8 @@
"bars": false,
"datasource": null,
"fill": 1,
"id": 248,
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"legend": {
"alignAsTable": true,
"avg": false,
@ -4348,7 +4352,8 @@
"bars": false,
"datasource": null,
"fill": 0,
"id": 249,
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"legend": {
"alignAsTable": true,
"avg": false,
@ -4419,7 +4424,8 @@
"bars": false,
"datasource": null,
"fill": 0,
"id": 250,
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"legend": {
"alignAsTable": true,
"avg": false,
@ -4490,7 +4496,8 @@
"bars": false,
"datasource": null,
"fill": 0,
"id": 240,
{% if vars.update({'panel_idx': (vars.panel_idx + 1)}) %} {% endif %}
"id": {{vars.panel_idx}},
"legend": {
"alignAsTable": true,
"avg": false,