Files
securityonion/salt/grafana/panels/stenographer_packet_loss_stat.json.jinja
2021-07-20 09:45:28 -04:00

115 lines
2.2 KiB
Django/Jinja

{
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-green",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1
},
{
"color": "dark-red",
"value": 5
}
]
},
"mappings": [
{
"op": "=",
"text": "N/A",
"value": "null",
"$$hashKey": "object:1120",
"id": 0,
"type": 1
}
],
"unit": "percent",
"decimals": 2,
"color": {
"mode": "thresholds"
}
},
"overrides": []
},
"gridPos": {
"x": {{ PANELS.stenographer_packet_loss_stat.gridPos.x }},
"y": {{ PANELS.stenographer_packet_loss_stat.gridPos.y }},
"w": {{ PANELS.stenographer_packet_loss_stat.gridPos.w }},
"h": {{ PANELS.stenographer_packet_loss_stat.gridPos.h }}
},
"id": 22,
"links": [],
"maxDataPoints": 100,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "stenodrop",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"drop"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "$servername"
}
]
}
],
"title": "Stenographer Packet Loss",
"type": "stat",
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "auto",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
},
"cacheTimeout": null,
"interval": null,
"pluginVersion": "7.5.4"
}