Cleaning up Grafana Cruft
Grafana keeps raw queries in the json and it was bugging me. If the raw query isn't displayed, why save it? Why not strip it on export for external use? Also, my interfaces were embedded in the json. No security risk, but it bugged me. This is supposed to be templated for external use!
This commit is contained in:
parent
58513af7de
commit
2853b5c3eb
@ -73,7 +73,7 @@
|
||||
"gnetId": null,
|
||||
"graphTooltip": 0,
|
||||
"id": null,
|
||||
"iteration": 1614902557107,
|
||||
"iteration": 1614909769550,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
@ -762,7 +762,6 @@
|
||||
},
|
||||
"yaxes": [
|
||||
{
|
||||
"$$hashKey": "object:4806",
|
||||
"decimals": 1,
|
||||
"format": "none",
|
||||
"label": "",
|
||||
@ -772,7 +771,6 @@
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"$$hashKey": "object:4807",
|
||||
"format": "short",
|
||||
"label": null,
|
||||
"logBase": 1,
|
||||
@ -2820,8 +2818,6 @@
|
||||
"measurement": "net",
|
||||
"orderByTime": "ASC",
|
||||
"policy": "default",
|
||||
"query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *-1 FROM \"autogen\".\"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"rawQuery": false,
|
||||
"refId": "C",
|
||||
"resultFormat": "time_series",
|
||||
"select": [
|
||||
@ -2921,7 +2917,6 @@
|
||||
},
|
||||
"yaxes": [
|
||||
{
|
||||
"$$hashKey": "object:6721",
|
||||
"decimals": 2,
|
||||
"format": "Bps",
|
||||
"label": "",
|
||||
@ -2931,7 +2926,6 @@
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"$$hashKey": "object:6722",
|
||||
"decimals": 2,
|
||||
"format": "short",
|
||||
"label": null,
|
||||
@ -3027,8 +3021,6 @@
|
||||
"measurement": "net",
|
||||
"orderByTime": "ASC",
|
||||
"policy": "default",
|
||||
"query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *-1 FROM \"autogen\".\"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"rawQuery": false,
|
||||
"refId": "C",
|
||||
"resultFormat": "time_series",
|
||||
"select": [
|
||||
@ -3345,8 +3337,6 @@
|
||||
"measurement": "net",
|
||||
"orderByTime": "ASC",
|
||||
"policy": "default",
|
||||
"query": "SELECT mean(\"packets_recv\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"rawQuery": false,
|
||||
"refId": "G",
|
||||
"resultFormat": "time_series",
|
||||
"select": [
|
||||
@ -3527,7 +3517,6 @@
|
||||
},
|
||||
"yaxes": [
|
||||
{
|
||||
"$$hashKey": "object:7707",
|
||||
"decimals": 2,
|
||||
"format": "short",
|
||||
"label": null,
|
||||
@ -3537,7 +3526,6 @@
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"$$hashKey": "object:7708",
|
||||
"decimals": 2,
|
||||
"format": "short",
|
||||
"label": null,
|
||||
@ -3946,7 +3934,6 @@
|
||||
},
|
||||
"yaxes": [
|
||||
{
|
||||
"$$hashKey": "object:6856",
|
||||
"decimals": 2,
|
||||
"format": "Bps",
|
||||
"label": "",
|
||||
@ -3956,7 +3943,6 @@
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"$$hashKey": "object:6857",
|
||||
"decimals": 2,
|
||||
"format": "short",
|
||||
"label": "",
|
||||
@ -4385,8 +4371,6 @@
|
||||
"measurement": "net",
|
||||
"orderByTime": "ASC",
|
||||
"policy": "default",
|
||||
"query": "SELECT mean(\"packets_recv\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||
"rawQuery": false,
|
||||
"refId": "G",
|
||||
"resultFormat": "time_series",
|
||||
"select": [
|
||||
@ -4486,7 +4470,6 @@
|
||||
},
|
||||
"yaxes": [
|
||||
{
|
||||
"$$hashKey": "object:6174",
|
||||
"decimals": 2,
|
||||
"format": "short",
|
||||
"label": null,
|
||||
@ -4496,7 +4479,6 @@
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"$$hashKey": "object:6175",
|
||||
"decimals": 2,
|
||||
"format": "short",
|
||||
"label": null,
|
||||
@ -4749,5 +4731,5 @@
|
||||
"timezone": "",
|
||||
"title": "pfSense System Dashboard",
|
||||
"uid": "GflT1CsMz",
|
||||
"version": 138
|
||||
"version": 1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user