nix-config/hosts/grafana/dashboards/U6EKlHInz.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

386 lines
8.5 KiB
JSON
Raw Permalink Normal View History

{
2022-06-18 02:09:33 +02:00
"annotations": {
"list": [
{
"builtIn": 1,
2022-06-20 01:20:07 +02:00
"datasource": {
"type": "datasource",
"uid": "grafana"
},
2022-06-18 02:09:33 +02:00
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
2022-06-20 01:20:07 +02:00
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
2022-06-18 02:09:33 +02:00
"type": "dashboard"
}
]
},
2022-06-18 02:09:33 +02:00
"editable": true,
2022-06-20 01:20:07 +02:00
"fiscalYearStartMonth": 0,
2022-06-18 02:09:33 +02:00
"graphTooltip": 0,
"links": [],
2022-06-20 01:20:07 +02:00
"liveNow": false,
2022-06-18 02:09:33 +02:00
"panels": [
{
2022-06-20 01:20:07 +02:00
"datasource": {
"type": "influxdb",
"uid": "P79EA3E036FD9FF91"
},
2022-06-18 02:09:33 +02:00
"description": "",
"fieldConfig": {
2022-06-20 01:20:07 +02:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
2022-06-18 02:09:33 +02:00
"overrides": []
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 0
},
"id": 4,
"options": {
2022-06-20 01:20:07 +02:00
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
2022-06-18 02:09:33 +02:00
},
2022-06-20 01:20:07 +02:00
"pluginVersion": "8.5.6",
2022-06-18 02:09:33 +02:00
"targets": [
{
2022-06-18 02:09:33 +02:00
"alias": "$tag_host $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "nginx_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
2022-06-18 02:09:33 +02:00
"value"
],
2022-06-18 02:09:33 +02:00
"type": "field"
},
{
2022-06-18 02:09:33 +02:00
"params": [],
"type": "mean"
}
]
2022-06-18 02:09:33 +02:00
],
"tags": [
{
"key": "type",
"operator": "=",
"value": "nginx_connections"
}
]
}
2022-06-18 02:09:33 +02:00
],
"title": "Nginx connections",
2022-06-20 01:20:07 +02:00
"type": "timeseries"
2022-06-18 02:09:33 +02:00
},
{
2022-06-20 01:20:07 +02:00
"datasource": {
"type": "influxdb",
"uid": "P79EA3E036FD9FF91"
},
2022-06-18 02:09:33 +02:00
"description": "",
"fieldConfig": {
2022-06-20 01:20:07 +02:00
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "reqps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/ accepted$/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#8AB8FF",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/ handled$/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#96D98D",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/ failed$/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#F2495C",
"mode": "fixed"
}
}
]
}
]
2022-06-18 02:09:33 +02:00
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 9
},
"id": 2,
"options": {
2022-06-20 01:20:07 +02:00
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "bottom"
},
2022-06-20 01:20:07 +02:00
"tooltip": {
"mode": "multi",
"sort": "none"
2022-06-18 02:09:33 +02:00
}
2022-06-20 01:20:07 +02:00
},
"pluginVersion": "8.5.6",
2022-06-18 02:09:33 +02:00
"targets": [
{
"alias": "$tag_host connections $tag_type_instance",
2022-06-20 01:20:07 +02:00
"datasource": {
"type": "influxdb",
"uid": "P79EA3E036FD9FF91"
},
2022-06-18 02:09:33 +02:00
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "nginx_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
2022-06-18 02:09:33 +02:00
"value"
],
2022-06-18 02:09:33 +02:00
"type": "field"
},
{
2022-06-18 02:09:33 +02:00
"params": [],
"type": "mean"
},
{
"params": [
2022-06-20 01:20:07 +02:00
"10s"
],
2022-06-18 02:09:33 +02:00
"type": "non_negative_derivative"
2022-06-20 01:20:07 +02:00
},
{
"params": [
" / 10"
],
"type": "math"
}
]
2022-06-18 02:09:33 +02:00
],
"tags": [
{
"key": "type",
"operator": "=",
"value": "connections"
}
]
}
],
"title": "Nginx connections",
2022-06-20 01:20:07 +02:00
"type": "timeseries"
2022-06-18 02:09:33 +02:00
}
],
2022-06-20 01:20:07 +02:00
"schemaVersion": 36,
2022-06-18 02:09:33 +02:00
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
2022-06-20 01:20:07 +02:00
"from": "now-7d",
2022-06-18 02:09:33 +02:00
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Nginx",
"uid": "U6EKlHInz",
2022-06-20 01:20:07 +02:00
"version": 1,
"weekStart": ""
}