Skip to content

Commit

Permalink
feat: Add grafana dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Apr 29, 2024
1 parent 13d140e commit eed1d18
Show file tree
Hide file tree
Showing 3 changed files with 4,432 additions and 3,982 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"overrides": []
},
"gridPos": {
"h": 10,
"h": 8,
"w": 9,
"x": 0,
"y": 0
Expand Down Expand Up @@ -180,7 +180,7 @@
"overrides": []
},
"gridPos": {
"h": 10,
"h": 8,
"w": 15,
"x": 9,
"y": 0
Expand Down Expand Up @@ -283,10 +283,10 @@
"overrides": []
},
"gridPos": {
"h": 10,
"h": 8,
"w": 9,
"x": 0,
"y": 10
"y": 8
},
"id": 2,
"options": {
Expand Down Expand Up @@ -382,10 +382,10 @@
"overrides": []
},
"gridPos": {
"h": 10,
"h": 8,
"w": 15,
"x": 9,
"y": 10
"y": 8
},
"id": 3,
"options": {
Expand Down Expand Up @@ -424,6 +424,204 @@
],
"title": "Vector to Clickhouse",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 9,
"x": 0,
"y": 16
},
"id": 5,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "xatu_processor_items_queued",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "{{processor}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Xatu Queue",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": 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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 9,
"y": 16
},
"id": 6,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "rate(xatu_processor_items_failed_total[$__interval])",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "{{processor}}",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Xatu Failed export",
"type": "timeseries"
}
],
"refresh": "",
Expand All @@ -433,7 +631,7 @@
"list": []
},
"time": {
"from": "now-30m",
"from": "now-3h",
"to": "now"
},
"timepicker": {},
Expand Down
Loading

0 comments on commit eed1d18

Please sign in to comment.