Fixing counter based graphs inside the Swift dashboard
All counter based graphs inside the the Swift dashboard are fixed and now correctly showing the timings per second rather than total values per telegraf flush interval. Additionally the High Response Time graphs are now using the timing_upper metrics. Minor issues inside the playbook-influx-telegraf.yml and telegraf.conf.j2 are fixed to support deployments without optional componentns like ironic, cinder etc. Change-Id: I0ac0d2004416cae7a6d137d98ab685b7abc22d3f
This commit is contained in:
parent
335d23f32b
commit
a4f8d4a972
@ -94,7 +94,7 @@
|
|||||||
"hide": false,
|
"hide": false,
|
||||||
"measurement": "swift.proxy-server.account",
|
"measurement": "swift.proxy-server.account",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.account\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.account\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -140,7 +140,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -218,7 +218,7 @@
|
|||||||
],
|
],
|
||||||
"measurement": "swift.proxy-server.account",
|
"measurement": "swift.proxy-server.account",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.account\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '204' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.account\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '204' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -258,7 +258,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -320,7 +320,7 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null as zero",
|
"nullPointMode": "connected",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -349,7 +349,7 @@
|
|||||||
"hide": false,
|
"hide": false,
|
||||||
"measurement": "swift.proxy-server.container",
|
"measurement": "swift.proxy-server.container",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.container\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.container\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -395,7 +395,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -436,6 +436,8 @@
|
|||||||
"legend": {
|
"legend": {
|
||||||
"avg": false,
|
"avg": false,
|
||||||
"current": false,
|
"current": false,
|
||||||
|
"hideEmpty": false,
|
||||||
|
"hideZero": false,
|
||||||
"max": false,
|
"max": false,
|
||||||
"min": false,
|
"min": false,
|
||||||
"show": false,
|
"show": false,
|
||||||
@ -445,7 +447,7 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null as zero",
|
"nullPointMode": "connected",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -472,7 +474,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.container\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '204' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.container\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '204' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -500,7 +502,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -562,7 +564,7 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null as zero",
|
"nullPointMode": "connected",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -589,7 +591,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '201' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '201' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -617,7 +619,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -667,7 +669,7 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null as zero",
|
"nullPointMode": "connected",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -693,8 +695,9 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"hide": false,
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND \"returncode\" = '204' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND \"returncode\" = '204' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -722,8 +725,8 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "individual"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
"xaxis": {
|
"xaxis": {
|
||||||
@ -772,7 +775,7 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null as zero",
|
"nullPointMode": "connected",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -799,7 +802,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host, time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -827,7 +830,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -877,7 +880,7 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null as zero",
|
"nullPointMode": "connected",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -904,7 +907,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '200' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '200' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -932,7 +935,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1022,7 +1025,7 @@
|
|||||||
],
|
],
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_lower\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT mean(\"timing_mean\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1050,7 +1053,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1127,7 +1130,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_mean\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT mean(\"timing_lower\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND \"returncode\" = '200' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1151,11 +1154,11 @@
|
|||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "Proxy GETs (200) - 50%ile Response Time",
|
"title": "Proxy GETs (200) - Low Response Time",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1256,11 +1259,11 @@
|
|||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "Proxy GETs (200) - 90%ile Response Time",
|
"title": "Proxy GETs (200) - High Response Time",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1337,7 +1340,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_lower\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '201' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT mean(\"timing_mean\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '201' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1365,7 +1368,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1442,7 +1445,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_mean\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '201' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT mean(\"timing_lower\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '201' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1466,11 +1469,11 @@
|
|||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "Proxy PUTs (201) - 50%ile Response Time",
|
"title": "Proxy PUTs (201) - Low Response Time",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1571,11 +1574,11 @@
|
|||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "Proxy PUTs (201) - 90%ile Response Time",
|
"title": "Proxy PUTs (201) - High Response Time",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1671,7 +1674,7 @@
|
|||||||
],
|
],
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND (\"method\" = 'GET' OR \"method\" = 'HEAD') AND $timeFilter GROUP BY time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND (\"method\" = 'GET' OR \"method\" = 'HEAD') AND $timeFilter GROUP BY time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1700,7 +1703,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -1754,7 +1757,7 @@
|
|||||||
"lines": false,
|
"lines": false,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "connected",
|
"nullPointMode": "null as zero",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -1783,7 +1786,7 @@
|
|||||||
],
|
],
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND $timeFilter GROUP BY time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND $timeFilter GROUP BY time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1822,7 +1825,7 @@
|
|||||||
],
|
],
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND $timeFilter GROUP BY time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND $timeFilter GROUP BY time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1850,8 +1853,8 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "individual"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
"xaxis": {
|
"xaxis": {
|
||||||
@ -1907,6 +1910,7 @@
|
|||||||
"max": true,
|
"max": true,
|
||||||
"min": false,
|
"min": false,
|
||||||
"show": true,
|
"show": true,
|
||||||
|
"sortDesc": true,
|
||||||
"total": false,
|
"total": false,
|
||||||
"values": true
|
"values": true
|
||||||
},
|
},
|
||||||
@ -1941,7 +1945,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND (\"method\" = 'PUT' OR \"method\" = 'DELETE') AND $timeFilter GROUP BY time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND (\"method\" = 'PUT' OR \"method\" = 'DELETE') AND $timeFilter GROUP BY time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -1969,7 +1973,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -2021,7 +2025,7 @@
|
|||||||
"lines": false,
|
"lines": false,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "connected",
|
"nullPointMode": "null as zero",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -2049,7 +2053,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND $timeFilter GROUP BY time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND $timeFilter GROUP BY time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -2087,7 +2091,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND $timeFilter GROUP BY time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND $timeFilter GROUP BY time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -2115,8 +2119,8 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "individual"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
"xaxis": {
|
"xaxis": {
|
||||||
@ -2204,7 +2208,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND \"returncode\" = '404' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND \"returncode\" = '404' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -2232,7 +2236,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -2282,7 +2286,7 @@
|
|||||||
"lines": true,
|
"lines": true,
|
||||||
"linewidth": 2,
|
"linewidth": 2,
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "null as zero",
|
"nullPointMode": "connected",
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"pointradius": 5,
|
"pointradius": 5,
|
||||||
"points": false,
|
"points": false,
|
||||||
@ -2310,7 +2314,7 @@
|
|||||||
],
|
],
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.container\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND (\"returncode\" = '404' OR \"returncode\" = '499') AND $timeFilter GROUP BY time($interval) fill(0)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.container\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'GET' AND (\"returncode\" = '404' OR \"returncode\" = '499') AND $timeFilter GROUP BY time($interval) fill(0)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -2338,7 +2342,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -2415,7 +2419,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '404' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'HEAD' AND \"returncode\" = '404' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -2443,7 +2447,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -2520,7 +2524,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '503' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'PUT' AND \"returncode\" = '503' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -2548,7 +2552,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -2625,7 +2629,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(\"timing_count\") FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND \"returncode\" = '503' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
"query": "SELECT non_negative_derivative(mean(\"timing_count\"),1s) FROM \"swift.proxy-server.object\" WHERE \"metric_type\" = 'timing' AND \"method\" = 'DELETE' AND \"returncode\" = '503' AND $timeFilter GROUP BY host,time($interval) fill(null)",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"resultFormat": "time_series",
|
"resultFormat": "time_series",
|
||||||
@ -2653,7 +2657,7 @@
|
|||||||
"tooltip": {
|
"tooltip": {
|
||||||
"msResolution": false,
|
"msResolution": false,
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 2,
|
||||||
"value_type": "cumulative"
|
"value_type": "cumulative"
|
||||||
},
|
},
|
||||||
"type": "graph",
|
"type": "graph",
|
||||||
@ -2728,5 +2732,5 @@
|
|||||||
},
|
},
|
||||||
"timezone": "browser",
|
"timezone": "browser",
|
||||||
"title": "OpenStack Swift Proxy Server Metrics",
|
"title": "OpenStack Swift Proxy Server Metrics",
|
||||||
"version": 22
|
"version": 4
|
||||||
}
|
}
|
@ -85,24 +85,24 @@
|
|||||||
command:
|
command:
|
||||||
- "python /opt/telegraf/ironic_nodes.py"
|
- "python /opt/telegraf/ironic_nodes.py"
|
||||||
group: "{{ groups['utility_all'][0] }}"
|
group: "{{ groups['utility_all'][0] }}"
|
||||||
when_group: "{{ (groups['ironic_api'] | length) > 0 }}"
|
when_group: "{{ (groups['ironic_api'] | default([]) | length) > 0 }}"
|
||||||
vm_quota:
|
vm_quota:
|
||||||
plugin_name: "vm_quota.py"
|
plugin_name: "vm_quota.py"
|
||||||
command:
|
command:
|
||||||
- "python /opt/telegraf/vm_quota.py"
|
- "python /opt/telegraf/vm_quota.py"
|
||||||
group: "{{ groups['utility_all'][0] }}"
|
group: "{{ groups['utility_all'][0] }}"
|
||||||
when_group: "{{ (groups['nova_compute'] | length) > 0 }}"
|
when_group: "{{ (groups['nova_compute'] | default([]) | length) > 0 }}"
|
||||||
kvm:
|
kvm:
|
||||||
plugin_name: "kvm_virsh.py"
|
plugin_name: "kvm_virsh.py"
|
||||||
command:
|
command:
|
||||||
- "python /opt/telegraf/kvm_virsh.py"
|
- "python /opt/telegraf/kvm_virsh.py"
|
||||||
group: "{{ groups['nova_compute'] }}"
|
group: "{{ groups['nova_compute'] }}"
|
||||||
when_group: "{{ (groups['nova_compute'] | length) > 0 and (nova_virt_type | default('qemu') in ['kvm', 'qemu']) }}"
|
when_group: "{{ (groups['nova_compute'] | default([]) | length) > 0 and (nova_virt_type | default('qemu') in ['kvm', 'qemu']) }}"
|
||||||
cinder_pools_usage:
|
cinder_pools_usage:
|
||||||
plugin_name: "cinder_pools_usage.py"
|
plugin_name: "cinder_pools_usage.py"
|
||||||
command:
|
command:
|
||||||
- "python /opt/telegraf/cinder_pools_usage.py"
|
- "python /opt/telegraf/cinder_pools_usage.py"
|
||||||
group: "{{ groups['utility_all'][0] }}"
|
group: "{{ groups['utility_all'][0] }}"
|
||||||
when_group: "{{ (groups['cinder_volumes'] | length) > 0 }}"
|
when_group: "{{ (groups['cinder_volumes'] | default([]) | length) > 0 }}"
|
||||||
influx_telegraf_targets:
|
influx_telegraf_targets:
|
||||||
- "{{ influxdb_host|default(internal_lb_vip_address) }}:{{ influxdb_port }}"
|
- "{{ influxdb_host|default(internal_lb_vip_address) }}:{{ influxdb_port }}"
|
||||||
|
@ -65,9 +65,6 @@
|
|||||||
"nf_conntrack_count","nf_conntrack_max"]
|
"nf_conntrack_count","nf_conntrack_max"]
|
||||||
dirs = ["/proc/sys/net/ipv4/netfilter","/proc/sys/net/netfilter"]
|
dirs = ["/proc/sys/net/ipv4/netfilter","/proc/sys/net/netfilter"]
|
||||||
|
|
||||||
{% if inventory_hostname in groups['all_containers'] %}
|
|
||||||
[[inputs.net]]
|
|
||||||
|
|
||||||
{% if inventory_hostname in groups['swift-proxy_containers'] %}
|
{% if inventory_hostname in groups['swift-proxy_containers'] %}
|
||||||
[[inputs.statsd]]
|
[[inputs.statsd]]
|
||||||
service_address = ":8125"
|
service_address = ":8125"
|
||||||
@ -76,6 +73,10 @@
|
|||||||
"*.swift.proxy-server.*.*.*.* host.measurement.measurement.measurement.method.returncode.field*",
|
"*.swift.proxy-server.*.*.*.* host.measurement.measurement.measurement.method.returncode.field*",
|
||||||
"*.swift.proxy-server.*.policy.*.*.*.* host.measurement.measurement.measurement.measurement.measurement.method.returncode.field*",
|
"*.swift.proxy-server.*.policy.*.*.*.* host.measurement.measurement.measurement.measurement.measurement.method.returncode.field*",
|
||||||
]
|
]
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if inventory_hostname in groups['all_containers'] %}
|
||||||
|
[[inputs.net]]
|
||||||
|
|
||||||
{% elif inventory_hostname in groups['hosts'] %}
|
{% elif inventory_hostname in groups['hosts'] %}
|
||||||
[[inputs.cpu]]
|
[[inputs.cpu]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user