@midwayjs/prometheus 3.1.7-beta.1 → 3.2.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2013 - Now midwayjs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { PrometheusConfig } from './dist/index';
2
2
 
3
3
  export * from './dist/index';
4
4
 
5
- declare module '@midwayjs/core/dist/interface' {
5
+ declare module '@midwayjs/core' {
6
6
  interface MidwayConfig {
7
7
  prometheus?: PrometheusConfig;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/prometheus",
3
- "version": "3.1.7-beta.1",
3
+ "version": "3.2.0",
4
4
  "description": "midway component for prometheus",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
@@ -23,10 +23,10 @@
23
23
  ],
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@midwayjs/core": "^3.1.6",
26
+ "@midwayjs/core": "^3.2.0",
27
27
  "@midwayjs/decorator": "^3.1.6",
28
- "@midwayjs/koa": "^3.1.6",
29
- "@midwayjs/mock": "^3.1.6",
28
+ "@midwayjs/koa": "^3.2.0",
29
+ "@midwayjs/mock": "^3.2.0",
30
30
  "@types/request": "2.48.8"
31
31
  },
32
32
  "dependencies": {
@@ -35,5 +35,6 @@
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=12"
38
- }
38
+ },
39
+ "gitHead": "cee3e5ddbb4f0cc5f80176a7b1e271e809686a97"
39
40
  }
