Skip to content
Snippets Groups Projects
Commit a8dcbc0c authored by Sam Roberts's avatar Sam Roberts
Browse files

change non-staff home page to show BAG graphs

parent 9ed1d689
No related branches found
No related tags found
No related merge requests found
...@@ -640,66 +640,676 @@ ...@@ -640,66 +640,676 @@
} }
{% else %} {% else %}
{ {
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null, "datasource": null,
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": {} "custom": {}
}, },
"overrides": [] "overrides": []
}, },
"fill": 1,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 10, "h": 8,
"w": 24, "w": 12,
"x": 0, "x": 0,
"y": 0 "y": 0
},
"hiddenSeries": false,
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
}, },
"id": 4, "lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"content": "<center><img src=\"https://connect.geant.org/wp-content/uploads/2021/04/geant_logo.png\" alt=\"GEANT Logo\" height=\"308\" width=\"616\"></center>", "alertThreshold": true
"mode": "html"
}, },
"pluginVersion": "7.1.0", "percentage": false,
"pluginVersion": "7.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [ "targets": [
{ {
"groupBy": [ "alias": "Customer",
{ "groupBy": [
"params": [ {
"$__interval" "params": [
], "15m"
"type": "time" ],
}, "type": "time"
{ },
"params": [ {
"null" "params": [
], "linear"
"type": "fill" ],
} "type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"ingress\") *8 FROM \"interface_rates\" WHERE (\"interface_name\" = 'PHY_CUSTOMER') AND $timeFilter GROUP BY time($__interval) fill(linear)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ingress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"*8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_CUSTOMER"
}
]
},
{
"alias": "Private",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ingress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"*8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_PRIVATE"
}
]
},
{
"alias": "R&E Interconnect",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ingress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* 8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_RE_INTERCONNECT"
}
]
},
{
"alias": "Public",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ingress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* 8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_PUBLIC"
}
]
},
{
"alias": "Upstream",
"groupBy": [
{
"params": [
"15m"
], ],
"orderByTime": "ASC", "type": "time"
"policy": "default", },
"refId": "A", {
"resultFormat": "time_series", "params": [
"select": [ "null"
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
], ],
"tags": [] "type": "fill"
} }
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ingress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* 8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_UPSTREAM"
}
]
}
], ],
"thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "BRIAN", "title": "BAG (Ingress)",
"type": "text" "tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"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,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"hiddenSeries": false,
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "Customer",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"ingress\") *8 FROM \"interface_rates\" WHERE (\"interface_name\" = 'PHY_CUSTOMER') AND $timeFilter GROUP BY time($__interval) fill(linear)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"egress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"*8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_CUSTOMER"
}
]
},
{
"alias": "Private",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"linear"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"egress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"*8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_PRIVATE"
}
]
},
{
"alias": "R&E Interconnect",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"egress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* 8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_RE_INTERCONNECT"
}
]
},
{
"alias": "Public",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"egress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* 8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_PUBLIC"
}
]
},
{
"alias": "Upstream",
"groupBy": [
{
"params": [
"15m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "interface_rates",
"orderByTime": "ASC",
"policy": "default",
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"egress"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* 8"
],
"type": "math"
}
]
],
"tags": [
{
"key": "interface_name",
"operator": "=",
"value": "PHY_UPSTREAM"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "BAG (Egress)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
{% endif %} {% endif %}
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment