15
15
"id" : 961790136530845 ,
16
16
"definition" : {
17
17
"type" : " note" ,
18
- "content" : " # Modal\n\n Get detailed visibility into your:\n\n - Audit logs\n - Function logs\n - Container metrics" ,
18
+ "content" : " # Modal\n\n Get detailed visibility into your:\n\n - Audit logs\n - Function logs\n - Container metrics\n - Input metrics " ,
19
19
"background_color" : " white" ,
20
20
"font_size" : " 14" ,
21
21
"text_align" : " left" ,
25
25
"tick_edge" : " left" ,
26
26
"has_padding" : true
27
27
},
28
- "layout" : {
29
- "x" : 0 ,
30
- "y" : 0 ,
31
- "width" : 4 ,
32
- "height" : 3
33
- }
28
+ "layout" : { "x" : 0 , "y" : 0 , "width" : 4 , "height" : 3 }
34
29
},
35
30
{
36
31
"id" : 1499917651954632 ,
40
35
"title_align" : " left" ,
41
36
"show_legend" : true ,
42
37
"legend_layout" : " auto" ,
43
- "legend_columns" : [
44
- " avg" ,
45
- " min" ,
46
- " max" ,
47
- " value" ,
48
- " sum"
49
- ],
50
- "time" : {},
38
+ "legend_columns" : [" avg" , " min" , " max" , " value" , " sum" ],
51
39
"type" : " timeseries" ,
52
40
"requests" : [
53
41
{
54
- "formulas" : [
55
- {
56
- "formula" : " query1"
57
- }
58
- ],
42
+ "formulas" : [{ "formula" : " query1" }],
59
43
"queries" : [
60
44
{
61
45
"name" : " query1" ,
74
58
}
75
59
]
76
60
},
77
- "layout" : {
78
- "x" : 4 ,
79
- "y" : 0 ,
80
- "width" : 4 ,
81
- "height" : 3
82
- }
61
+ "layout" : { "x" : 4 , "y" : 0 , "width" : 4 , "height" : 3 }
83
62
},
84
63
{
85
64
"id" : 6603502348617972 ,
89
68
"title_align" : " left" ,
90
69
"show_legend" : true ,
91
70
"legend_layout" : " auto" ,
92
- "legend_columns" : [
93
- " avg" ,
94
- " min" ,
95
- " max" ,
96
- " value" ,
97
- " sum"
98
- ],
99
- "time" : {},
71
+ "legend_columns" : [" avg" , " min" , " max" , " value" , " sum" ],
100
72
"type" : " timeseries" ,
101
73
"requests" : [
102
74
{
103
- "formulas" : [
104
- {
105
- "formula" : " query1"
106
- }
107
- ],
75
+ "formulas" : [{ "formula" : " query1" }],
108
76
"queries" : [
109
77
{
110
78
"name" : " query1" ,
123
91
}
124
92
]
125
93
},
126
- "layout" : {
127
- "x" : 8 ,
128
- "y" : 0 ,
129
- "width" : 4 ,
130
- "height" : 3
131
- }
94
+ "layout" : { "x" : 8 , "y" : 0 , "width" : 4 , "height" : 3 }
132
95
},
133
96
{
134
97
"id" : 4599509251662375 ,
135
98
"definition" : {
136
99
"title" : " Container logs across all Modal applications" ,
137
100
"title_size" : " 16" ,
138
101
"title_align" : " left" ,
139
- "time" : {},
140
102
"requests" : [
141
103
{
142
104
"response_format" : " event_list" ,
147
109
"storage" : " hot"
148
110
},
149
111
"columns" : [
150
- {
151
- "field" : " status_line" ,
152
- "width" : " auto"
153
- },
154
- {
155
- "field" : " timestamp" ,
156
- "width" : " auto"
157
- },
158
- {
159
- "field" : " host" ,
160
- "width" : " auto"
161
- },
162
- {
163
- "field" : " service" ,
164
- "width" : " auto"
165
- },
166
- {
167
- "field" : " content" ,
168
- "width" : " compact"
169
- }
112
+ { "field" : " status_line" , "width" : " auto" },
113
+ { "field" : " timestamp" , "width" : " auto" },
114
+ { "field" : " host" , "width" : " auto" },
115
+ { "field" : " service" , "width" : " auto" },
116
+ { "field" : " content" , "width" : " compact" }
170
117
]
171
118
}
172
119
],
173
120
"type" : " list_stream"
174
121
},
175
- "layout" : {
176
- "x" : 0 ,
177
- "y" : 3 ,
178
- "width" : 6 ,
179
- "height" : 3
180
- }
122
+ "layout" : { "x" : 0 , "y" : 3 , "width" : 6 , "height" : 3 }
181
123
},
182
124
{
183
125
"id" : 8521961163085800 ,
195
137
"storage" : " hot"
196
138
},
197
139
"columns" : [
140
+ { "field" : " status_line" , "width" : " auto" },
141
+ { "field" : " timestamp" , "width" : " auto" },
142
+ { "field" : " host" , "width" : " auto" },
143
+ { "field" : " service" , "width" : " auto" },
144
+ { "field" : " content" , "width" : " compact" }
145
+ ]
146
+ }
147
+ ],
148
+ "type" : " list_stream"
149
+ },
150
+ "layout" : { "x" : 6 , "y" : 3 , "width" : 6 , "height" : 3 }
151
+ },
152
+ {
153
+ "id" : 3151443995528809 ,
154
+ "definition" : {
155
+ "title" : " Input Execution Time (us)" ,
156
+ "title_size" : " 16" ,
157
+ "title_align" : " left" ,
158
+ "show_legend" : true ,
159
+ "type" : " timeseries" ,
160
+ "requests" : [
161
+ {
162
+ "formulas" : [{ "formula" : " query1" }],
163
+ "queries" : [
198
164
{
199
- "field" : " status_line" ,
200
- "width" : " auto"
201
- },
202
- {
203
- "field" : " timestamp" ,
204
- "width" : " auto"
205
- },
206
- {
207
- "field" : " host" ,
208
- "width" : " auto"
209
- },
165
+ "data_source" : " metrics" ,
166
+ "name" : " query1" ,
167
+ "query" : " avg:modal.input_events.elapsed_time_us{*}"
168
+ }
169
+ ],
170
+ "response_format" : " timeseries" ,
171
+ "style" : {
172
+ "palette" : " dog_classic" ,
173
+ "order_by" : " values" ,
174
+ "line_type" : " solid" ,
175
+ "line_width" : " normal"
176
+ },
177
+ "display_type" : " line"
178
+ }
179
+ ],
180
+ "yaxis" : {
181
+ "scale" : " linear" ,
182
+ "include_zero" : true ,
183
+ "min" : " auto" ,
184
+ "max" : " auto"
185
+ }
186
+ },
187
+ "layout" : { "x" : 0 , "y" : 6 , "width" : 6 , "height" : 3 }
188
+ },
189
+ {
190
+ "id" : 8407804183432454 ,
191
+ "definition" : {
192
+ "title" : " Total Inputs vs Successful Inputs" ,
193
+ "title_size" : " 16" ,
194
+ "title_align" : " left" ,
195
+ "show_legend" : true ,
196
+ "legend_layout" : " auto" ,
197
+ "legend_columns" : [" avg" , " min" , " max" , " value" , " sum" ],
198
+ "type" : " timeseries" ,
199
+ "requests" : [
200
+ {
201
+ "response_format" : " timeseries" ,
202
+ "queries" : [
210
203
{
211
- "field" : " service" ,
212
- "width" : " auto"
204
+ "data_source" : " metrics" ,
205
+ "name" : " query1" ,
206
+ "query" : " sum:modal.input_events.total_inputs{*}.as_count()"
213
207
},
214
208
{
215
- "field" : " content" ,
216
- "width" : " compact"
209
+ "data_source" : " metrics" ,
210
+ "name" : " query2" ,
211
+ "query" : " sum:modal.input_events.successes{*}.as_count()"
217
212
}
218
- ]
213
+ ],
214
+ "formulas" : [
215
+ { "formula" : " query1" },
216
+ { "formula" : " query2" }
217
+ ],
218
+ "style" : {
219
+ "palette" : " dog_classic" ,
220
+ "order_by" : " values" ,
221
+ "line_type" : " solid" ,
222
+ "line_width" : " normal"
223
+ },
224
+ "display_type" : " line"
219
225
}
220
- ],
221
- "type" : " list_stream"
226
+ ]
222
227
},
223
- "layout" : {
224
- "x" : 6 ,
225
- "y" : 3 ,
226
- "width" : 6 ,
227
- "height" : 3
228
- }
228
+ "layout" : { "x" : 6 , "y" : 6 , "width" : 6 , "height" : 3 }
229
229
}
230
230
]
231
231
},
232
- "layout" : {
233
- "x" : 0 ,
234
- "y" : 0 ,
235
- "width" : 12 ,
236
- "height" : 9
237
- }
232
+ "layout" : { "x" : 0 , "y" : 0 , "width" : 12 , "height" : 12 }
238
233
}
239
234
],
240
235
"template_variables" : [],
241
236
"layout_type" : " ordered" ,
242
237
"notify_list" : [],
243
238
"reflow_type" : " fixed"
244
- }
239
+ }
0 commit comments