package/CHANGELOG.md DELETED
@@ -1,539 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [3.1.6](https://github.com/midwayjs/midway/compare/v3.1.5...v3.1.6) (2022-03-21)
7
-
8
- **Note:** Version bump only for package @midwayjs/prometheus
9
-
10
-
11
-
12
-
13
-
14
- ## [3.1.5](https://github.com/midwayjs/midway/compare/v3.1.4...v3.1.5) (2022-03-18)
15
-
16
- **Note:** Version bump only for package @midwayjs/prometheus
17
-
18
-
19
-
20
-
21
-
22
- ## [3.1.2](https://github.com/midwayjs/midway/compare/v3.1.1...v3.1.2) (2022-03-15)
23
-
24
- **Note:** Version bump only for package @midwayjs/prometheus
25
-
26
-
27
-
28
-
29
-
30
- ## [3.1.1](https://github.com/midwayjs/midway/compare/v3.1.0...v3.1.1) (2022-03-09)
31
-
32
- **Note:** Version bump only for package @midwayjs/prometheus
33
-
34
-
35
-
36
-
37
-
38
- # [3.1.0](https://github.com/midwayjs/midway/compare/v3.0.13...v3.1.0) (2022-03-07)
39
-
40
- **Note:** Version bump only for package @midwayjs/prometheus
41
-
42
-
43
-
44
-
45
-
46
- ## [3.0.13](https://github.com/midwayjs/midway/compare/v3.0.12...v3.0.13) (2022-03-01)
47
-
48
- **Note:** Version bump only for package @midwayjs/prometheus
49
-
50
-
51
-
52
-
53
-
54
- ## [3.0.11](https://github.com/midwayjs/midway/compare/v3.0.10...v3.0.11) (2022-02-25)
55
-
56
- **Note:** Version bump only for package @midwayjs/prometheus
57
-
58
-
59
-
60
-
61
-
62
- ## [3.0.10](https://github.com/midwayjs/midway/compare/v3.0.9...v3.0.10) (2022-02-24)
63
-
64
- **Note:** Version bump only for package @midwayjs/prometheus
65
-
66
-
67
-
68
-
69
-
70
- ## [3.0.9](https://github.com/midwayjs/midway/compare/v3.0.8...v3.0.9) (2022-02-21)
71
-
72
- **Note:** Version bump only for package @midwayjs/prometheus
73
-
74
-
75
-
76
-
77
-
78
- ## [3.0.8](https://github.com/midwayjs/midway/compare/v3.0.7...v3.0.8) (2022-02-19)
79
-
80
- **Note:** Version bump only for package @midwayjs/prometheus
81
-
82
-
83
-
84
-
85
-
86
- ## [3.0.7](https://github.com/midwayjs/midway/compare/v3.0.6...v3.0.7) (2022-02-17)
87
-
88
- **Note:** Version bump only for package @midwayjs/prometheus
89
-
90
-
91
-
92
-
93
-
94
- ## [3.0.6](https://github.com/midwayjs/midway/compare/v3.0.5...v3.0.6) (2022-02-13)
95
-
96
- **Note:** Version bump only for package @midwayjs/prometheus
97
-
98
-
99
-
100
-
101
-
102
- ## [3.0.5](https://github.com/midwayjs/midway/compare/v3.0.4...v3.0.5) (2022-02-10)
103
-
104
- **Note:** Version bump only for package @midwayjs/prometheus
105
-
106
-
107
-
108
-
109
-
110
- ## [3.0.4](https://github.com/midwayjs/midway/compare/v3.0.3...v3.0.4) (2022-02-09)
111
-
112
-
113
- ### Bug Fixes
114
-
115
- * supertest typings and createFunctionApp ([#1642](https://github.com/midwayjs/midway/issues/1642)) ([484f4f4](https://github.com/midwayjs/midway/commit/484f4f41b3b9e889d4d285f4871a0b37fa51e73f))
116
-
117
-
118
-
119
-
120
-
121
- ## [3.0.3](https://github.com/midwayjs/midway/compare/v3.0.2...v3.0.3) (2022-01-28)
122
-
123
- **Note:** Version bump only for package @midwayjs/prometheus
124
-
125
-
126
-
127
-
128
-
129
- ## [3.0.2](https://github.com/midwayjs/midway/compare/v3.0.1...v3.0.2) (2022-01-24)
130
-
131
-
132
- ### Bug Fixes
133
-
134
- * singleton invoke request scope not valid ([#1622](https://github.com/midwayjs/midway/issues/1622)) ([f97c063](https://github.com/midwayjs/midway/commit/f97c0632107b47cf357d17774a4e4bb5233bba57))
135
-
136
-
137
-
138
-
139
-
140
- ## [3.0.1](https://github.com/midwayjs/midway/compare/v3.0.0...v3.0.1) (2022-01-24)
141
-
142
- **Note:** Version bump only for package @midwayjs/prometheus
143
-
144
-
145
-
146
-
147
-
148
- # [3.0.0](https://github.com/midwayjs/midway/compare/v3.0.0-beta.17...v3.0.0) (2022-01-20)
149
-
150
- **Note:** Version bump only for package @midwayjs/prometheus
151
-
152
-
153
-
154
-
155
-
156
- # [3.0.0-beta.17](https://github.com/midwayjs/midway/compare/v3.0.0-beta.16...v3.0.0-beta.17) (2022-01-18)
157
-
158
- **Note:** Version bump only for package @midwayjs/prometheus
159
-
160
-
161
-
162
-
163
-
164
- # [3.0.0-beta.16](https://github.com/midwayjs/midway/compare/v3.0.0-beta.15...v3.0.0-beta.16) (2022-01-11)
165
-
166
- **Note:** Version bump only for package @midwayjs/prometheus
167
-
168
-
169
-
170
-
171
-
172
- # [3.0.0-beta.15](https://github.com/midwayjs/midway/compare/v3.0.0-beta.14...v3.0.0-beta.15) (2022-01-07)
173
-
174
- **Note:** Version bump only for package @midwayjs/prometheus
175
-
176
-
177
-
178
-
179
-
180
- # [3.0.0-beta.14](https://github.com/midwayjs/midway/compare/v3.0.0-beta.13...v3.0.0-beta.14) (2022-01-04)
181
-
182
-
183
- ### Bug Fixes
184
-
185
- * cos config definition & 3.x doc update ([#1515](https://github.com/midwayjs/midway/issues/1515)) ([0ac7ac5](https://github.com/midwayjs/midway/commit/0ac7ac5805b7ab8873f8792fc1712a74e3223172))
186
- * **deps:** update dependency prom-client to v14 ([#1486](https://github.com/midwayjs/midway/issues/1486)) ([87b6678](https://github.com/midwayjs/midway/commit/87b6678b179e239f8dbe5d0adb935df2c713d94b))
187
-
188
-
189
-
190
-
191
-
192
- # [3.0.0-beta.13](https://github.com/midwayjs/midway/compare/v3.0.0-beta.12...v3.0.0-beta.13) (2021-12-30)
193
-
194
- **Note:** Version bump only for package @midwayjs/prometheus
195
-
196
-
197
-
198
-
199
-
200
- # [3.0.0-beta.12](https://github.com/midwayjs/midway/compare/v3.0.0-beta.11...v3.0.0-beta.12) (2021-12-28)
201
-
202
- **Note:** Version bump only for package @midwayjs/prometheus
203
-
204
-
205
-
206
-
207
-
208
- # [3.0.0-beta.11](https://github.com/midwayjs/midway/compare/v3.0.0-beta.10...v3.0.0-beta.11) (2021-12-21)
209
-
210
- **Note:** Version bump only for package @midwayjs/prometheus
211
-
212
-
213
-
214
-
215
-
216
- # [3.0.0-beta.10](https://github.com/midwayjs/midway/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2021-12-20)
217
-
218
- **Note:** Version bump only for package @midwayjs/prometheus
219
-
220
-
221
-
222
-
223
-
224
- # [3.0.0-beta.9](https://github.com/midwayjs/midway/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2021-12-09)
225
-
226
- **Note:** Version bump only for package @midwayjs/prometheus
227
-
228
-
229
-
230
-
231
-
232
- # [3.0.0-beta.8](https://github.com/midwayjs/midway/compare/v3.0.0-beta.7...v3.0.0-beta.8) (2021-12-08)
233
-
234
- **Note:** Version bump only for package @midwayjs/prometheus
235
-
236
-
237
-
238
-
239
-
240
- # [3.0.0-beta.7](https://github.com/midwayjs/midway/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2021-12-03)
241
-
242
-
243
- ### Bug Fixes
244
-
245
- * add app.keys ([#1395](https://github.com/midwayjs/midway/issues/1395)) ([c44afc6](https://github.com/midwayjs/midway/commit/c44afc6cc6764a959d1fa7ae04d60099282d156a))
246
-
247
-
248
-
249
-
250
-
251
- # [3.0.0-beta.6](https://github.com/midwayjs/midway/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2021-11-26)
252
-
253
- **Note:** Version bump only for package @midwayjs/prometheus
254
-
255
-
256
-
257
-
258
-
259
- # [3.0.0-beta.5](https://github.com/midwayjs/midway/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2021-11-25)
260
-
261
- **Note:** Version bump only for package @midwayjs/prometheus
262
-
263
-
264
-
265
-
266
-
267
- # [3.0.0-beta.4](https://github.com/midwayjs/midway/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2021-11-24)
268
-
269
- **Note:** Version bump only for package @midwayjs/prometheus
270
-
271
-
272
-
273
-
274
-
275
- # [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
276
-
277
-
278
- ### Features
279
-
280
- * add component and framework config definition ([#1367](https://github.com/midwayjs/midway/issues/1367)) ([b2fe615](https://github.com/midwayjs/midway/commit/b2fe6157f99659471ff1333eca0b86bb889f61a3))
281
-
282
-
283
-
284
-
285
-
286
- # [3.0.0-beta.2](https://github.com/midwayjs/midway/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2021-11-16)
287
-
288
- **Note:** Version bump only for package @midwayjs/prometheus
289
-
290
-
291
-
292
-
293
-
294
- # [3.0.0-beta.1](https://github.com/midwayjs/midway/compare/v2.12.4...v3.0.0-beta.1) (2021-11-14)
295
-
296
-
297
- ### Bug Fixes
298
-
299
- * node v16 typings ([#1269](https://github.com/midwayjs/midway/issues/1269)) ([e3443b5](https://github.com/midwayjs/midway/commit/e3443b58fc1faddadf1e95dd03a2f319410941bb))
300
-
301
-
302
- ### Features
303
-
304
- * add setDiff ([#1263](https://github.com/midwayjs/midway/issues/1263)) ([9dd1a08](https://github.com/midwayjs/midway/commit/9dd1a08326540da52abf79cf31182d4e63b7f4d9))
305
-
306
-
307
-
308
-
309
-
310
- ## [2.12.3](https://github.com/midwayjs/midway/compare/v2.12.2...v2.12.3) (2021-08-09)
311
-
312
- **Note:** Version bump only for package @midwayjs/prometheus
313
-
314
-
315
-
316
-
317
-
318
- ## [2.12.1](https://github.com/midwayjs/midway/compare/v2.12.0...v2.12.1) (2021-08-01)
319
-
320
- **Note:** Version bump only for package @midwayjs/prometheus
321
-
322
-
323
-
324
-
325
-
326
- # [2.12.0](https://github.com/midwayjs/midway/compare/v2.11.7...v2.12.0) (2021-07-30)
327
-
328
- **Note:** Version bump only for package @midwayjs/prometheus
329
-
330
-
331
-
332
-
333
-
334
- ## [2.11.6](https://github.com/midwayjs/midway/compare/v2.11.5...v2.11.6) (2021-07-16)
335
-
336
- **Note:** Version bump only for package @midwayjs/prometheus
337
-
338
-
339
-
340
-
341
-
342
- ## [2.11.5](https://github.com/midwayjs/midway/compare/v2.11.4...v2.11.5) (2021-07-15)
343
-
344
- **Note:** Version bump only for package @midwayjs/prometheus
345
-
346
-
347
-
348
-
349
-
350
- ## [2.11.4](https://github.com/midwayjs/midway/compare/v2.11.3...v2.11.4) (2021-07-06)
351
-
352
- **Note:** Version bump only for package @midwayjs/prometheus
353
-
354
-
355
-
356
-
357
-
358
- ## [2.11.3](https://github.com/midwayjs/midway/compare/v2.11.2...v2.11.3) (2021-07-02)
359
-
360
-
361
- ### Bug Fixes
362
-
363
- * **prometheus:** this.http_server may undefined onStop ([#1124](https://github.com/midwayjs/midway/issues/1124)) ([300a3ec](https://github.com/midwayjs/midway/commit/300a3ec9d308e4f32b7b266f41370dd920145e0b))
364
-
365
-
366
-
367
-
368
-
369
- ## [2.11.2](https://github.com/midwayjs/midway/compare/v2.11.1...v2.11.2) (2021-06-28)
370
-
371
- **Note:** Version bump only for package @midwayjs/prometheus
372
-
373
-
374
-
375
-
376
-
377
- ## [2.11.1](https://github.com/midwayjs/midway/compare/v2.11.0...v2.11.1) (2021-06-19)
378
-
379
- **Note:** Version bump only for package @midwayjs/prometheus
380
-
381
-
382
-
383
-
384
-
385
- # [2.11.0](https://github.com/midwayjs/midway/compare/v2.10.19...v2.11.0) (2021-06-10)
386
-
387
- **Note:** Version bump only for package @midwayjs/prometheus
388
-
389
-
390
-
391
-
392
-
393
- ## [2.10.18](https://github.com/midwayjs/midway/compare/v2.10.17...v2.10.18) (2021-05-26)
394
-
395
-
396
- ### Features
397
-
398
- * add zlib logger file ([#1038](https://github.com/midwayjs/midway/issues/1038)) ([2ae9131](https://github.com/midwayjs/midway/commit/2ae9131b8c8745d2840c40a5d50aa2d3f73bafbf))
399
-
400
-
401
-
402
-
403
-
404
- ## [2.10.16](https://github.com/midwayjs/midway/compare/v2.10.15...v2.10.16) (2021-05-17)
405
-
406
-
407
- ### Bug Fixes
408
-
409
- * **prometheus:** bootstrap for egg ([#1045](https://github.com/midwayjs/midway/issues/1045)) ([aeb0888](https://github.com/midwayjs/midway/commit/aeb0888930d35a3e13a139f30ce4c39710823cfa))
410
-
411
-
412
-
413
-
414
-
415
- ## [2.10.15](https://github.com/midwayjs/midway/compare/v2.10.14...v2.10.15) (2021-05-12)
416
-
417
-
418
- ### Features
419
-
420
- * prometheus qps rt ([#1039](https://github.com/midwayjs/midway/issues/1039)) ([398203e](https://github.com/midwayjs/midway/commit/398203e8f371e74a8c0aeff476c814e764e2b5df))
421
-
422
-
423
-
424
-
425
-
426
- ## [2.10.14](https://github.com/midwayjs/midway/compare/v2.10.13...v2.10.14) (2021-05-11)
427
-
428
- **Note:** Version bump only for package @midwayjs/prometheus
429
-
430
-
431
-
432
-
433
-
434
- ## [2.10.13](https://github.com/midwayjs/midway/compare/v2.10.12...v2.10.13) (2021-05-08)
435
-
436
- **Note:** Version bump only for package @midwayjs/prometheus
437
-
438
-
439
-
440
-
441
-
442
- ## [2.10.12](https://github.com/midwayjs/midway/compare/v2.10.11...v2.10.12) (2021-05-07)
443
-
444
- **Note:** Version bump only for package @midwayjs/prometheus
445
-
446
-
447
-
448
-
449
-
450
- ## [2.10.11](https://github.com/midwayjs/midway/compare/v2.10.10...v2.10.11) (2021-04-29)
451
-
452
- **Note:** Version bump only for package @midwayjs/prometheus
453
-
454
-
455
-
456
-
457
-
458
- ## [2.10.10](https://github.com/midwayjs/midway/compare/v2.10.9...v2.10.10) (2021-04-24)
459
-
460
- **Note:** Version bump only for package @midwayjs/prometheus
461
-
462
-
463
-
464
-
465
-
466
- ## [2.10.9](https://github.com/midwayjs/midway/compare/v2.10.8...v2.10.9) (2021-04-21)
467
-
468
- **Note:** Version bump only for package @midwayjs/prometheus
469
-
470
-
471
-
472
-
473
-
474
- ## [2.10.8](https://github.com/midwayjs/midway/compare/v2.10.7...v2.10.8) (2021-04-21)
475
-
476
- **Note:** Version bump only for package @midwayjs/prometheus
477
-
478
-
479
-
480
-
481
-
482
- ## [2.10.7](https://github.com/midwayjs/midway/compare/v2.10.6...v2.10.7) (2021-04-17)
483
-
484
-
485
- ### Bug Fixes
486
-
487
- * add event name args ([#986](https://github.com/midwayjs/midway/issues/986)) ([bfd8232](https://github.com/midwayjs/midway/commit/bfd82320aee8600d8fa30bd2821a0e68c80fd755))
488
- * format ([#997](https://github.com/midwayjs/midway/issues/997)) ([456cc14](https://github.com/midwayjs/midway/commit/456cc14513bdb000d1aa3130e9719caf7a8a803f))
489
-
490
-
491
-
492
-
493
-
494
- ## [2.10.6](https://github.com/midwayjs/midway/compare/v2.10.5...v2.10.6) (2021-04-14)
495
-
496
- **Note:** Version bump only for package @midwayjs/prometheus
497
-
498
-
499
-
500
-
501
-
502
- ## [2.10.5](https://github.com/midwayjs/midway/compare/v2.10.4...v2.10.5) (2021-04-13)
503
-
504
- **Note:** Version bump only for package @midwayjs/prometheus
505
-
506
-
507
-
508
-
509
-
510
- ## [2.10.4](https://github.com/midwayjs/midway/compare/v2.10.3...v2.10.4) (2021-04-10)
511
-
512
- **Note:** Version bump only for package @midwayjs/prometheus
513
-
514
-
515
-
516
-
517
-
518
- ## [2.10.3](https://github.com/midwayjs/midway/compare/v2.10.2...v2.10.3) (2021-04-07)
519
-
520
- **Note:** Version bump only for package @midwayjs/prometheus
521
-
522
-
523
-
524
-
525
-
526
- ## [2.10.2](https://github.com/midwayjs/midway/compare/v2.10.1...v2.10.2) (2021-04-05)
527
-
528
- **Note:** Version bump only for package @midwayjs/prometheus
529
-
530
-
531
-
532
-
533
-
534
- # [2.10.0](https://github.com/midwayjs/midway/compare/v2.9.3...v2.10.0) (2021-04-02)
535
-
536
-
537
- ### Features
538
-
539
- * support prometheus client ([#963](https://github.com/midwayjs/midway/issues/963)) ([b0edd42](https://github.com/midwayjs/midway/commit/b0edd428cbda986a472b8fa3055de1bdfb54b146))