rdapify 0.1.7 → 0.1.9
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/CHANGELOG.md +135 -6
- package/README.md +50 -31
- package/dist/application/client/RDAPClient.d.ts +7 -1
- package/dist/application/client/RDAPClient.d.ts.map +1 -1
- package/dist/application/client/RDAPClient.js +101 -24
- package/dist/application/client/RDAPClient.js.map +1 -1
- package/dist/application/hooks/MiddlewareHooks.d.ts +4 -2
- package/dist/application/hooks/MiddlewareHooks.d.ts.map +1 -1
- package/dist/application/hooks/MiddlewareHooks.js +41 -3
- package/dist/application/hooks/MiddlewareHooks.js.map +1 -1
- package/dist/application/services/BatchProcessor.d.ts +6 -0
- package/dist/application/services/BatchProcessor.d.ts.map +1 -1
- package/dist/application/services/BatchProcessor.js +54 -2
- package/dist/application/services/BatchProcessor.js.map +1 -1
- package/dist/application/services/QueryOrchestrator.d.ts +3 -2
- package/dist/application/services/QueryOrchestrator.d.ts.map +1 -1
- package/dist/application/services/QueryOrchestrator.js +16 -5
- package/dist/application/services/QueryOrchestrator.js.map +1 -1
- package/dist/index.d.ts +28 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -2
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/cache/RedisCache.d.ts +10 -0
- package/dist/infrastructure/cache/RedisCache.d.ts.map +1 -1
- package/dist/infrastructure/cache/RedisCache.js +37 -1
- package/dist/infrastructure/cache/RedisCache.js.map +1 -1
- package/dist/infrastructure/http/BootstrapDiscovery.d.ts +6 -3
- package/dist/infrastructure/http/BootstrapDiscovery.d.ts.map +1 -1
- package/dist/infrastructure/http/BootstrapDiscovery.js +55 -12
- package/dist/infrastructure/http/BootstrapDiscovery.js.map +1 -1
- package/dist/infrastructure/http/BrowserFetcher.d.ts +16 -0
- package/dist/infrastructure/http/BrowserFetcher.d.ts.map +1 -0
- package/dist/infrastructure/http/BrowserFetcher.js +47 -0
- package/dist/infrastructure/http/BrowserFetcher.js.map +1 -0
- package/dist/infrastructure/http/BunFetcher.d.ts +19 -0
- package/dist/infrastructure/http/BunFetcher.d.ts.map +1 -0
- package/dist/infrastructure/http/BunFetcher.js +51 -0
- package/dist/infrastructure/http/BunFetcher.js.map +1 -0
- package/dist/infrastructure/http/CircuitBreaker.d.ts +33 -0
- package/dist/infrastructure/http/CircuitBreaker.d.ts.map +1 -0
- package/dist/infrastructure/http/CircuitBreaker.js +104 -0
- package/dist/infrastructure/http/CircuitBreaker.js.map +1 -0
- package/dist/infrastructure/http/CloudflareWorkersFetcher.d.ts +18 -0
- package/dist/infrastructure/http/CloudflareWorkersFetcher.d.ts.map +1 -0
- package/dist/infrastructure/http/CloudflareWorkersFetcher.js +44 -0
- package/dist/infrastructure/http/CloudflareWorkersFetcher.js.map +1 -0
- package/dist/infrastructure/http/DenoFetcher.d.ts +18 -0
- package/dist/infrastructure/http/DenoFetcher.d.ts.map +1 -0
- package/dist/infrastructure/http/DenoFetcher.js +43 -0
- package/dist/infrastructure/http/DenoFetcher.js.map +1 -0
- package/dist/infrastructure/http/Fetcher.d.ts +2 -0
- package/dist/infrastructure/http/Fetcher.d.ts.map +1 -1
- package/dist/infrastructure/http/Fetcher.js +5 -0
- package/dist/infrastructure/http/Fetcher.js.map +1 -1
- package/dist/infrastructure/monitoring/GrafanaDashboard.d.ts +571 -0
- package/dist/infrastructure/monitoring/GrafanaDashboard.d.ts.map +1 -0
- package/dist/infrastructure/monitoring/GrafanaDashboard.js +119 -0
- package/dist/infrastructure/monitoring/GrafanaDashboard.js.map +1 -0
- package/dist/infrastructure/monitoring/PrometheusExporter.d.ts +20 -0
- package/dist/infrastructure/monitoring/PrometheusExporter.d.ts.map +1 -0
- package/dist/infrastructure/monitoring/PrometheusExporter.js +77 -0
- package/dist/infrastructure/monitoring/PrometheusExporter.js.map +1 -0
- package/dist/infrastructure/monitoring/TelemetryExporter.d.ts +42 -0
- package/dist/infrastructure/monitoring/TelemetryExporter.d.ts.map +1 -0
- package/dist/infrastructure/monitoring/TelemetryExporter.js +117 -0
- package/dist/infrastructure/monitoring/TelemetryExporter.js.map +1 -0
- package/dist/infrastructure/native/NativeBackend.d.ts +13 -0
- package/dist/infrastructure/native/NativeBackend.d.ts.map +1 -0
- package/dist/infrastructure/native/NativeBackend.js +92 -0
- package/dist/infrastructure/native/NativeBackend.js.map +1 -0
- package/dist/integrations/express.d.ts +23 -0
- package/dist/integrations/express.d.ts.map +1 -0
- package/dist/integrations/express.js +49 -0
- package/dist/integrations/express.js.map +1 -0
- package/dist/integrations/graphql.d.ts +20 -0
- package/dist/integrations/graphql.d.ts.map +1 -0
- package/dist/integrations/graphql.js +85 -0
- package/dist/integrations/graphql.js.map +1 -0
- package/dist/integrations/nestjs.d.ts +18 -0
- package/dist/integrations/nestjs.d.ts.map +1 -0
- package/dist/integrations/nestjs.js +29 -0
- package/dist/integrations/nestjs.js.map +1 -0
- package/dist/shared/errors/base.error.d.ts +3 -0
- package/dist/shared/errors/base.error.d.ts.map +1 -1
- package/dist/shared/errors/base.error.js +7 -1
- package/dist/shared/errors/base.error.js.map +1 -1
- package/dist/shared/types/index.d.ts +1 -1
- package/dist/shared/types/index.d.ts.map +1 -1
- package/dist/shared/types/options.d.ts +20 -0
- package/dist/shared/types/options.d.ts.map +1 -1
- package/dist/shared/types/options.js +11 -1
- package/dist/shared/types/options.js.map +1 -1
- package/dist/shared/types/responses.d.ts +5 -0
- package/dist/shared/types/responses.d.ts.map +1 -1
- package/dist/shared/utils/deprecation.d.ts +3 -0
- package/dist/shared/utils/deprecation.d.ts.map +1 -0
- package/dist/shared/utils/deprecation.js +25 -0
- package/dist/shared/utils/deprecation.js.map +1 -0
- package/package.json +23 -1
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
export declare const RDAPIFY_GRAFANA_DASHBOARD: {
|
|
2
|
+
readonly __inputs: readonly [{
|
|
3
|
+
readonly name: "DS_PROMETHEUS";
|
|
4
|
+
readonly label: "Prometheus";
|
|
5
|
+
readonly description: "";
|
|
6
|
+
readonly type: "datasource";
|
|
7
|
+
readonly pluginId: "prometheus";
|
|
8
|
+
readonly pluginName: "Prometheus";
|
|
9
|
+
}];
|
|
10
|
+
readonly __requires: readonly [{
|
|
11
|
+
readonly type: "grafana";
|
|
12
|
+
readonly id: "grafana";
|
|
13
|
+
readonly name: "Grafana";
|
|
14
|
+
readonly version: "9.0.0";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "datasource";
|
|
17
|
+
readonly id: "prometheus";
|
|
18
|
+
readonly name: "Prometheus";
|
|
19
|
+
readonly version: "1.0.0";
|
|
20
|
+
}, {
|
|
21
|
+
readonly type: "panel";
|
|
22
|
+
readonly id: "timeseries";
|
|
23
|
+
readonly name: "Time series";
|
|
24
|
+
readonly version: "";
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "panel";
|
|
27
|
+
readonly id: "stat";
|
|
28
|
+
readonly name: "Stat";
|
|
29
|
+
readonly version: "";
|
|
30
|
+
}, {
|
|
31
|
+
readonly type: "panel";
|
|
32
|
+
readonly id: "gauge";
|
|
33
|
+
readonly name: "Gauge";
|
|
34
|
+
readonly version: "";
|
|
35
|
+
}];
|
|
36
|
+
readonly annotations: {
|
|
37
|
+
readonly list: readonly [{
|
|
38
|
+
readonly builtIn: 1;
|
|
39
|
+
readonly datasource: {
|
|
40
|
+
readonly type: "grafana";
|
|
41
|
+
readonly uid: "-- Grafana --";
|
|
42
|
+
};
|
|
43
|
+
readonly enable: true;
|
|
44
|
+
readonly hide: true;
|
|
45
|
+
readonly iconColor: "rgba(0, 211, 255, 1)";
|
|
46
|
+
readonly name: "Annotations & Alerts";
|
|
47
|
+
readonly type: "dashboard";
|
|
48
|
+
}];
|
|
49
|
+
};
|
|
50
|
+
readonly description: "RDAPify RDAP client metrics — query rates, cache performance, and error tracking";
|
|
51
|
+
readonly editable: true;
|
|
52
|
+
readonly fiscalYearStartMonth: 0;
|
|
53
|
+
readonly graphTooltip: 1;
|
|
54
|
+
readonly id: null;
|
|
55
|
+
readonly links: readonly [];
|
|
56
|
+
readonly liveNow: false;
|
|
57
|
+
readonly panels: readonly [{
|
|
58
|
+
readonly datasource: {
|
|
59
|
+
readonly type: "prometheus";
|
|
60
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
61
|
+
};
|
|
62
|
+
readonly fieldConfig: {
|
|
63
|
+
readonly defaults: {
|
|
64
|
+
readonly color: {
|
|
65
|
+
readonly mode: "thresholds";
|
|
66
|
+
};
|
|
67
|
+
readonly mappings: readonly [];
|
|
68
|
+
readonly thresholds: {
|
|
69
|
+
readonly mode: "absolute";
|
|
70
|
+
readonly steps: readonly [{
|
|
71
|
+
readonly color: "green";
|
|
72
|
+
readonly value: null;
|
|
73
|
+
}];
|
|
74
|
+
};
|
|
75
|
+
readonly unit: "short";
|
|
76
|
+
};
|
|
77
|
+
readonly overrides: readonly [];
|
|
78
|
+
};
|
|
79
|
+
readonly gridPos: {
|
|
80
|
+
readonly h: 4;
|
|
81
|
+
readonly w: 4;
|
|
82
|
+
readonly x: 0;
|
|
83
|
+
readonly y: 0;
|
|
84
|
+
};
|
|
85
|
+
readonly id: 1;
|
|
86
|
+
readonly options: {
|
|
87
|
+
readonly colorMode: "background";
|
|
88
|
+
readonly graphMode: "area";
|
|
89
|
+
readonly justifyMode: "auto";
|
|
90
|
+
readonly orientation: "auto";
|
|
91
|
+
readonly reduceOptions: {
|
|
92
|
+
readonly calcs: readonly ["lastNotNull"];
|
|
93
|
+
readonly fields: "";
|
|
94
|
+
readonly values: false;
|
|
95
|
+
};
|
|
96
|
+
readonly textMode: "auto";
|
|
97
|
+
};
|
|
98
|
+
readonly title: "Total Queries";
|
|
99
|
+
readonly type: "stat";
|
|
100
|
+
readonly targets: readonly [{
|
|
101
|
+
readonly datasource: {
|
|
102
|
+
readonly type: "prometheus";
|
|
103
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
104
|
+
};
|
|
105
|
+
readonly expr: "rdapify_queries_total";
|
|
106
|
+
readonly legendFormat: "Queries";
|
|
107
|
+
readonly refId: "A";
|
|
108
|
+
}];
|
|
109
|
+
}, {
|
|
110
|
+
readonly datasource: {
|
|
111
|
+
readonly type: "prometheus";
|
|
112
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
113
|
+
};
|
|
114
|
+
readonly fieldConfig: {
|
|
115
|
+
readonly defaults: {
|
|
116
|
+
readonly color: {
|
|
117
|
+
readonly mode: "thresholds";
|
|
118
|
+
};
|
|
119
|
+
readonly mappings: readonly [];
|
|
120
|
+
readonly thresholds: {
|
|
121
|
+
readonly mode: "absolute";
|
|
122
|
+
readonly steps: readonly [{
|
|
123
|
+
readonly color: "red";
|
|
124
|
+
readonly value: null;
|
|
125
|
+
}, {
|
|
126
|
+
readonly color: "orange";
|
|
127
|
+
readonly value: 0.8;
|
|
128
|
+
}, {
|
|
129
|
+
readonly color: "green";
|
|
130
|
+
readonly value: 0.95;
|
|
131
|
+
}];
|
|
132
|
+
};
|
|
133
|
+
readonly unit: "percentunit";
|
|
134
|
+
readonly max: 1;
|
|
135
|
+
readonly min: 0;
|
|
136
|
+
};
|
|
137
|
+
readonly overrides: readonly [];
|
|
138
|
+
};
|
|
139
|
+
readonly gridPos: {
|
|
140
|
+
readonly h: 4;
|
|
141
|
+
readonly w: 4;
|
|
142
|
+
readonly x: 4;
|
|
143
|
+
readonly y: 0;
|
|
144
|
+
};
|
|
145
|
+
readonly id: 2;
|
|
146
|
+
readonly options: {
|
|
147
|
+
readonly colorMode: "background";
|
|
148
|
+
readonly graphMode: "none";
|
|
149
|
+
readonly justifyMode: "auto";
|
|
150
|
+
readonly orientation: "auto";
|
|
151
|
+
readonly reduceOptions: {
|
|
152
|
+
readonly calcs: readonly ["lastNotNull"];
|
|
153
|
+
readonly fields: "";
|
|
154
|
+
readonly values: false;
|
|
155
|
+
};
|
|
156
|
+
readonly textMode: "auto";
|
|
157
|
+
};
|
|
158
|
+
readonly title: "Success Rate";
|
|
159
|
+
readonly type: "stat";
|
|
160
|
+
readonly targets: readonly [{
|
|
161
|
+
readonly datasource: {
|
|
162
|
+
readonly type: "prometheus";
|
|
163
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
164
|
+
};
|
|
165
|
+
readonly expr: "rdapify_success_rate";
|
|
166
|
+
readonly legendFormat: "Success Rate";
|
|
167
|
+
readonly refId: "A";
|
|
168
|
+
}];
|
|
169
|
+
}, {
|
|
170
|
+
readonly datasource: {
|
|
171
|
+
readonly type: "prometheus";
|
|
172
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
173
|
+
};
|
|
174
|
+
readonly fieldConfig: {
|
|
175
|
+
readonly defaults: {
|
|
176
|
+
readonly color: {
|
|
177
|
+
readonly mode: "thresholds";
|
|
178
|
+
};
|
|
179
|
+
readonly mappings: readonly [];
|
|
180
|
+
readonly thresholds: {
|
|
181
|
+
readonly mode: "absolute";
|
|
182
|
+
readonly steps: readonly [{
|
|
183
|
+
readonly color: "red";
|
|
184
|
+
readonly value: null;
|
|
185
|
+
}, {
|
|
186
|
+
readonly color: "orange";
|
|
187
|
+
readonly value: 0.3;
|
|
188
|
+
}, {
|
|
189
|
+
readonly color: "green";
|
|
190
|
+
readonly value: 0.7;
|
|
191
|
+
}];
|
|
192
|
+
};
|
|
193
|
+
readonly unit: "percentunit";
|
|
194
|
+
readonly max: 1;
|
|
195
|
+
readonly min: 0;
|
|
196
|
+
};
|
|
197
|
+
readonly overrides: readonly [];
|
|
198
|
+
};
|
|
199
|
+
readonly gridPos: {
|
|
200
|
+
readonly h: 4;
|
|
201
|
+
readonly w: 4;
|
|
202
|
+
readonly x: 8;
|
|
203
|
+
readonly y: 0;
|
|
204
|
+
};
|
|
205
|
+
readonly id: 3;
|
|
206
|
+
readonly options: {
|
|
207
|
+
readonly colorMode: "background";
|
|
208
|
+
readonly graphMode: "none";
|
|
209
|
+
readonly justifyMode: "auto";
|
|
210
|
+
readonly orientation: "auto";
|
|
211
|
+
readonly reduceOptions: {
|
|
212
|
+
readonly calcs: readonly ["lastNotNull"];
|
|
213
|
+
readonly fields: "";
|
|
214
|
+
readonly values: false;
|
|
215
|
+
};
|
|
216
|
+
readonly textMode: "auto";
|
|
217
|
+
};
|
|
218
|
+
readonly title: "Cache Hit Rate";
|
|
219
|
+
readonly type: "stat";
|
|
220
|
+
readonly targets: readonly [{
|
|
221
|
+
readonly datasource: {
|
|
222
|
+
readonly type: "prometheus";
|
|
223
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
224
|
+
};
|
|
225
|
+
readonly expr: "rdapify_cache_hit_rate";
|
|
226
|
+
readonly legendFormat: "Cache Hit Rate";
|
|
227
|
+
readonly refId: "A";
|
|
228
|
+
}];
|
|
229
|
+
}, {
|
|
230
|
+
readonly datasource: {
|
|
231
|
+
readonly type: "prometheus";
|
|
232
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
233
|
+
};
|
|
234
|
+
readonly fieldConfig: {
|
|
235
|
+
readonly defaults: {
|
|
236
|
+
readonly color: {
|
|
237
|
+
readonly mode: "thresholds";
|
|
238
|
+
};
|
|
239
|
+
readonly mappings: readonly [];
|
|
240
|
+
readonly thresholds: {
|
|
241
|
+
readonly mode: "absolute";
|
|
242
|
+
readonly steps: readonly [{
|
|
243
|
+
readonly color: "green";
|
|
244
|
+
readonly value: null;
|
|
245
|
+
}, {
|
|
246
|
+
readonly color: "orange";
|
|
247
|
+
readonly value: 500;
|
|
248
|
+
}, {
|
|
249
|
+
readonly color: "red";
|
|
250
|
+
readonly value: 2000;
|
|
251
|
+
}];
|
|
252
|
+
};
|
|
253
|
+
readonly unit: "ms";
|
|
254
|
+
};
|
|
255
|
+
readonly overrides: readonly [];
|
|
256
|
+
};
|
|
257
|
+
readonly gridPos: {
|
|
258
|
+
readonly h: 4;
|
|
259
|
+
readonly w: 4;
|
|
260
|
+
readonly x: 12;
|
|
261
|
+
readonly y: 0;
|
|
262
|
+
};
|
|
263
|
+
readonly id: 4;
|
|
264
|
+
readonly options: {
|
|
265
|
+
readonly colorMode: "value";
|
|
266
|
+
readonly graphMode: "area";
|
|
267
|
+
readonly justifyMode: "auto";
|
|
268
|
+
readonly orientation: "auto";
|
|
269
|
+
readonly reduceOptions: {
|
|
270
|
+
readonly calcs: readonly ["lastNotNull"];
|
|
271
|
+
readonly fields: "";
|
|
272
|
+
readonly values: false;
|
|
273
|
+
};
|
|
274
|
+
readonly textMode: "auto";
|
|
275
|
+
};
|
|
276
|
+
readonly title: "Avg Response Time";
|
|
277
|
+
readonly type: "stat";
|
|
278
|
+
readonly targets: readonly [{
|
|
279
|
+
readonly datasource: {
|
|
280
|
+
readonly type: "prometheus";
|
|
281
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
282
|
+
};
|
|
283
|
+
readonly expr: "rdapify_response_time_avg_ms";
|
|
284
|
+
readonly legendFormat: "Avg";
|
|
285
|
+
readonly refId: "A";
|
|
286
|
+
}];
|
|
287
|
+
}, {
|
|
288
|
+
readonly datasource: {
|
|
289
|
+
readonly type: "prometheus";
|
|
290
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
291
|
+
};
|
|
292
|
+
readonly fieldConfig: {
|
|
293
|
+
readonly defaults: {
|
|
294
|
+
readonly color: {
|
|
295
|
+
readonly mode: "palette-classic";
|
|
296
|
+
};
|
|
297
|
+
readonly custom: {
|
|
298
|
+
readonly axisCenteredZero: false;
|
|
299
|
+
readonly axisColorMode: "text";
|
|
300
|
+
readonly axisLabel: "";
|
|
301
|
+
readonly axisPlacement: "auto";
|
|
302
|
+
readonly barAlignment: 0;
|
|
303
|
+
readonly drawStyle: "line";
|
|
304
|
+
readonly fillOpacity: 10;
|
|
305
|
+
readonly gradientMode: "none";
|
|
306
|
+
readonly hideFrom: {
|
|
307
|
+
readonly legend: false;
|
|
308
|
+
readonly tooltip: false;
|
|
309
|
+
readonly viz: false;
|
|
310
|
+
};
|
|
311
|
+
readonly lineInterpolation: "linear";
|
|
312
|
+
readonly lineWidth: 1;
|
|
313
|
+
readonly pointSize: 5;
|
|
314
|
+
readonly scaleDistribution: {
|
|
315
|
+
readonly type: "linear";
|
|
316
|
+
};
|
|
317
|
+
readonly showPoints: "auto";
|
|
318
|
+
readonly spanNulls: false;
|
|
319
|
+
readonly stacking: {
|
|
320
|
+
readonly group: "A";
|
|
321
|
+
readonly mode: "none";
|
|
322
|
+
};
|
|
323
|
+
readonly thresholdsStyle: {
|
|
324
|
+
readonly mode: "off";
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
readonly mappings: readonly [];
|
|
328
|
+
readonly thresholds: {
|
|
329
|
+
readonly mode: "absolute";
|
|
330
|
+
readonly steps: readonly [{
|
|
331
|
+
readonly color: "green";
|
|
332
|
+
readonly value: null;
|
|
333
|
+
}, {
|
|
334
|
+
readonly color: "red";
|
|
335
|
+
readonly value: 80;
|
|
336
|
+
}];
|
|
337
|
+
};
|
|
338
|
+
readonly unit: "ms";
|
|
339
|
+
};
|
|
340
|
+
readonly overrides: readonly [];
|
|
341
|
+
};
|
|
342
|
+
readonly gridPos: {
|
|
343
|
+
readonly h: 8;
|
|
344
|
+
readonly w: 12;
|
|
345
|
+
readonly x: 0;
|
|
346
|
+
readonly y: 4;
|
|
347
|
+
};
|
|
348
|
+
readonly id: 5;
|
|
349
|
+
readonly options: {
|
|
350
|
+
readonly legend: {
|
|
351
|
+
readonly calcs: readonly [];
|
|
352
|
+
readonly displayMode: "list";
|
|
353
|
+
readonly placement: "bottom";
|
|
354
|
+
readonly showLegend: true;
|
|
355
|
+
};
|
|
356
|
+
readonly tooltip: {
|
|
357
|
+
readonly mode: "single";
|
|
358
|
+
readonly sort: "none";
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
readonly title: "Response Time Percentiles";
|
|
362
|
+
readonly type: "timeseries";
|
|
363
|
+
readonly targets: readonly [{
|
|
364
|
+
readonly datasource: {
|
|
365
|
+
readonly type: "prometheus";
|
|
366
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
367
|
+
};
|
|
368
|
+
readonly expr: "rdapify_response_time_p50_ms";
|
|
369
|
+
readonly legendFormat: "P50";
|
|
370
|
+
readonly refId: "A";
|
|
371
|
+
}, {
|
|
372
|
+
readonly datasource: {
|
|
373
|
+
readonly type: "prometheus";
|
|
374
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
375
|
+
};
|
|
376
|
+
readonly expr: "rdapify_response_time_p90_ms";
|
|
377
|
+
readonly legendFormat: "P90";
|
|
378
|
+
readonly refId: "B";
|
|
379
|
+
}, {
|
|
380
|
+
readonly datasource: {
|
|
381
|
+
readonly type: "prometheus";
|
|
382
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
383
|
+
};
|
|
384
|
+
readonly expr: "rdapify_response_time_p99_ms";
|
|
385
|
+
readonly legendFormat: "P99";
|
|
386
|
+
readonly refId: "C";
|
|
387
|
+
}];
|
|
388
|
+
}, {
|
|
389
|
+
readonly datasource: {
|
|
390
|
+
readonly type: "prometheus";
|
|
391
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
392
|
+
};
|
|
393
|
+
readonly fieldConfig: {
|
|
394
|
+
readonly defaults: {
|
|
395
|
+
readonly color: {
|
|
396
|
+
readonly mode: "palette-classic";
|
|
397
|
+
};
|
|
398
|
+
readonly custom: {
|
|
399
|
+
readonly axisCenteredZero: false;
|
|
400
|
+
readonly axisColorMode: "text";
|
|
401
|
+
readonly axisLabel: "";
|
|
402
|
+
readonly axisPlacement: "auto";
|
|
403
|
+
readonly barAlignment: 0;
|
|
404
|
+
readonly drawStyle: "line";
|
|
405
|
+
readonly fillOpacity: 10;
|
|
406
|
+
readonly gradientMode: "none";
|
|
407
|
+
readonly hideFrom: {
|
|
408
|
+
readonly legend: false;
|
|
409
|
+
readonly tooltip: false;
|
|
410
|
+
readonly viz: false;
|
|
411
|
+
};
|
|
412
|
+
readonly lineInterpolation: "linear";
|
|
413
|
+
readonly lineWidth: 1;
|
|
414
|
+
readonly pointSize: 5;
|
|
415
|
+
readonly scaleDistribution: {
|
|
416
|
+
readonly type: "linear";
|
|
417
|
+
};
|
|
418
|
+
readonly showPoints: "auto";
|
|
419
|
+
readonly spanNulls: false;
|
|
420
|
+
readonly stacking: {
|
|
421
|
+
readonly group: "A";
|
|
422
|
+
readonly mode: "none";
|
|
423
|
+
};
|
|
424
|
+
readonly thresholdsStyle: {
|
|
425
|
+
readonly mode: "off";
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
readonly mappings: readonly [];
|
|
429
|
+
readonly thresholds: {
|
|
430
|
+
readonly mode: "absolute";
|
|
431
|
+
readonly steps: readonly [{
|
|
432
|
+
readonly color: "green";
|
|
433
|
+
readonly value: null;
|
|
434
|
+
}];
|
|
435
|
+
};
|
|
436
|
+
readonly unit: "short";
|
|
437
|
+
};
|
|
438
|
+
readonly overrides: readonly [];
|
|
439
|
+
};
|
|
440
|
+
readonly gridPos: {
|
|
441
|
+
readonly h: 8;
|
|
442
|
+
readonly w: 12;
|
|
443
|
+
readonly x: 12;
|
|
444
|
+
readonly y: 4;
|
|
445
|
+
};
|
|
446
|
+
readonly id: 6;
|
|
447
|
+
readonly options: {
|
|
448
|
+
readonly legend: {
|
|
449
|
+
readonly calcs: readonly [];
|
|
450
|
+
readonly displayMode: "list";
|
|
451
|
+
readonly placement: "bottom";
|
|
452
|
+
readonly showLegend: true;
|
|
453
|
+
};
|
|
454
|
+
readonly tooltip: {
|
|
455
|
+
readonly mode: "single";
|
|
456
|
+
readonly sort: "none";
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
readonly title: "Queries by Type";
|
|
460
|
+
readonly type: "timeseries";
|
|
461
|
+
readonly targets: readonly [{
|
|
462
|
+
readonly datasource: {
|
|
463
|
+
readonly type: "prometheus";
|
|
464
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
465
|
+
};
|
|
466
|
+
readonly expr: "rdapify_queries_by_type_total";
|
|
467
|
+
readonly legendFormat: "{{type}}";
|
|
468
|
+
readonly refId: "A";
|
|
469
|
+
}];
|
|
470
|
+
}, {
|
|
471
|
+
readonly datasource: {
|
|
472
|
+
readonly type: "prometheus";
|
|
473
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
474
|
+
};
|
|
475
|
+
readonly fieldConfig: {
|
|
476
|
+
readonly defaults: {
|
|
477
|
+
readonly color: {
|
|
478
|
+
readonly mode: "palette-classic";
|
|
479
|
+
};
|
|
480
|
+
readonly custom: {
|
|
481
|
+
readonly axisCenteredZero: false;
|
|
482
|
+
readonly axisColorMode: "text";
|
|
483
|
+
readonly axisLabel: "";
|
|
484
|
+
readonly axisPlacement: "auto";
|
|
485
|
+
readonly barAlignment: 0;
|
|
486
|
+
readonly drawStyle: "bars";
|
|
487
|
+
readonly fillOpacity: 80;
|
|
488
|
+
readonly gradientMode: "none";
|
|
489
|
+
readonly hideFrom: {
|
|
490
|
+
readonly legend: false;
|
|
491
|
+
readonly tooltip: false;
|
|
492
|
+
readonly viz: false;
|
|
493
|
+
};
|
|
494
|
+
readonly lineInterpolation: "linear";
|
|
495
|
+
readonly lineWidth: 1;
|
|
496
|
+
readonly pointSize: 5;
|
|
497
|
+
readonly scaleDistribution: {
|
|
498
|
+
readonly type: "linear";
|
|
499
|
+
};
|
|
500
|
+
readonly showPoints: "auto";
|
|
501
|
+
readonly spanNulls: false;
|
|
502
|
+
readonly stacking: {
|
|
503
|
+
readonly group: "A";
|
|
504
|
+
readonly mode: "normal";
|
|
505
|
+
};
|
|
506
|
+
readonly thresholdsStyle: {
|
|
507
|
+
readonly mode: "off";
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
readonly mappings: readonly [];
|
|
511
|
+
readonly thresholds: {
|
|
512
|
+
readonly mode: "absolute";
|
|
513
|
+
readonly steps: readonly [{
|
|
514
|
+
readonly color: "green";
|
|
515
|
+
readonly value: null;
|
|
516
|
+
}];
|
|
517
|
+
};
|
|
518
|
+
readonly unit: "short";
|
|
519
|
+
};
|
|
520
|
+
readonly overrides: readonly [];
|
|
521
|
+
};
|
|
522
|
+
readonly gridPos: {
|
|
523
|
+
readonly h: 8;
|
|
524
|
+
readonly w: 24;
|
|
525
|
+
readonly x: 0;
|
|
526
|
+
readonly y: 12;
|
|
527
|
+
};
|
|
528
|
+
readonly id: 7;
|
|
529
|
+
readonly options: {
|
|
530
|
+
readonly legend: {
|
|
531
|
+
readonly calcs: readonly [];
|
|
532
|
+
readonly displayMode: "list";
|
|
533
|
+
readonly placement: "bottom";
|
|
534
|
+
readonly showLegend: true;
|
|
535
|
+
};
|
|
536
|
+
readonly tooltip: {
|
|
537
|
+
readonly mode: "single";
|
|
538
|
+
readonly sort: "none";
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
readonly title: "Errors by Type";
|
|
542
|
+
readonly type: "timeseries";
|
|
543
|
+
readonly targets: readonly [{
|
|
544
|
+
readonly datasource: {
|
|
545
|
+
readonly type: "prometheus";
|
|
546
|
+
readonly uid: "${DS_PROMETHEUS}";
|
|
547
|
+
};
|
|
548
|
+
readonly expr: "rdapify_errors_by_type_total";
|
|
549
|
+
readonly legendFormat: "{{error_type}}";
|
|
550
|
+
readonly refId: "A";
|
|
551
|
+
}];
|
|
552
|
+
}];
|
|
553
|
+
readonly refresh: "30s";
|
|
554
|
+
readonly schemaVersion: 38;
|
|
555
|
+
readonly style: "dark";
|
|
556
|
+
readonly tags: readonly ["rdapify", "rdap"];
|
|
557
|
+
readonly templating: {
|
|
558
|
+
readonly list: readonly [];
|
|
559
|
+
};
|
|
560
|
+
readonly time: {
|
|
561
|
+
readonly from: "now-1h";
|
|
562
|
+
readonly to: "now";
|
|
563
|
+
};
|
|
564
|
+
readonly timepicker: {};
|
|
565
|
+
readonly timezone: "";
|
|
566
|
+
readonly title: "RDAPify";
|
|
567
|
+
readonly uid: "rdapify-dashboard";
|
|
568
|
+
readonly version: 1;
|
|
569
|
+
readonly weekStart: "";
|
|
570
|
+
};
|
|
571
|
+
//# sourceMappingURL=GrafanaDashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrafanaDashboard.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/monitoring/GrafanaDashboard.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsH5B,CAAC"}
|