You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR:
* Adds broker DB data to grafana and a sample dashboard
* Fixes a number of issues with the sccache builds for
broker/exec_agent/rest_api
* Improves rebuild times of docker containers - NOTE this still is not
as fast as I would like and I might add `./target` cache mounts later in
addition to sccache or just switch to directory cache mounts since
sccache might not be ideal for docker builds.
closes BM-229
"description": "Batch and Order status monitoring",
19
+
"editable": true,
20
+
"fiscalYearStartMonth": 0,
21
+
"graphTooltip": 0,
22
+
"id": 2,
23
+
"links": [],
24
+
"panels": [
25
+
{
26
+
"datasource": {
27
+
"type": "frser-sqlite-datasource",
28
+
"uid": "fe164ybfwsdmod"
29
+
},
30
+
"fieldConfig": {
31
+
"defaults": {
32
+
"color": {
33
+
"mode": "thresholds"
34
+
},
35
+
"custom": {
36
+
"align": "auto",
37
+
"cellOptions": {
38
+
"type": "auto"
39
+
},
40
+
"inspect": false
41
+
},
42
+
"mappings": [],
43
+
"thresholds": {
44
+
"mode": "absolute",
45
+
"steps": [
46
+
{
47
+
"color": "green",
48
+
"value": null
49
+
},
50
+
{
51
+
"color": "red",
52
+
"value": 80
53
+
}
54
+
]
55
+
}
56
+
},
57
+
"overrides": []
58
+
},
59
+
"gridPos": {
60
+
"h": 7,
61
+
"w": 24,
62
+
"x": 0,
63
+
"y": 0
64
+
},
65
+
"id": 1,
66
+
"options": {
67
+
"cellHeight": "sm",
68
+
"footer": {
69
+
"countRows": false,
70
+
"fields": "",
71
+
"reducer": [
72
+
"sum"
73
+
],
74
+
"show": false
75
+
},
76
+
"showHeader": true
77
+
},
78
+
"pluginVersion": "11.0.0",
79
+
"targets": [
80
+
{
81
+
"datasource": {
82
+
"type": "frser-sqlite-datasource",
83
+
"uid": "fe164ybfwsdmod"
84
+
},
85
+
"queryText": "SELECT\n id,\n data->>'status' as status,\n data->>'target_block' as target_lockin_block,\n data->>'expire_block' as expire_block,\n data->>'error_msg' as error_msg\nFROM orders;",
86
+
"queryType": "table",
87
+
"rawQueryText": "SELECT\n id,\n data->>'status' as status,\n data->>'target_block' as target_lockin_block,\n data->>'expire_block' as expire_block,\n data->>'error_msg' as error_msg\nFROM orders;",
88
+
"refId": "A",
89
+
"timeColumns": [
90
+
"time",
91
+
"ts"
92
+
]
93
+
}
94
+
],
95
+
"title": "Panel Title",
96
+
"type": "table"
97
+
},
98
+
{
99
+
"datasource": {
100
+
"type": "frser-sqlite-datasource",
101
+
"uid": "fe164ybfwsdmod"
102
+
},
103
+
"fieldConfig": {
104
+
"defaults": {
105
+
"color": {
106
+
"mode": "thresholds"
107
+
},
108
+
"custom": {
109
+
"align": "auto",
110
+
"cellOptions": {
111
+
"type": "auto"
112
+
},
113
+
"inspect": false
114
+
},
115
+
"mappings": [],
116
+
"thresholds": {
117
+
"mode": "absolute",
118
+
"steps": [
119
+
{
120
+
"color": "green",
121
+
"value": null
122
+
},
123
+
{
124
+
"color": "red",
125
+
"value": 80
126
+
}
127
+
]
128
+
}
129
+
},
130
+
"overrides": []
131
+
},
132
+
"gridPos": {
133
+
"h": 7,
134
+
"w": 24,
135
+
"x": 0,
136
+
"y": 7
137
+
},
138
+
"id": 2,
139
+
"options": {
140
+
"cellHeight": "sm",
141
+
"footer": {
142
+
"countRows": false,
143
+
"fields": "",
144
+
"reducer": [
145
+
"sum"
146
+
],
147
+
"show": false
148
+
},
149
+
"showHeader": true
150
+
},
151
+
"pluginVersion": "11.0.0",
152
+
"targets": [
153
+
{
154
+
"datasource": {
155
+
"type": "frser-sqlite-datasource",
156
+
"uid": "fe164ybfwsdmod"
157
+
},
158
+
"queryText": "SELECT\n id,\n data->>'status' as status,\n json_array_length(data->'orders') as order_count,\n data->>'fees' as fees_wei,\n data->>'orders', data->>'error_msg' as error_msg\nFROM batches;",
159
+
"queryType": "table",
160
+
"rawQueryText": "SELECT\n id,\n data->>'status' as status,\n json_array_length(data->'orders') as order_count,\n data->>'fees' as fees_wei,\n data->>'orders', data->>'error_msg' as error_msg\nFROM batches;",
0 commit comments