Skip to content

Commit 6487615

Browse files
committed
Add grafana
1 parent 87a425e commit 6487615

File tree

1 file changed

+40
-84
lines changed

1 file changed

+40
-84
lines changed

grafana/provisioning/dashboards/aligned/aggregator_batcher.json

Lines changed: 40 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable": true,
1919
"fiscalYearStartMonth": 0,
2020
"graphTooltip": 0,
21-
"id": 4,
21+
"id": 2,
2222
"links": [],
2323
"liveNow": false,
2424
"panels": [
@@ -2120,6 +2120,7 @@
21202120
"type": "prometheus",
21212121
"uid": "prometheus"
21222122
},
2123+
"description": "",
21232124
"fieldConfig": {
21242125
"defaults": {
21252126
"color": {
@@ -3808,41 +3809,11 @@
38083809
"type": "prometheus",
38093810
"uid": "prometheus"
38103811
},
3812+
"description": "",
38113813
"fieldConfig": {
38123814
"defaults": {
38133815
"color": {
3814-
"mode": "palette-classic"
3815-
},
3816-
"custom": {
3817-
"axisCenteredZero": false,
3818-
"axisColorMode": "text",
3819-
"axisLabel": "",
3820-
"axisPlacement": "auto",
3821-
"barAlignment": 0,
3822-
"drawStyle": "line",
3823-
"fillOpacity": 0,
3824-
"gradientMode": "none",
3825-
"hideFrom": {
3826-
"legend": false,
3827-
"tooltip": false,
3828-
"viz": false
3829-
},
3830-
"insertNulls": false,
3831-
"lineInterpolation": "linear",
3832-
"lineWidth": 1,
3833-
"pointSize": 5,
3834-
"scaleDistribution": {
3835-
"type": "linear"
3836-
},
3837-
"showPoints": "auto",
3838-
"spanNulls": false,
3839-
"stacking": {
3840-
"group": "A",
3841-
"mode": "none"
3842-
},
3843-
"thresholdsStyle": {
3844-
"mode": "off"
3845-
}
3816+
"mode": "thresholds"
38463817
},
38473818
"mappings": [],
38483819
"thresholds": {
@@ -3867,74 +3838,59 @@
38673838
"x": 0,
38683839
"y": 76
38693840
},
3870-
"id": 24,
3841+
"id": 67,
38713842
"options": {
3872-
"legend": {
3873-
"calcs": [],
3874-
"displayMode": "list",
3875-
"placement": "right",
3876-
"showLegend": true
3843+
"colorMode": "value",
3844+
"graphMode": "area",
3845+
"justifyMode": "auto",
3846+
"orientation": "auto",
3847+
"reduceOptions": {
3848+
"calcs": [
3849+
"lastNotNull"
3850+
],
3851+
"fields": "",
3852+
"values": false
38773853
},
3878-
"tooltip": {
3879-
"mode": "single",
3880-
"sort": "none"
3881-
}
3854+
"textMode": "auto"
38823855
},
3856+
"pluginVersion": "10.1.10",
38833857
"targets": [
38843858
{
38853859
"datasource": {
38863860
"type": "prometheus",
38873861
"uid": "prometheus"
38883862
},
38893863
"disableTextWrap": false,
3890-
"editorMode": "code",
3891-
"expr": "floor(increase(user_errors_count{job=\"aligned-batcher\"}[10y]))",
3864+
"editorMode": "builder",
3865+
"expr": "message_handler_batch_lock_timeouts_count",
38923866
"fullMetaSearch": false,
38933867
"includeNullMetadata": true,
38943868
"instant": false,
3895-
"legendFormat": "{{error_type}}",
3869+
"legendFormat": "__auto",
38963870
"range": true,
3897-
"refId": "A",
3871+
"refId": "Batch lock timeout",
38983872
"useBackend": false
3899-
}
3900-
],
3901-
"title": "# User Errors",
3902-
"transformations": [
3903-
{
3904-
"id": "calculateField",
3905-
"options": {
3906-
"alias": "proof_rejected",
3907-
"mode": "reduceRow",
3908-
"reduce": {
3909-
"include": [
3910-
"rejected_proof"
3911-
],
3912-
"reducer": "sum"
3913-
}
3914-
}
39153873
},
39163874
{
3917-
"id": "organize",
3918-
"options": {
3919-
"excludeByName": {
3920-
"rejected_proof": true
3921-
},
3922-
"indexByName": {},
3923-
"renameByName": {}
3924-
}
3925-
},
3926-
{
3927-
"id": "calculateField",
3928-
"options": {
3929-
"alias": "total",
3930-
"mode": "reduceRow",
3931-
"reduce": {
3932-
"reducer": "sum"
3933-
}
3934-
}
3875+
"datasource": {
3876+
"type": "prometheus",
3877+
"uid": "prometheus"
3878+
},
3879+
"disableTextWrap": false,
3880+
"editorMode": "builder",
3881+
"expr": "message_handler_user_lock_timeouts_count",
3882+
"fullMetaSearch": false,
3883+
"hide": false,
3884+
"includeNullMetadata": true,
3885+
"instant": false,
3886+
"legendFormat": "__auto",
3887+
"range": true,
3888+
"refId": "User lock timeout",
3889+
"useBackend": false
39353890
}
39363891
],
3937-
"type": "timeseries"
3892+
"title": "Message Handler - (Batch | User) Lock Timeout",
3893+
"type": "stat"
39383894
},
39393895
{
39403896
"datasource": {
@@ -4398,6 +4354,6 @@
43984354
"timezone": "browser",
43994355
"title": "System Data",
44004356
"uid": "aggregator",
4401-
"version": 18,
4357+
"version": 3,
44024358
"weekStart": ""
4403-
}
4359+
}

0 commit comments

Comments
 (0)