@cloudcare/guance-front-tools 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/guance-dashboard.json
CHANGED
|
@@ -1,61 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "
|
|
2
|
+
"title": "BP网关游戏进厅监控",
|
|
3
3
|
"dashboardExtend": {
|
|
4
|
-
"groupUnfoldStatus": {
|
|
4
|
+
"groupUnfoldStatus": {
|
|
5
|
+
"BP整体游戏进厅情况": true,
|
|
6
|
+
"Poker": true,
|
|
7
|
+
"SLOT GAME": true,
|
|
8
|
+
"Specialty Game": false,
|
|
9
|
+
"EBingo": true,
|
|
10
|
+
"Casino": true
|
|
11
|
+
}
|
|
5
12
|
},
|
|
6
13
|
"main": {
|
|
7
14
|
"vars": [
|
|
8
15
|
{
|
|
9
|
-
"type": "
|
|
10
|
-
"datasource": "
|
|
11
|
-
"name": "
|
|
16
|
+
"type": "CUSTOM_LIST",
|
|
17
|
+
"datasource": "custom",
|
|
18
|
+
"name": "time_range",
|
|
12
19
|
"seq": 0,
|
|
13
|
-
"hide": 1,
|
|
14
|
-
"multiple": false,
|
|
15
|
-
"includeStar": true,
|
|
16
|
-
"valueSort": "desc",
|
|
17
|
-
"code": "topic_name",
|
|
18
|
-
"definition": {
|
|
19
|
-
"value": "label_values(kafka_consumergroup_lag, topic)",
|
|
20
|
-
"defaultVal": {
|
|
21
|
-
"label": "all values",
|
|
22
|
-
"value": "__all__"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"type": "PROMQL_QUERY",
|
|
28
|
-
"datasource": "dataflux",
|
|
29
|
-
"name": "Consumer Group",
|
|
30
|
-
"seq": 1,
|
|
31
|
-
"hide": 1,
|
|
32
|
-
"multiple": false,
|
|
33
|
-
"includeStar": true,
|
|
34
|
-
"valueSort": "desc",
|
|
35
|
-
"code": "group_id",
|
|
36
|
-
"definition": {
|
|
37
|
-
"value": "label_values(kafka_consumergroup_lag{topic=\"#{topic_name}\"}, consumergroup)",
|
|
38
|
-
"defaultVal": {
|
|
39
|
-
"label": "*",
|
|
40
|
-
"value": "*"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "PROMQL_QUERY",
|
|
46
|
-
"datasource": "dataflux",
|
|
47
|
-
"name": "namespace",
|
|
48
|
-
"seq": 2,
|
|
49
20
|
"hide": 0,
|
|
50
21
|
"multiple": false,
|
|
51
22
|
"includeStar": false,
|
|
52
23
|
"valueSort": "desc",
|
|
53
|
-
"code": "
|
|
24
|
+
"code": "time_range",
|
|
54
25
|
"definition": {
|
|
55
|
-
"value": "
|
|
26
|
+
"value": "1m,5m,10m,30m,60m",
|
|
56
27
|
"defaultVal": {
|
|
57
|
-
"label": "
|
|
58
|
-
"value": "
|
|
28
|
+
"label": "5m",
|
|
29
|
+
"value": "5m"
|
|
59
30
|
}
|
|
60
31
|
}
|
|
61
32
|
}
|
|
@@ -65,21 +36,23 @@
|
|
|
65
36
|
"extend": {
|
|
66
37
|
"settings": {}
|
|
67
38
|
},
|
|
68
|
-
"group": {
|
|
39
|
+
"group": {
|
|
40
|
+
"name": "BP整体游戏进厅情况"
|
|
41
|
+
},
|
|
69
42
|
"pos": {
|
|
70
43
|
"x": 0,
|
|
71
44
|
"y": 2,
|
|
72
|
-
"h":
|
|
73
|
-
"w":
|
|
45
|
+
"h": 24.8,
|
|
46
|
+
"w": 24
|
|
74
47
|
},
|
|
75
|
-
"name": "
|
|
48
|
+
"name": "BP总请求进厅成功数据(分厅) (#{time_range})",
|
|
76
49
|
"queries": [
|
|
77
50
|
{
|
|
78
51
|
"datasource": "dataflux",
|
|
79
52
|
"qtype": "promql",
|
|
80
53
|
"type": "sequence",
|
|
81
54
|
"query": {
|
|
82
|
-
"q": "
|
|
55
|
+
"q": "label_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nsum(increase(bp_in_game_total{cluster=\"prod-sg-eks\",application=\"c66-gateway-api\", success=\"1\",client=\"C66H501\"}[#{time_range}])) by (success,channel,client),\r\n\"channel\", \"JILI\", \"channel\", \"C66161\"\r\n),\r\n\"channel\", \"CQ9\", \"channel\", \"C66073\"\r\n),\r\n\"channel\", \"HBN\", \"channel\", \"C66099\"\r\n),\r\n\"channel\", \"PG\", \"channel\", \"C66100\"\r\n),\r\n\"channel\", \"RTG\", \"channel\", \"C66105\"\r\n),\r\n\"channel\", \"JDB\", \"channel\", \"C66104\"\r\n),\r\n\"channel\", \"REDTIGER\", \"channel\", \"C66107\"\r\n),\r\n\"channel\", \"NETNET\", \"channel\", \"C66106\"\r\n),\r\n\"channel\", \"EVOLUTION\", \"channel\", \"C66108\"\r\n),\r\n\"channel\", \"PLAYSTAR\", \"channel\", \"C66141\"\r\n),\r\n\"channel\", \"COLORGAME\", \"channel\", \"C66172\"\r\n),\r\n\"channel\", \"FACHAI\", \"channel\", \"C66176\"\r\n),\r\n\"channel\", \"EEZE\", \"channel\", \"C66177\"\r\n),\r\n\"channel\", \"TIPTOP\", \"channel\", \"C66175\"\r\n),\r\n\"channel\", \"PPLAY\", \"channel\", \"C66199\"\r\n),\r\n\"channel\", \"PT\", \"channel\", \"C66212\"\r\n),\r\n\"channel\", \"BINGO\", \"channel\", \"C66079\"\r\n),\r\n\"channel\", \"PDB\", \"channel\", \"C66186\"\r\n),\r\n\"channel\", \"SHABA_V2\", \"channel\", \"C66131\"\r\n),\r\n\"channel\", \"SIPGV\", \"channel\", \"C66506\"\r\n),\r\n\"channel\", \"PULAPUTI\", \"channel\", \"C66184\"\r\n),\r\n\"channel\", \"SIPYB\", \"channel\", \"C66505\"\r\n),\r\n\"channel\", \"TPG\", \"channel\", \"C66103\"\r\n),\r\n\"channel\", \"SIPKM\", \"channel\", \"C66502\"\r\n),\r\n\"channel\", \"EBINGO\", \"channel\", \"C66080\"\r\n),\r\n\"channel\", \"SIPYGR\", \"channel\", \"C66503\"\r\n),\r\n\"channel\", \"SIP5G\", \"channel\", \"C66508\"\r\n),\r\n\"channel\", \"GINTO\", \"channel\", \"C66178\"\r\n),\r\n\"channel\", \"GLXS\", \"channel\", \"C66196\"\r\n),\r\n\"channel\", \"NLC\", \"channel\", \"C66192\"\r\n),\r\n\"channel\", \"HACKSAW\", \"channel\", \"C66207\"\r\n),\r\n\"channel\", \"OSM\", \"channel\", \"C66180\"\r\n),\r\n\"channel\", \"SPRIBE\", \"channel\", \"C66202\"\r\n),\r\n\"channel\", \"BTG\", \"channel\", \"C66188\"\r\n),\r\n\"channel\", \"AQUA\", \"channel\", \"C66183\"\r\n),\r\n\"channel\", \"SABA\", \"channel\", \"C66031\"\r\n),\r\n\"channel\", \"GEMM\", \"channel\", \"C66220\"\r\n),\r\n\"channel\", \"BALL RACE\", \"channel\", \"C66187\"\r\n),\r\n\"channel\", \"GEMH \", \"channel\", \"C66221\"\r\n),\r\n\"channel\", \"GEML\", \"channel\", \"C66222\"\r\n),\r\n\"channel\", \"GEMMG\", \"channel\", \"C66223\"\r\n)",
|
|
83
56
|
"type": "promql",
|
|
84
57
|
"code": "A",
|
|
85
58
|
"promqlCode": 1
|
|
@@ -92,21 +65,81 @@
|
|
|
92
65
|
"extend": {
|
|
93
66
|
"settings": {}
|
|
94
67
|
},
|
|
95
|
-
"group": {
|
|
68
|
+
"group": {
|
|
69
|
+
"name": "BP整体游戏进厅情况"
|
|
70
|
+
},
|
|
96
71
|
"pos": {
|
|
97
|
-
"x":
|
|
98
|
-
"y":
|
|
99
|
-
"h":
|
|
100
|
-
"w":
|
|
72
|
+
"x": 0,
|
|
73
|
+
"y": 26.7,
|
|
74
|
+
"h": 26.7,
|
|
75
|
+
"w": 24
|
|
76
|
+
},
|
|
77
|
+
"name": "BP总请求进厅失败数据(分厅) (#{time_range})",
|
|
78
|
+
"queries": [
|
|
79
|
+
{
|
|
80
|
+
"datasource": "dataflux",
|
|
81
|
+
"qtype": "promql",
|
|
82
|
+
"type": "sequence",
|
|
83
|
+
"query": {
|
|
84
|
+
"q": "label_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nlabel_replace(\r\nsum(increase(bp_in_game_total{cluster=\"prod-sg-eks\",application=\"c66-gateway-api\", success=\"0\",client=\"C66H501\"}[#{time_range}])) by (success,channel,client),\r\n\"channel\", \"JILI\", \"channel\", \"C66161\"\r\n),\r\n\"channel\", \"CQ9\", \"channel\", \"C66073\"\r\n),\r\n\"channel\", \"HBN\", \"channel\", \"C66099\"\r\n),\r\n\"channel\", \"PG\", \"channel\", \"C66100\"\r\n),\r\n\"channel\", \"RTG\", \"channel\", \"C66105\"\r\n),\r\n\"channel\", \"JDB\", \"channel\", \"C66104\"\r\n),\r\n\"channel\", \"REDTIGER\", \"channel\", \"C66107\"\r\n),\r\n\"channel\", \"NETNET\", \"channel\", \"C66106\"\r\n),\r\n\"channel\", \"EVOLUTION\", \"channel\", \"C66108\"\r\n),\r\n\"channel\", \"PLAYSTAR\", \"channel\", \"C66141\"\r\n),\r\n\"channel\", \"COLORGAME\", \"channel\", \"C66172\"\r\n),\r\n\"channel\", \"FACHAI\", \"channel\", \"C66176\"\r\n),\r\n\"channel\", \"EEZE\", \"channel\", \"C66177\"\r\n),\r\n\"channel\", \"TIPTOP\", \"channel\", \"C66175\"\r\n),\r\n\"channel\", \"PPLAY\", \"channel\", \"C66199\"\r\n),\r\n\"channel\", \"PT\", \"channel\", \"C66212\"\r\n),\r\n\"channel\", \"BINGO\", \"channel\", \"C66079\"\r\n),\r\n\"channel\", \"PDB\", \"channel\", \"C66186\"\r\n),\r\n\"channel\", \"SHABA_V2\", \"channel\", \"C66131\"\r\n),\r\n\"channel\", \"SIPGV\", \"channel\", \"C66506\"\r\n),\r\n\"channel\", \"PULAPUTI\", \"channel\", \"C66184\"\r\n),\r\n\"channel\", \"SIPYB\", \"channel\", \"C66505\"\r\n),\r\n\"channel\", \"TPG\", \"channel\", \"C66103\"\r\n),\r\n\"channel\", \"SIPKM\", \"channel\", \"C66502\"\r\n),\r\n\"channel\", \"EBINGO\", \"channel\", \"C66080\"\r\n),\r\n\"channel\", \"SIPYGR\", \"channel\", \"C66503\"\r\n),\r\n\"channel\", \"SIP5G\", \"channel\", \"C66508\"\r\n),\r\n\"channel\", \"GINTO\", \"channel\", \"C66178\"\r\n),\r\n\"channel\", \"GLXS\", \"channel\", \"C66196\"\r\n),\r\n\"channel\", \"NLC\", \"channel\", \"C66192\"\r\n),\r\n\"channel\", \"HACKSAW\", \"channel\", \"C66207\"\r\n),\r\n\"channel\", \"OSM\", \"channel\", \"C66180\"\r\n),\r\n\"channel\", \"SPRIBE\", \"channel\", \"C66202\"\r\n),\r\n\"channel\", \"BTG\", \"channel\", \"C66188\"\r\n),\r\n\"channel\", \"AQUA\", \"channel\", \"C66183\"\r\n),\r\n\"channel\", \"SABA\", \"channel\", \"C66031\"\r\n),\r\n\"channel\", \"GEMM\", \"channel\", \"C66220\"\r\n),\r\n\"channel\", \"BALL RACE\", \"channel\", \"C66187\"\r\n),\r\n\"channel\", \"GEMH \", \"channel\", \"C66221\"\r\n),\r\n\"channel\", \"GEML\", \"channel\", \"C66222\"\r\n),\r\n\"channel\", \"GEMMG\", \"channel\", \"C66223\"\r\n)",
|
|
85
|
+
"type": "promql",
|
|
86
|
+
"code": "A",
|
|
87
|
+
"promqlCode": 1
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"type": "sequence"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"extend": {
|
|
95
|
+
"settings": {}
|
|
96
|
+
},
|
|
97
|
+
"group": {
|
|
98
|
+
"name": "BP整体游戏进厅情况"
|
|
99
|
+
},
|
|
100
|
+
"pos": {
|
|
101
|
+
"x": 0,
|
|
102
|
+
"y": 53.3,
|
|
103
|
+
"h": 15.3,
|
|
104
|
+
"w": 24
|
|
105
|
+
},
|
|
106
|
+
"name": "BP总进厅数据(总和)(#{time_range})",
|
|
107
|
+
"queries": [
|
|
108
|
+
{
|
|
109
|
+
"datasource": "dataflux",
|
|
110
|
+
"qtype": "promql",
|
|
111
|
+
"type": "sequence",
|
|
112
|
+
"query": {
|
|
113
|
+
"q": "sum(increase(bp_in_game_total{cluster=\"prod-sg-eks\",application=\"c66-gateway-api\", success=\"1\"}[#{time_range}]))",
|
|
114
|
+
"type": "promql",
|
|
115
|
+
"code": "A",
|
|
116
|
+
"promqlCode": 1
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"type": "sequence"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"extend": {
|
|
124
|
+
"settings": {}
|
|
125
|
+
},
|
|
126
|
+
"group": {
|
|
127
|
+
"name": "BP整体游戏进厅情况"
|
|
128
|
+
},
|
|
129
|
+
"pos": {
|
|
130
|
+
"x": 0,
|
|
131
|
+
"y": 68.5,
|
|
132
|
+
"h": 15.3,
|
|
133
|
+
"w": 24
|
|
101
134
|
},
|
|
102
|
-
"name": "
|
|
135
|
+
"name": "游戏域回调量监控",
|
|
103
136
|
"queries": [
|
|
104
137
|
{
|
|
105
138
|
"datasource": "dataflux",
|
|
106
139
|
"qtype": "promql",
|
|
107
140
|
"type": "sequence",
|
|
108
141
|
"query": {
|
|
109
|
-
"q": "sum
|
|
142
|
+
"q": "sum(cloudflare_path_requests_total) by (path)",
|
|
110
143
|
"type": "promql",
|
|
111
144
|
"code": "A",
|
|
112
145
|
"promqlCode": 1
|
|
@@ -119,21 +152,23 @@
|
|
|
119
152
|
"extend": {
|
|
120
153
|
"settings": {}
|
|
121
154
|
},
|
|
122
|
-
"group": {
|
|
155
|
+
"group": {
|
|
156
|
+
"name": "BP整体游戏进厅情况"
|
|
157
|
+
},
|
|
123
158
|
"pos": {
|
|
124
159
|
"x": 0,
|
|
125
|
-
"y":
|
|
126
|
-
"h":
|
|
127
|
-
"w":
|
|
160
|
+
"y": 83.7,
|
|
161
|
+
"h": 13.4,
|
|
162
|
+
"w": 14
|
|
128
163
|
},
|
|
129
|
-
"name": "
|
|
164
|
+
"name": "BP产品#{time_range}游戏厅内在线活跃人数趋势<Game online user trends>",
|
|
130
165
|
"queries": [
|
|
131
166
|
{
|
|
132
167
|
"datasource": "dataflux",
|
|
133
168
|
"qtype": "promql",
|
|
134
169
|
"type": "sequence",
|
|
135
170
|
"query": {
|
|
136
|
-
"q": "
|
|
171
|
+
"q": "sum(max(game_active_user_amount{cluster=\"prod-sg-eks\",product=\"BP\"}) by (channel)) by (channel)",
|
|
137
172
|
"type": "promql",
|
|
138
173
|
"code": "A",
|
|
139
174
|
"promqlCode": 1
|
|
@@ -146,21 +181,23 @@
|
|
|
146
181
|
"extend": {
|
|
147
182
|
"settings": {}
|
|
148
183
|
},
|
|
149
|
-
"group": {
|
|
184
|
+
"group": {
|
|
185
|
+
"name": "Poker"
|
|
186
|
+
},
|
|
150
187
|
"pos": {
|
|
151
|
-
"x":
|
|
152
|
-
"y":
|
|
153
|
-
"h":
|
|
154
|
-
"w":
|
|
188
|
+
"x": 0,
|
|
189
|
+
"y": 2,
|
|
190
|
+
"h": 17.2,
|
|
191
|
+
"w": 14
|
|
155
192
|
},
|
|
156
|
-
"name": "
|
|
193
|
+
"name": "Gamezone(C66175)进厅 (#{time_range})",
|
|
157
194
|
"queries": [
|
|
158
195
|
{
|
|
159
196
|
"datasource": "dataflux",
|
|
160
197
|
"qtype": "promql",
|
|
161
198
|
"type": "sequence",
|
|
162
199
|
"query": {
|
|
163
|
-
"q": "sum
|
|
200
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", channel=\"C66175\",client!~\"C66H501-null|C66H501\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
164
201
|
"type": "promql",
|
|
165
202
|
"code": "A",
|
|
166
203
|
"promqlCode": 1
|
|
@@ -171,7 +208,7 @@
|
|
|
171
208
|
"qtype": "promql",
|
|
172
209
|
"type": "sequence",
|
|
173
210
|
"query": {
|
|
174
|
-
"q": "sum
|
|
211
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", channel=\"C66175\",client!~\"C66H501-null|C66H501\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
175
212
|
"type": "promql",
|
|
176
213
|
"code": "B",
|
|
177
214
|
"promqlCode": 2
|
|
@@ -184,21 +221,23 @@
|
|
|
184
221
|
"extend": {
|
|
185
222
|
"settings": {}
|
|
186
223
|
},
|
|
187
|
-
"group": {
|
|
224
|
+
"group": {
|
|
225
|
+
"name": "Poker"
|
|
226
|
+
},
|
|
188
227
|
"pos": {
|
|
189
|
-
"x":
|
|
190
|
-
"y":
|
|
191
|
-
"h":
|
|
192
|
-
"w":
|
|
228
|
+
"x": 0,
|
|
229
|
+
"y": 19.1,
|
|
230
|
+
"h": 13.4,
|
|
231
|
+
"w": 14
|
|
193
232
|
},
|
|
194
|
-
"name": "
|
|
233
|
+
"name": "Gamezone(C66175)进厅失败统计 (#{time_range})",
|
|
195
234
|
"queries": [
|
|
196
235
|
{
|
|
197
236
|
"datasource": "dataflux",
|
|
198
237
|
"qtype": "promql",
|
|
199
238
|
"type": "sequence",
|
|
200
239
|
"query": {
|
|
201
|
-
"q": "
|
|
240
|
+
"q": "game_successInGame_total{product=\"BP\", success=\"0\"}",
|
|
202
241
|
"type": "promql",
|
|
203
242
|
"code": "A",
|
|
204
243
|
"promqlCode": 1
|
|
@@ -211,21 +250,52 @@
|
|
|
211
250
|
"extend": {
|
|
212
251
|
"settings": {}
|
|
213
252
|
},
|
|
214
|
-
"group": {
|
|
253
|
+
"group": {
|
|
254
|
+
"name": "SLOT GAME"
|
|
255
|
+
},
|
|
215
256
|
"pos": {
|
|
216
257
|
"x": 0,
|
|
217
|
-
"y":
|
|
218
|
-
"h":
|
|
219
|
-
"w":
|
|
258
|
+
"y": 2,
|
|
259
|
+
"h": 19.1,
|
|
260
|
+
"w": 12
|
|
261
|
+
},
|
|
262
|
+
"name": "JILI进厅(C66161)(#{time_range})",
|
|
263
|
+
"queries": [
|
|
264
|
+
{
|
|
265
|
+
"datasource": "dataflux",
|
|
266
|
+
"qtype": "promql",
|
|
267
|
+
"type": "sequence",
|
|
268
|
+
"query": {
|
|
269
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66161\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
270
|
+
"type": "promql",
|
|
271
|
+
"code": "A",
|
|
272
|
+
"promqlCode": 1
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"type": "sequence"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"extend": {
|
|
280
|
+
"settings": {}
|
|
281
|
+
},
|
|
282
|
+
"group": {
|
|
283
|
+
"name": "SLOT GAME"
|
|
284
|
+
},
|
|
285
|
+
"pos": {
|
|
286
|
+
"x": 12,
|
|
287
|
+
"y": 2,
|
|
288
|
+
"h": 19.1,
|
|
289
|
+
"w": 12
|
|
220
290
|
},
|
|
221
|
-
"name": "
|
|
291
|
+
"name": "PG(C66100)进厅 (#{time_range})",
|
|
222
292
|
"queries": [
|
|
223
293
|
{
|
|
224
294
|
"datasource": "dataflux",
|
|
225
295
|
"qtype": "promql",
|
|
226
296
|
"type": "sequence",
|
|
227
297
|
"query": {
|
|
228
|
-
"q": "sum
|
|
298
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66100\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
229
299
|
"type": "promql",
|
|
230
300
|
"code": "A",
|
|
231
301
|
"promqlCode": 1
|
|
@@ -238,21 +308,23 @@
|
|
|
238
308
|
"extend": {
|
|
239
309
|
"settings": {}
|
|
240
310
|
},
|
|
241
|
-
"group": {
|
|
311
|
+
"group": {
|
|
312
|
+
"name": "SLOT GAME"
|
|
313
|
+
},
|
|
242
314
|
"pos": {
|
|
243
|
-
"x":
|
|
244
|
-
"y":
|
|
245
|
-
"h":
|
|
246
|
-
"w":
|
|
315
|
+
"x": 0,
|
|
316
|
+
"y": 21,
|
|
317
|
+
"h": 19.1,
|
|
318
|
+
"w": 12
|
|
247
319
|
},
|
|
248
|
-
"name": "
|
|
320
|
+
"name": "FACHAI进厅(C66176)(#{time_range})",
|
|
249
321
|
"queries": [
|
|
250
322
|
{
|
|
251
323
|
"datasource": "dataflux",
|
|
252
324
|
"qtype": "promql",
|
|
253
325
|
"type": "sequence",
|
|
254
326
|
"query": {
|
|
255
|
-
"q": "sum
|
|
327
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66176\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
256
328
|
"type": "promql",
|
|
257
329
|
"code": "A",
|
|
258
330
|
"promqlCode": 1
|
|
@@ -265,21 +337,23 @@
|
|
|
265
337
|
"extend": {
|
|
266
338
|
"settings": {}
|
|
267
339
|
},
|
|
268
|
-
"group": {
|
|
340
|
+
"group": {
|
|
341
|
+
"name": "SLOT GAME"
|
|
342
|
+
},
|
|
269
343
|
"pos": {
|
|
270
|
-
"x":
|
|
271
|
-
"y":
|
|
272
|
-
"h":
|
|
273
|
-
"w":
|
|
344
|
+
"x": 12,
|
|
345
|
+
"y": 21,
|
|
346
|
+
"h": 19.1,
|
|
347
|
+
"w": 12
|
|
274
348
|
},
|
|
275
|
-
"name": "
|
|
349
|
+
"name": "CQ9(C66073)进厅 (#{time_range})",
|
|
276
350
|
"queries": [
|
|
277
351
|
{
|
|
278
352
|
"datasource": "dataflux",
|
|
279
353
|
"qtype": "promql",
|
|
280
354
|
"type": "sequence",
|
|
281
355
|
"query": {
|
|
282
|
-
"q": "sum
|
|
356
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66073\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
283
357
|
"type": "promql",
|
|
284
358
|
"code": "A",
|
|
285
359
|
"promqlCode": 1
|
|
@@ -292,21 +366,23 @@
|
|
|
292
366
|
"extend": {
|
|
293
367
|
"settings": {}
|
|
294
368
|
},
|
|
295
|
-
"group": {
|
|
369
|
+
"group": {
|
|
370
|
+
"name": "SLOT GAME"
|
|
371
|
+
},
|
|
296
372
|
"pos": {
|
|
297
373
|
"x": 0,
|
|
298
|
-
"y":
|
|
299
|
-
"h":
|
|
300
|
-
"w":
|
|
374
|
+
"y": 40,
|
|
375
|
+
"h": 19.1,
|
|
376
|
+
"w": 12
|
|
301
377
|
},
|
|
302
|
-
"name": "
|
|
378
|
+
"name": "TPG(C66103)进厅(#{time_range})",
|
|
303
379
|
"queries": [
|
|
304
380
|
{
|
|
305
381
|
"datasource": "dataflux",
|
|
306
382
|
"qtype": "promql",
|
|
307
383
|
"type": "sequence",
|
|
308
384
|
"query": {
|
|
309
|
-
"q": "
|
|
385
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\",client!~\"C66H501-null\", channel=\"C66103\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
310
386
|
"type": "promql",
|
|
311
387
|
"code": "A",
|
|
312
388
|
"promqlCode": 1
|
|
@@ -319,21 +395,23 @@
|
|
|
319
395
|
"extend": {
|
|
320
396
|
"settings": {}
|
|
321
397
|
},
|
|
322
|
-
"group": {
|
|
398
|
+
"group": {
|
|
399
|
+
"name": "SLOT GAME"
|
|
400
|
+
},
|
|
323
401
|
"pos": {
|
|
324
|
-
"x":
|
|
325
|
-
"y":
|
|
326
|
-
"h":
|
|
327
|
-
"w":
|
|
402
|
+
"x": 12,
|
|
403
|
+
"y": 40,
|
|
404
|
+
"h": 19.1,
|
|
405
|
+
"w": 12
|
|
328
406
|
},
|
|
329
|
-
"name": "
|
|
407
|
+
"name": "NETNET(C66106)进厅(#{time_range})",
|
|
330
408
|
"queries": [
|
|
331
409
|
{
|
|
332
410
|
"datasource": "dataflux",
|
|
333
411
|
"qtype": "promql",
|
|
334
412
|
"type": "sequence",
|
|
335
413
|
"query": {
|
|
336
|
-
"q": "sum
|
|
414
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\",client!~\"C66H501-null\", channel=\"C66106\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
337
415
|
"type": "promql",
|
|
338
416
|
"code": "A",
|
|
339
417
|
"promqlCode": 1
|
|
@@ -346,21 +424,23 @@
|
|
|
346
424
|
"extend": {
|
|
347
425
|
"settings": {}
|
|
348
426
|
},
|
|
349
|
-
"group": {
|
|
427
|
+
"group": {
|
|
428
|
+
"name": "SLOT GAME"
|
|
429
|
+
},
|
|
350
430
|
"pos": {
|
|
351
|
-
"x":
|
|
352
|
-
"y":
|
|
353
|
-
"h":
|
|
354
|
-
"w":
|
|
431
|
+
"x": 0,
|
|
432
|
+
"y": 59,
|
|
433
|
+
"h": 19.1,
|
|
434
|
+
"w": 12
|
|
355
435
|
},
|
|
356
|
-
"name": "
|
|
436
|
+
"name": "RTG(C66105)进厅(#{time_range})",
|
|
357
437
|
"queries": [
|
|
358
438
|
{
|
|
359
439
|
"datasource": "dataflux",
|
|
360
440
|
"qtype": "promql",
|
|
361
441
|
"type": "sequence",
|
|
362
442
|
"query": {
|
|
363
|
-
"q": "sum
|
|
443
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66105\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
364
444
|
"type": "promql",
|
|
365
445
|
"code": "A",
|
|
366
446
|
"promqlCode": 1
|
|
@@ -368,8 +448,718 @@
|
|
|
368
448
|
}
|
|
369
449
|
],
|
|
370
450
|
"type": "sequence"
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"extend": {
|
|
454
|
+
"settings": {}
|
|
455
|
+
},
|
|
456
|
+
"group": {
|
|
457
|
+
"name": "SLOT GAME"
|
|
458
|
+
},
|
|
459
|
+
"pos": {
|
|
460
|
+
"x": 12,
|
|
461
|
+
"y": 59,
|
|
462
|
+
"h": 19.1,
|
|
463
|
+
"w": 12
|
|
464
|
+
},
|
|
465
|
+
"name": "HBN(C66099)进厅(#{time_range})",
|
|
466
|
+
"queries": [
|
|
467
|
+
{
|
|
468
|
+
"datasource": "dataflux",
|
|
469
|
+
"qtype": "promql",
|
|
470
|
+
"type": "sequence",
|
|
471
|
+
"query": {
|
|
472
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66099\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
473
|
+
"type": "promql",
|
|
474
|
+
"code": "A",
|
|
475
|
+
"promqlCode": 1
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"type": "sequence"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"extend": {
|
|
483
|
+
"settings": {}
|
|
484
|
+
},
|
|
485
|
+
"group": {
|
|
486
|
+
"name": "SLOT GAME"
|
|
487
|
+
},
|
|
488
|
+
"pos": {
|
|
489
|
+
"x": 0,
|
|
490
|
+
"y": 78,
|
|
491
|
+
"h": 19.1,
|
|
492
|
+
"w": 12
|
|
493
|
+
},
|
|
494
|
+
"name": "EVOLUTION(C66108)进厅(#{time_range})",
|
|
495
|
+
"queries": [
|
|
496
|
+
{
|
|
497
|
+
"datasource": "dataflux",
|
|
498
|
+
"qtype": "promql",
|
|
499
|
+
"type": "sequence",
|
|
500
|
+
"query": {
|
|
501
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66108\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
502
|
+
"type": "promql",
|
|
503
|
+
"code": "A",
|
|
504
|
+
"promqlCode": 1
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"datasource": "dataflux",
|
|
509
|
+
"qtype": "promql",
|
|
510
|
+
"type": "sequence",
|
|
511
|
+
"query": {
|
|
512
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66108\", success=\"0\"}[#{time_range}])) by (channel,client,success)",
|
|
513
|
+
"type": "promql",
|
|
514
|
+
"code": "B",
|
|
515
|
+
"promqlCode": 2
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
],
|
|
519
|
+
"type": "sequence"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"extend": {
|
|
523
|
+
"settings": {}
|
|
524
|
+
},
|
|
525
|
+
"group": {
|
|
526
|
+
"name": "SLOT GAME"
|
|
527
|
+
},
|
|
528
|
+
"pos": {
|
|
529
|
+
"x": 12,
|
|
530
|
+
"y": 78,
|
|
531
|
+
"h": 19.1,
|
|
532
|
+
"w": 12
|
|
533
|
+
},
|
|
534
|
+
"name": "RedTiger(C66107)进厅(#{time_range})",
|
|
535
|
+
"queries": [
|
|
536
|
+
{
|
|
537
|
+
"datasource": "dataflux",
|
|
538
|
+
"qtype": "promql",
|
|
539
|
+
"type": "sequence",
|
|
540
|
+
"query": {
|
|
541
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\",client!~\"C66H501-null\", channel=\"C66107\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
542
|
+
"type": "promql",
|
|
543
|
+
"code": "A",
|
|
544
|
+
"promqlCode": 1
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"type": "sequence"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"extend": {
|
|
552
|
+
"settings": {}
|
|
553
|
+
},
|
|
554
|
+
"group": {
|
|
555
|
+
"name": "SLOT GAME"
|
|
556
|
+
},
|
|
557
|
+
"pos": {
|
|
558
|
+
"x": 0,
|
|
559
|
+
"y": 97,
|
|
560
|
+
"h": 19.1,
|
|
561
|
+
"w": 12
|
|
562
|
+
},
|
|
563
|
+
"name": "BTG(C66188)进厅(#{time_range})",
|
|
564
|
+
"queries": [
|
|
565
|
+
{
|
|
566
|
+
"datasource": "dataflux",
|
|
567
|
+
"qtype": "promql",
|
|
568
|
+
"type": "sequence",
|
|
569
|
+
"query": {
|
|
570
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66188\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
571
|
+
"type": "promql",
|
|
572
|
+
"code": "A",
|
|
573
|
+
"promqlCode": 1
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"type": "sequence"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"extend": {
|
|
581
|
+
"settings": {}
|
|
582
|
+
},
|
|
583
|
+
"group": {
|
|
584
|
+
"name": "SLOT GAME"
|
|
585
|
+
},
|
|
586
|
+
"pos": {
|
|
587
|
+
"x": 12,
|
|
588
|
+
"y": 97,
|
|
589
|
+
"h": 19.1,
|
|
590
|
+
"w": 12
|
|
591
|
+
},
|
|
592
|
+
"name": "NLC(C66192)进厅(#{time_range})",
|
|
593
|
+
"queries": [
|
|
594
|
+
{
|
|
595
|
+
"datasource": "dataflux",
|
|
596
|
+
"qtype": "promql",
|
|
597
|
+
"type": "sequence",
|
|
598
|
+
"query": {
|
|
599
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66192\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
600
|
+
"type": "promql",
|
|
601
|
+
"code": "A",
|
|
602
|
+
"promqlCode": 1
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
"type": "sequence"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"extend": {
|
|
610
|
+
"settings": {}
|
|
611
|
+
},
|
|
612
|
+
"group": {
|
|
613
|
+
"name": "SLOT GAME"
|
|
614
|
+
},
|
|
615
|
+
"pos": {
|
|
616
|
+
"x": 0,
|
|
617
|
+
"y": 116,
|
|
618
|
+
"h": 19.1,
|
|
619
|
+
"w": 12
|
|
620
|
+
},
|
|
621
|
+
"name": "GLXS(C66196)进厅(#{time_range})",
|
|
622
|
+
"queries": [
|
|
623
|
+
{
|
|
624
|
+
"datasource": "dataflux",
|
|
625
|
+
"qtype": "promql",
|
|
626
|
+
"type": "sequence",
|
|
627
|
+
"query": {
|
|
628
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66196\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
629
|
+
"type": "promql",
|
|
630
|
+
"code": "A",
|
|
631
|
+
"promqlCode": 1
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"type": "sequence"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"extend": {
|
|
639
|
+
"settings": {}
|
|
640
|
+
},
|
|
641
|
+
"group": {
|
|
642
|
+
"name": "Specialty Game"
|
|
643
|
+
},
|
|
644
|
+
"pos": {
|
|
645
|
+
"x": 0,
|
|
646
|
+
"y": -190,
|
|
647
|
+
"h": 15.3,
|
|
648
|
+
"w": 12
|
|
649
|
+
},
|
|
650
|
+
"name": "Colorgame(C66172)进厅(#{time_range})",
|
|
651
|
+
"queries": [
|
|
652
|
+
{
|
|
653
|
+
"datasource": "dataflux",
|
|
654
|
+
"qtype": "promql",
|
|
655
|
+
"type": "sequence",
|
|
656
|
+
"query": {
|
|
657
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client!~\"C66H501-null\", channel=\"C66172\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
658
|
+
"type": "promql",
|
|
659
|
+
"code": "A",
|
|
660
|
+
"promqlCode": 1
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"type": "sequence"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"extend": {
|
|
668
|
+
"settings": {}
|
|
669
|
+
},
|
|
670
|
+
"group": {
|
|
671
|
+
"name": "Specialty Game"
|
|
672
|
+
},
|
|
673
|
+
"pos": {
|
|
674
|
+
"x": 12,
|
|
675
|
+
"y": -190,
|
|
676
|
+
"h": 15.3,
|
|
677
|
+
"w": 12
|
|
678
|
+
},
|
|
679
|
+
"name": "PDB(C66186)进厅(#{time_range})",
|
|
680
|
+
"queries": [
|
|
681
|
+
{
|
|
682
|
+
"datasource": "dataflux",
|
|
683
|
+
"qtype": "promql",
|
|
684
|
+
"type": "sequence",
|
|
685
|
+
"query": {
|
|
686
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", channel=\"C66186\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
687
|
+
"type": "promql",
|
|
688
|
+
"code": "A",
|
|
689
|
+
"promqlCode": 1
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
],
|
|
693
|
+
"type": "sequence"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"extend": {
|
|
697
|
+
"settings": {}
|
|
698
|
+
},
|
|
699
|
+
"group": {
|
|
700
|
+
"name": "Specialty Game"
|
|
701
|
+
},
|
|
702
|
+
"pos": {
|
|
703
|
+
"x": 0,
|
|
704
|
+
"y": -178,
|
|
705
|
+
"h": 15.3,
|
|
706
|
+
"w": 12
|
|
707
|
+
},
|
|
708
|
+
"name": "PULAPUTI(C66184)进厅(#{time_range})",
|
|
709
|
+
"queries": [
|
|
710
|
+
{
|
|
711
|
+
"datasource": "dataflux",
|
|
712
|
+
"qtype": "promql",
|
|
713
|
+
"type": "sequence",
|
|
714
|
+
"query": {
|
|
715
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66184\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
716
|
+
"type": "promql",
|
|
717
|
+
"code": "A",
|
|
718
|
+
"promqlCode": 1
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"datasource": "dataflux",
|
|
723
|
+
"qtype": "promql",
|
|
724
|
+
"type": "sequence",
|
|
725
|
+
"query": {
|
|
726
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66184\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
727
|
+
"type": "promql",
|
|
728
|
+
"code": "B",
|
|
729
|
+
"promqlCode": 2
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"datasource": "dataflux",
|
|
734
|
+
"qtype": "promql",
|
|
735
|
+
"type": "sequence",
|
|
736
|
+
"query": {
|
|
737
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66184\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
738
|
+
"type": "promql",
|
|
739
|
+
"code": "C",
|
|
740
|
+
"promqlCode": 3
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"type": "sequence"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"extend": {
|
|
748
|
+
"settings": {}
|
|
749
|
+
},
|
|
750
|
+
"group": {
|
|
751
|
+
"name": "EBingo"
|
|
752
|
+
},
|
|
753
|
+
"pos": {
|
|
754
|
+
"x": 0,
|
|
755
|
+
"y": 2,
|
|
756
|
+
"h": 15.3,
|
|
757
|
+
"w": 12
|
|
758
|
+
},
|
|
759
|
+
"name": "BINGO(C66079)进厅(#{time_range})",
|
|
760
|
+
"queries": [
|
|
761
|
+
{
|
|
762
|
+
"datasource": "dataflux",
|
|
763
|
+
"qtype": "promql",
|
|
764
|
+
"type": "sequence",
|
|
765
|
+
"query": {
|
|
766
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66079\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
767
|
+
"type": "promql",
|
|
768
|
+
"code": "A",
|
|
769
|
+
"promqlCode": 1
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"datasource": "dataflux",
|
|
774
|
+
"qtype": "promql",
|
|
775
|
+
"type": "sequence",
|
|
776
|
+
"query": {
|
|
777
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66079\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
778
|
+
"type": "promql",
|
|
779
|
+
"code": "B",
|
|
780
|
+
"promqlCode": 2
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"datasource": "dataflux",
|
|
785
|
+
"qtype": "promql",
|
|
786
|
+
"type": "sequence",
|
|
787
|
+
"query": {
|
|
788
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66079\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
789
|
+
"type": "promql",
|
|
790
|
+
"code": "C",
|
|
791
|
+
"promqlCode": 3
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
"type": "sequence"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"extend": {
|
|
799
|
+
"settings": {}
|
|
800
|
+
},
|
|
801
|
+
"group": {
|
|
802
|
+
"name": "EBingo"
|
|
803
|
+
},
|
|
804
|
+
"pos": {
|
|
805
|
+
"x": 12,
|
|
806
|
+
"y": 2,
|
|
807
|
+
"h": 15.3,
|
|
808
|
+
"w": 12
|
|
809
|
+
},
|
|
810
|
+
"name": "EBINGO(C66080)进厅(#{time_range})",
|
|
811
|
+
"queries": [
|
|
812
|
+
{
|
|
813
|
+
"datasource": "dataflux",
|
|
814
|
+
"qtype": "promql",
|
|
815
|
+
"type": "sequence",
|
|
816
|
+
"query": {
|
|
817
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66080\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
818
|
+
"type": "promql",
|
|
819
|
+
"code": "A",
|
|
820
|
+
"promqlCode": 1
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"datasource": "dataflux",
|
|
825
|
+
"qtype": "promql",
|
|
826
|
+
"type": "sequence",
|
|
827
|
+
"query": {
|
|
828
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66080\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
829
|
+
"type": "promql",
|
|
830
|
+
"code": "B",
|
|
831
|
+
"promqlCode": 2
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"datasource": "dataflux",
|
|
836
|
+
"qtype": "promql",
|
|
837
|
+
"type": "sequence",
|
|
838
|
+
"query": {
|
|
839
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66080\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
840
|
+
"type": "promql",
|
|
841
|
+
"code": "C",
|
|
842
|
+
"promqlCode": 3
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"type": "sequence"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"extend": {
|
|
850
|
+
"settings": {}
|
|
851
|
+
},
|
|
852
|
+
"group": {
|
|
853
|
+
"name": "EBingo"
|
|
854
|
+
},
|
|
855
|
+
"pos": {
|
|
856
|
+
"x": 0,
|
|
857
|
+
"y": 17.2,
|
|
858
|
+
"h": 15.3,
|
|
859
|
+
"w": 12
|
|
860
|
+
},
|
|
861
|
+
"name": "PPLAY(C66199)进厅(#{time_range})",
|
|
862
|
+
"queries": [
|
|
863
|
+
{
|
|
864
|
+
"datasource": "dataflux",
|
|
865
|
+
"qtype": "promql",
|
|
866
|
+
"type": "sequence",
|
|
867
|
+
"query": {
|
|
868
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66199\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
869
|
+
"type": "promql",
|
|
870
|
+
"code": "A",
|
|
871
|
+
"promqlCode": 1
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"datasource": "dataflux",
|
|
876
|
+
"qtype": "promql",
|
|
877
|
+
"type": "sequence",
|
|
878
|
+
"query": {
|
|
879
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66199\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
880
|
+
"type": "promql",
|
|
881
|
+
"code": "B",
|
|
882
|
+
"promqlCode": 2
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"datasource": "dataflux",
|
|
887
|
+
"qtype": "promql",
|
|
888
|
+
"type": "sequence",
|
|
889
|
+
"query": {
|
|
890
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66199\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
891
|
+
"type": "promql",
|
|
892
|
+
"code": "C",
|
|
893
|
+
"promqlCode": 3
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
],
|
|
897
|
+
"type": "sequence"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"extend": {
|
|
901
|
+
"settings": {}
|
|
902
|
+
},
|
|
903
|
+
"group": {
|
|
904
|
+
"name": "EBingo"
|
|
905
|
+
},
|
|
906
|
+
"pos": {
|
|
907
|
+
"x": 12,
|
|
908
|
+
"y": 17.2,
|
|
909
|
+
"h": 15.3,
|
|
910
|
+
"w": 12
|
|
911
|
+
},
|
|
912
|
+
"name": "GINTO(C66178)进厅(#{time_range})",
|
|
913
|
+
"queries": [
|
|
914
|
+
{
|
|
915
|
+
"datasource": "dataflux",
|
|
916
|
+
"qtype": "promql",
|
|
917
|
+
"type": "sequence",
|
|
918
|
+
"query": {
|
|
919
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66178\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
920
|
+
"type": "promql",
|
|
921
|
+
"code": "A",
|
|
922
|
+
"promqlCode": 1
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"datasource": "dataflux",
|
|
927
|
+
"qtype": "promql",
|
|
928
|
+
"type": "sequence",
|
|
929
|
+
"query": {
|
|
930
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66178\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
931
|
+
"type": "promql",
|
|
932
|
+
"code": "B",
|
|
933
|
+
"promqlCode": 2
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"datasource": "dataflux",
|
|
938
|
+
"qtype": "promql",
|
|
939
|
+
"type": "sequence",
|
|
940
|
+
"query": {
|
|
941
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66178\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
942
|
+
"type": "promql",
|
|
943
|
+
"code": "C",
|
|
944
|
+
"promqlCode": 3
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
],
|
|
948
|
+
"type": "sequence"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"extend": {
|
|
952
|
+
"settings": {}
|
|
953
|
+
},
|
|
954
|
+
"group": {
|
|
955
|
+
"name": "EBingo"
|
|
956
|
+
},
|
|
957
|
+
"pos": {
|
|
958
|
+
"x": 0,
|
|
959
|
+
"y": 32.4,
|
|
960
|
+
"h": 15.3,
|
|
961
|
+
"w": 12
|
|
962
|
+
},
|
|
963
|
+
"name": "AQUA(C66183)进厅(#{time_range})",
|
|
964
|
+
"queries": [
|
|
965
|
+
{
|
|
966
|
+
"datasource": "dataflux",
|
|
967
|
+
"qtype": "promql",
|
|
968
|
+
"type": "sequence",
|
|
969
|
+
"query": {
|
|
970
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66183\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
971
|
+
"type": "promql",
|
|
972
|
+
"code": "A",
|
|
973
|
+
"promqlCode": 1
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"datasource": "dataflux",
|
|
978
|
+
"qtype": "promql",
|
|
979
|
+
"type": "sequence",
|
|
980
|
+
"query": {
|
|
981
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66183\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
982
|
+
"type": "promql",
|
|
983
|
+
"code": "B",
|
|
984
|
+
"promqlCode": 2
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"datasource": "dataflux",
|
|
989
|
+
"qtype": "promql",
|
|
990
|
+
"type": "sequence",
|
|
991
|
+
"query": {
|
|
992
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66183\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
993
|
+
"type": "promql",
|
|
994
|
+
"code": "C",
|
|
995
|
+
"promqlCode": 3
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
],
|
|
999
|
+
"type": "sequence"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"extend": {
|
|
1003
|
+
"settings": {}
|
|
1004
|
+
},
|
|
1005
|
+
"group": {
|
|
1006
|
+
"name": "EBingo"
|
|
1007
|
+
},
|
|
1008
|
+
"pos": {
|
|
1009
|
+
"x": 12,
|
|
1010
|
+
"y": 32.4,
|
|
1011
|
+
"h": 15.3,
|
|
1012
|
+
"w": 12
|
|
1013
|
+
},
|
|
1014
|
+
"name": "PDB(C66186)进厅(#{time_range})",
|
|
1015
|
+
"queries": [
|
|
1016
|
+
{
|
|
1017
|
+
"datasource": "dataflux",
|
|
1018
|
+
"qtype": "promql",
|
|
1019
|
+
"type": "sequence",
|
|
1020
|
+
"query": {
|
|
1021
|
+
"q": "label_replace(\r\nlabel_replace(\r\nlabel_replace( \r\nlabel_replace(\r\nsum(increase(bp_in_game_total{application=\"c66-gateway-api\", channel=\"C66186\", success=\"1\"}[#{time_range}])) by (client),\r\n\"client\", \"Android\", \"client\", \"C66APP01\"\r\n),\r\n\"client\", \"IOS\", \"client\", \"C66APP02\"\r\n),\r\n\"client\", \"H5\", \"client\", \"C66H501\"\r\n),\r\n\"client\", \"PC\", \"client\", \"C66PC01\"\r\n)\r\n",
|
|
1022
|
+
"type": "promql",
|
|
1023
|
+
"code": "A",
|
|
1024
|
+
"promqlCode": 1
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
],
|
|
1028
|
+
"type": "sequence"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"extend": {
|
|
1032
|
+
"settings": {}
|
|
1033
|
+
},
|
|
1034
|
+
"group": {
|
|
1035
|
+
"name": "Casino"
|
|
1036
|
+
},
|
|
1037
|
+
"pos": {
|
|
1038
|
+
"x": 0,
|
|
1039
|
+
"y": 2,
|
|
1040
|
+
"h": 15.3,
|
|
1041
|
+
"w": 12
|
|
1042
|
+
},
|
|
1043
|
+
"name": "EEZE(C66177)进厅(#{time_range})",
|
|
1044
|
+
"queries": [
|
|
1045
|
+
{
|
|
1046
|
+
"datasource": "dataflux",
|
|
1047
|
+
"qtype": "promql",
|
|
1048
|
+
"type": "sequence",
|
|
1049
|
+
"query": {
|
|
1050
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66177\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
1051
|
+
"type": "promql",
|
|
1052
|
+
"code": "A",
|
|
1053
|
+
"promqlCode": 1
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"datasource": "dataflux",
|
|
1058
|
+
"qtype": "promql",
|
|
1059
|
+
"type": "sequence",
|
|
1060
|
+
"query": {
|
|
1061
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66177\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
1062
|
+
"type": "promql",
|
|
1063
|
+
"code": "B",
|
|
1064
|
+
"promqlCode": 2
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"datasource": "dataflux",
|
|
1069
|
+
"qtype": "promql",
|
|
1070
|
+
"type": "sequence",
|
|
1071
|
+
"query": {
|
|
1072
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66177\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
1073
|
+
"type": "promql",
|
|
1074
|
+
"code": "C",
|
|
1075
|
+
"promqlCode": 3
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
],
|
|
1079
|
+
"type": "sequence"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"extend": {
|
|
1083
|
+
"settings": {}
|
|
1084
|
+
},
|
|
1085
|
+
"group": {
|
|
1086
|
+
"name": "Casino"
|
|
1087
|
+
},
|
|
1088
|
+
"pos": {
|
|
1089
|
+
"x": 12,
|
|
1090
|
+
"y": 2,
|
|
1091
|
+
"h": 15.3,
|
|
1092
|
+
"w": 12
|
|
1093
|
+
},
|
|
1094
|
+
"name": "EEZE(C66177)进厅(#{time_range})",
|
|
1095
|
+
"queries": [
|
|
1096
|
+
{
|
|
1097
|
+
"datasource": "dataflux",
|
|
1098
|
+
"qtype": "promql",
|
|
1099
|
+
"type": "sequence",
|
|
1100
|
+
"query": {
|
|
1101
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66H501\", channel=\"C66177\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
1102
|
+
"type": "promql",
|
|
1103
|
+
"code": "A",
|
|
1104
|
+
"promqlCode": 1
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"datasource": "dataflux",
|
|
1109
|
+
"qtype": "promql",
|
|
1110
|
+
"type": "sequence",
|
|
1111
|
+
"query": {
|
|
1112
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP01\", channel=\"C66177\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
1113
|
+
"type": "promql",
|
|
1114
|
+
"code": "B",
|
|
1115
|
+
"promqlCode": 2
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"datasource": "dataflux",
|
|
1120
|
+
"qtype": "promql",
|
|
1121
|
+
"type": "sequence",
|
|
1122
|
+
"query": {
|
|
1123
|
+
"q": "sum(increase(bp_in_game_total{application=\"c66-gateway-api\", client=\"C66APP02\", channel=\"C66177\", success=\"1\"}[#{time_range}])) by (channel,client,success)",
|
|
1124
|
+
"type": "promql",
|
|
1125
|
+
"code": "C",
|
|
1126
|
+
"promqlCode": 3
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"datasource": "dataflux",
|
|
1131
|
+
"qtype": "promql",
|
|
1132
|
+
"type": "sequence",
|
|
1133
|
+
"query": {
|
|
1134
|
+
"q": "sum(max(game_active_user_amount{cluster=\"prod-sg-eks\"}) by (channel,product))",
|
|
1135
|
+
"type": "promql",
|
|
1136
|
+
"code": "D",
|
|
1137
|
+
"promqlCode": 4
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
"type": "sequence"
|
|
1142
|
+
}
|
|
1143
|
+
],
|
|
1144
|
+
"groups": [
|
|
1145
|
+
{
|
|
1146
|
+
"name": "BP整体游戏进厅情况"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"name": "Poker"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"name": "SLOT GAME"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "Specialty Game"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "EBingo"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "Casino"
|
|
1162
|
+
}
|
|
1163
|
+
]
|
|
374
1164
|
}
|
|
375
1165
|
}
|
|
@@ -75,10 +75,10 @@ const grafanaPanelTypeToGuanceChartMap = {
|
|
|
75
75
|
};
|
|
76
76
|
const GRAFANA_KEYWORKD = ['__interval'];
|
|
77
77
|
function replaceVariableStr(grafanaExpr) {
|
|
78
|
-
return grafanaExpr.replace(
|
|
79
|
-
if (GRAFANA_KEYWORKD.includes(
|
|
78
|
+
return grafanaExpr.replace(/\$\{?([\d_\w]+)\}?/g, function (match, variable) {
|
|
79
|
+
if (GRAFANA_KEYWORKD.includes(variable))
|
|
80
80
|
return match;
|
|
81
|
-
return `#{${
|
|
81
|
+
return `#{${variable}}`;
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
@@ -205,7 +205,7 @@ function covertPanelToGuanceChart(grafanaPanel, rowPanel) {
|
|
|
205
205
|
h: getGuanceHByGrafanaH(pos.h),
|
|
206
206
|
w: pos.w,
|
|
207
207
|
},
|
|
208
|
-
name: title || '',
|
|
208
|
+
name: replaceVariableStr(title || ''),
|
|
209
209
|
queries: queries,
|
|
210
210
|
type: chartType,
|
|
211
211
|
};
|
|
@@ -79,9 +79,9 @@ const grafanaPanelTypeToGuanceChartMap: { [key: string]: GuanceChartType } = {
|
|
|
79
79
|
}
|
|
80
80
|
const GRAFANA_KEYWORKD = ['__interval']
|
|
81
81
|
function replaceVariableStr(grafanaExpr: string): string {
|
|
82
|
-
return grafanaExpr.replace(
|
|
83
|
-
if (GRAFANA_KEYWORKD.includes(
|
|
84
|
-
return `#{${
|
|
82
|
+
return grafanaExpr.replace(/\$\{?([\d_\w]+)\}?/g, function (match, variable) {
|
|
83
|
+
if (GRAFANA_KEYWORKD.includes(variable)) return match
|
|
84
|
+
return `#{${variable}}`
|
|
85
85
|
})
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
@@ -209,7 +209,7 @@ function covertPanelToGuanceChart(grafanaPanel: Panel, rowPanel: RowPanel | unde
|
|
|
209
209
|
h: getGuanceHByGrafanaH(pos.h),
|
|
210
210
|
w: pos.w,
|
|
211
211
|
},
|
|
212
|
-
name: title || '',
|
|
212
|
+
name: replaceVariableStr(title || ''),
|
|
213
213
|
queries: queries,
|
|
214
214
|
type: chartType,
|
|
215
215
|
}
|