2018-08-24 10:10:27 -04:00
|
|
|
{% raw %}
|
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
|
|
|
"datasource": "prometheus",
|
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": "Monitors Contrail Controller cluster using Prometheus. Shows overall cluster processes and usage.",
|
|
|
|
"editable": true,
|
|
|
|
"gnetId": null,
|
|
|
|
"graphTooltip": 1,
|
|
|
|
"id": null,
|
|
|
|
"iteration": 1529921875704,
|
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 21,
|
|
|
|
"panels": [],
|
|
|
|
"repeat": null,
|
|
|
|
"title": "Cluster Status",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorValue": true,
|
|
|
|
"colors": [
|
|
|
|
"rgba(245, 54, 54, 0.9)",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"rgba(50, 172, 45, 0.97)"
|
|
|
|
],
|
|
|
|
"datasource": null,
|
|
|
|
"format": "percentunit",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 3,
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 27,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": " UP",
|
|
|
|
"postfixFontSize": "80%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "sum(http_response_status{environment=\"$environment\", service=\"contrail-api\"}) / count(http_response_status{environment=\"$environment\", service=\"contrail-api\"})",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 20
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "0.3,0.6",
|
|
|
|
"title": "API availability",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"rgba(245, 54, 54, 0.9)",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#299c46"
|
|
|
|
],
|
|
|
|
"datasource": null,
|
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 3,
|
|
|
|
"x": 3,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(haproxy_active_servers{environment=\"$environment\", proxy=~\"contrail.api\", sv=\"BACKEND\"})",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 20
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "",
|
|
|
|
"title": "OpenContrail API",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"rgba(245, 54, 54, 0.9)",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"rgba(50, 172, 45, 0.97)"
|
|
|
|
],
|
|
|
|
"datasource": null,
|
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 3,
|
|
|
|
"x": 6,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 34,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "80%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(haproxy_active_servers{environment=\"$environment\", host=~\"$host\",proxy=~\"contrail.discovery\", sv=\"BACKEND\"})",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 20
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "",
|
|
|
|
"title": "OpenContrail Discovery API",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"rgba(245, 54, 54, 0.9)",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"rgba(50, 172, 45, 0.97)"
|
|
|
|
],
|
|
|
|
"datasource": null,
|
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 3,
|
|
|
|
"x": 9,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"interval": null,
|
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"dashUri": "db/cassandra",
|
|
|
|
"dashboard": "Cassandra",
|
|
|
|
"title": "Cassandra",
|
|
|
|
"type": "dashboard"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"dashUri": "db/zookeeper",
|
|
|
|
"dashboard": "Zookeeper",
|
|
|
|
"title": "Zookeeper",
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(haproxy_active_servers{environment=\"$environment\", proxy=~\"contrail.analytics\", sv=\"BACKEND\"})",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 20
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "",
|
|
|
|
"title": "OpenContrail Analytics API",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"decimals": 0,
|
|
|
|
"fill": 1,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 5,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": true,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2018-10-02 09:19:43 -04:00
|
|
|
"expr": "sum(label_replace(haproxy_scur{environment=\"$environment\", proxy=~\"contrail.api\", type=\"server\"}, \"sv_new\", \"$1\", \"sv\", \"([a-zA-Z0-9_]+)(?:-.*)?\")) by (sv_new)",
|
2018-08-24 10:10:27 -04:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2018-10-02 09:19:43 -04:00
|
|
|
"legendFormat": "contrail @{{ sv_new }}",
|
2018-08-24 10:10:27 -04:00
|
|
|
"refId": "A",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
2018-10-02 09:19:43 -04:00
|
|
|
"expr": "sum(label_replace(environment=\"$environment\", haproxy_scur{proxy=~\"contrail.analytics\", type=\"server\"}, \"sv_new\", \"$1\", \"sv\", \"([a-zA-Z0-9_]+)(?:-.*)?\")) by (sv_new)",
|
2018-08-24 10:10:27 -04:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2018-10-02 09:19:43 -04:00
|
|
|
"legendFormat": "analytics @{{ sv_new }}",
|
2018-08-24 10:10:27 -04:00
|
|
|
"refId": "B",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
2018-10-02 09:19:43 -04:00
|
|
|
"expr": "sum(label_replace(environment=\"$environment\", haproxy_scur{proxy=~\"contrail.discovery\", type=\"server\"}, \"sv_new\", \"$1\", \"sv\", \"([a-zA-Z0-9_]+)(?:-.*)?\")) by (sv_new)",
|
2018-08-24 10:10:27 -04:00
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
2018-10-02 09:19:43 -04:00
|
|
|
"legendFormat": "discovery @{{ sv_new }}",
|
2018-08-24 10:10:27 -04:00
|
|
|
"refId": "C"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "OpenContrail API Sessions",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 8
|
|
|
|
},
|
|
|
|
"id": 18,
|
|
|
|
"panels": [],
|
|
|
|
"title": "Host Status",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": true,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"#d44a3a",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#299c46"
|
|
|
|
],
|
|
|
|
"datasource": null,
|
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 3,
|
|
|
|
"x": 0,
|
|
|
|
"y": 9
|
|
|
|
},
|
|
|
|
"id": 20,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": "host",
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw01",
|
|
|
|
"value": "ntw01"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "http_response_status{environment=\"$environment\", host=~\"$host\",service=\"contrail-api\"}",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "0.5,1",
|
|
|
|
"title": "contrail-api@${host}",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "FAIL",
|
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "OK",
|
|
|
|
"value": "1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"decimals": 0,
|
|
|
|
"fill": 1,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 10,
|
|
|
|
"x": 3,
|
|
|
|
"y": 9
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": "host",
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw01",
|
|
|
|
"value": "ntw01"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_bgp_session_up_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "up",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_bgp_session_down_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "down",
|
|
|
|
"refId": "B",
|
|
|
|
"step": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "BGP Sessions@${host}",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"decimals": 0,
|
|
|
|
"fill": 1,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 11,
|
|
|
|
"x": 13,
|
|
|
|
"y": 9
|
|
|
|
},
|
|
|
|
"id": 7,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": "host",
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw01",
|
|
|
|
"value": "ntw01"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_xmpp_session_up_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "up",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_xmpp_session_down_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "down",
|
|
|
|
"refId": "B",
|
|
|
|
"step": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "vRouters XMPP Sessions@${host}",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": true,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"#d44a3a",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#299c46"
|
|
|
|
],
|
|
|
|
"datasource": null,
|
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 3,
|
|
|
|
"x": 0,
|
|
|
|
"y": 16
|
|
|
|
},
|
|
|
|
"id": 35,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"repeatIteration": 1529921875704,
|
|
|
|
"repeatPanelId": 20,
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw02",
|
|
|
|
"value": "ntw02"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "http_response_status{environment=\"$environment\", host=~\"$host\",service=\"contrail-api\"}",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "0.5,1",
|
|
|
|
"title": "contrail-api@${host}",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "FAIL",
|
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "OK",
|
|
|
|
"value": "1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"decimals": 0,
|
|
|
|
"fill": 1,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 10,
|
|
|
|
"x": 3,
|
|
|
|
"y": 16
|
|
|
|
},
|
|
|
|
"id": 37,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"repeatIteration": 1529921875704,
|
|
|
|
"repeatPanelId": 6,
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw02",
|
|
|
|
"value": "ntw02"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_bgp_session_up_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "up",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_bgp_session_down_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "down",
|
|
|
|
"refId": "B",
|
|
|
|
"step": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "BGP Sessions@${host}",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"decimals": 0,
|
|
|
|
"fill": 1,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 11,
|
|
|
|
"x": 13,
|
|
|
|
"y": 16
|
|
|
|
},
|
|
|
|
"id": 39,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"repeatIteration": 1529921875704,
|
|
|
|
"repeatPanelId": 7,
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw02",
|
|
|
|
"value": "ntw02"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_xmpp_session_up_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "up",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_xmpp_session_down_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "down",
|
|
|
|
"refId": "B",
|
|
|
|
"step": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "vRouters XMPP Sessions@${host}",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": true,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"#d44a3a",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#299c46"
|
|
|
|
],
|
|
|
|
"datasource": null,
|
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 3,
|
|
|
|
"x": 0,
|
|
|
|
"y": 23
|
|
|
|
},
|
|
|
|
"id": 36,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repeat": null,
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"repeatIteration": 1529921875704,
|
|
|
|
"repeatPanelId": 20,
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw03",
|
|
|
|
"value": "ntw03"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "http_response_status{environment=\"$environment\", host=~\"$host\",service=\"contrail-api\"}",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "0.5,1",
|
|
|
|
"title": "contrail-api@${host}",
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "FAIL",
|
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "OK",
|
|
|
|
"value": "1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"decimals": 0,
|
|
|
|
"fill": 1,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 10,
|
|
|
|
"x": 3,
|
|
|
|
"y": 23
|
|
|
|
},
|
|
|
|
"id": 38,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"repeatIteration": 1529921875704,
|
|
|
|
"repeatPanelId": 6,
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw03",
|
|
|
|
"value": "ntw03"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_bgp_session_up_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "up",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_bgp_session_down_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "down",
|
|
|
|
"refId": "B",
|
|
|
|
"step": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "BGP Sessions@${host}",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
|
|
|
"datasource": null,
|
|
|
|
"decimals": 0,
|
|
|
|
"fill": 1,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 11,
|
|
|
|
"x": 13,
|
|
|
|
"y": 23
|
|
|
|
},
|
|
|
|
"id": 40,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": true,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"rightSide": true,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"minSpan": 3,
|
|
|
|
"nullPointMode": "null",
|
|
|
|
"percentage": false,
|
|
|
|
"pointradius": 5,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"repeat": null,
|
|
|
|
"repeatDirection": "v",
|
|
|
|
"repeatIteration": 1529921875704,
|
|
|
|
"repeatPanelId": 7,
|
|
|
|
"scopedVars": {
|
|
|
|
"host": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "ntw03",
|
|
|
|
"value": "ntw03"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_xmpp_session_up_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "up",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expr": "min(contrail_xmpp_session_down_count{environment=\"$environment\", host=~\"$host\"}) by (host)",
|
|
|
|
"format": "time_series",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "down",
|
|
|
|
"refId": "B",
|
|
|
|
"step": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "vRouters XMPP Sessions@${host}",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": "0",
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"refresh": "1m",
|
|
|
|
"schemaVersion": 16,
|
|
|
|
"style": "dark",
|
|
|
|
"tags": [
|
|
|
|
"contrail"
|
|
|
|
],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": null,
|
|
|
|
"datasource": "prometheus",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": false,
|
|
|
|
"label": null,
|
|
|
|
"multi": false,
|
|
|
|
"name": "environment",
|
|
|
|
"options": [],
|
|
|
|
"query": "label_values(environment)",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"allValue": null,
|
|
|
|
"current": {
|
|
|
|
"text": "All",
|
|
|
|
"value": [
|
|
|
|
"$__all"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"datasource": "prometheus",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
|
|
|
"label": null,
|
|
|
|
"multi": true,
|
|
|
|
"name": "host",
|
|
|
|
"options": [],
|
|
|
|
"query": "label_values(http_response_status{environment=\"$environment\", service=~\"contrail-api\"}, host)",
|
|
|
|
"refresh": 1,
|
|
|
|
"refresh_on_load": true,
|
|
|
|
"regex": "",
|
|
|
|
"sort": 1,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-1h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {
|
|
|
|
"refresh_intervals": [
|
|
|
|
"5s",
|
|
|
|
"10s",
|
|
|
|
"30s",
|
|
|
|
"1m",
|
|
|
|
"5m",
|
|
|
|
"15m",
|
|
|
|
"30m",
|
|
|
|
"1h",
|
|
|
|
"2h",
|
|
|
|
"1d"
|
|
|
|
],
|
|
|
|
"time_options": [
|
|
|
|
"5m",
|
|
|
|
"15m",
|
|
|
|
"1h",
|
|
|
|
"6h",
|
|
|
|
"12h",
|
|
|
|
"24h",
|
|
|
|
"2d",
|
|
|
|
"7d",
|
|
|
|
"30d"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"timezone": "browser",
|
|
|
|
"title": "OpenContrail Controller",
|
|
|
|
"uid": null,
|
|
|
|
"version": 6
|
|
|
|
}
|
|
|
|
{% endraw %}
|