Adding Elasticsearch graphs.

This commit is contained in:
Samuel Clay 2024-12-09 21:07:33 -08:00
parent 8cd499cd82
commit 284c53e09a

View file

@ -1155,6 +1155,12 @@
], ],
"statsFields": [ "statsFields": [
"sum(quantity)" "sum(quantity)"
],
"statsOutcome": [
"accepted"
],
"statsReason": [
""
] ]
}, },
{ {
@ -1174,6 +1180,12 @@
], ],
"statsFields": [ "statsFields": [
"sum(quantity)" "sum(quantity)"
],
"statsOutcome": [
"accepted"
],
"statsReason": [
""
] ]
}, },
{ {
@ -1193,6 +1205,12 @@
], ],
"statsFields": [ "statsFields": [
"sum(quantity)" "sum(quantity)"
],
"statsOutcome": [
"accepted"
],
"statsReason": [
""
] ]
}, },
{ {
@ -1212,6 +1230,12 @@
], ],
"statsFields": [ "statsFields": [
"sum(quantity)" "sum(quantity)"
],
"statsOutcome": [
"accepted"
],
"statsReason": [
""
] ]
} }
], ],
@ -1361,6 +1385,7 @@
}, },
"environments": [], "environments": [],
"issuesLimit": 5, "issuesLimit": 5,
"issuesQuery": "is:unresolved ",
"issuesSort": "date", "issuesSort": "date",
"projectIds": [ "projectIds": [
"1" "1"
@ -1751,6 +1776,7 @@
}, },
"environments": [], "environments": [],
"issuesLimit": 5, "issuesLimit": 5,
"issuesQuery": "is:unresolved ",
"issuesSort": "date", "issuesSort": "date",
"projectIds": [ "projectIds": [
"2" "2"
@ -5378,7 +5404,7 @@
"uid": "U1-fPO3Mk" "uid": "U1-fPO3Mk"
}, },
"exemplar": true, "exemplar": true,
"expr": "rate(redis_commands_total{instance='redis-sessions-exporter'}[5m])", "expr": "rate(redis_commands_total{instance='redis-session-exporter'}[5m])",
"interval": "", "interval": "",
"legendFormat": "{{cmd}}", "legendFormat": "{{cmd}}",
"queryType": "randomWalk", "queryType": "randomWalk",
@ -5511,7 +5537,7 @@
"uid": "U1-fPO3Mk" "uid": "U1-fPO3Mk"
}, },
"exemplar": true, "exemplar": true,
"expr": "(rate(redis_commands_duration_seconds_total{instance=\"redis-sessions-exporter\"}[5m]) / on (instance) group_left() rate(redis_commands_processed_total[5m]) )", "expr": "(rate(redis_commands_duration_seconds_total{instance=\"redis-session-exporter\"}[5m]) / on (instance) group_left() rate(redis_commands_processed_total[5m]) )",
"interval": "", "interval": "",
"intervalFactor": 4, "intervalFactor": 4,
"legendFormat": "{{cmd}}", "legendFormat": "{{cmd}}",
@ -6060,6 +6086,360 @@
"title": "Elasticsearch # Docs per day", "title": "Elasticsearch # Docs per day",
"type": "timeseries" "type": "timeseries"
}, },
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 230
},
"id": 146,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"editorMode": "code",
"expr": "rate(elasticsearch_indices_indexing_index_time_seconds_total{}[$__rate_interval])",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "A"
}
],
"title": "Elasticsearch Index Time",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbits"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 230
},
"id": 144,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"editorMode": "code",
"expr": "elasticsearch_indices_store_size_bytes",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "A"
}
],
"title": "Elasticsearch store size",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 238
},
"id": 142,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"editorMode": "code",
"expr": "rate(elasticsearch_indices_search_fetch_total[$__rate_interval])",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "A"
}
],
"title": "Elasticsearch indices search fetch rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 238
},
"id": 140,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "U1-fPO3Mk"
},
"editorMode": "code",
"expr": "rate(elasticsearch_indices_translog_operations[$__rate_interval])",
"legendFormat": "{{ instance }}",
"range": true,
"refId": "A"
}
],
"title": "Elasticsearch indices translog operations rate",
"type": "timeseries"
},
{ {
"collapsed": false, "collapsed": false,
"datasource": { "datasource": {
@ -6070,7 +6450,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 230 "y": 246
}, },
"id": 16, "id": 16,
"panels": [], "panels": [],
@ -6170,7 +6550,7 @@
"h": 8, "h": 8,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 231 "y": 247
}, },
"id": 35, "id": 35,
"options": { "options": {
@ -6261,7 +6641,7 @@
"h": 8, "h": 8,
"w": 8, "w": 8,
"x": 8, "x": 8,
"y": 231 "y": 247
}, },
"id": 18, "id": 18,
"options": { "options": {
@ -6352,7 +6732,7 @@
"h": 8, "h": 8,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 231 "y": 247
}, },
"id": 8, "id": 8,
"options": { "options": {
@ -6443,7 +6823,7 @@
"h": 8, "h": 8,
"w": 8, "w": 8,
"x": 0, "x": 0,
"y": 239 "y": 255
}, },
"id": 14, "id": 14,
"options": { "options": {
@ -6534,7 +6914,7 @@
"h": 8, "h": 8,
"w": 8, "w": 8,
"x": 8, "x": 8,
"y": 239 "y": 255
}, },
"id": 24, "id": 24,
"options": { "options": {
@ -6625,7 +7005,7 @@
"h": 8, "h": 8,
"w": 8, "w": 8,
"x": 16, "x": 16,
"y": 239 "y": 255
}, },
"id": 134, "id": 134,
"options": { "options": {
@ -6665,7 +7045,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 247 "y": 263
}, },
"id": 40, "id": 40,
"panels": [ "panels": [
@ -6945,13 +7325,13 @@
"list": [] "list": []
}, },
"time": { "time": {
"from": "now-2d", "from": "now-7d",
"to": "now" "to": "now"
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "NewsBlur", "title": "NewsBlur",
"uid": "T86VjXrG2", "uid": "T86VjXrG2",
"version": 120, "version": 127,
"weekStart": "" "weekStart": ""
} }