@conduitplatform/module-tools 0.16.13 → 0.16.15
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/dist/index.cjs +71 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +71 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/metrics/index.d.ts +2 -1
- package/package.json +4 -4
package/dist/metrics/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Counter, CounterConfiguration, Gauge, GaugeConfiguration, Histogram, HistogramConfiguration, LabelValues, MetricConfiguration, Summary, SummaryConfiguration } from 'prom-client';
|
|
1
|
+
import { Counter, CounterConfiguration, Gauge, GaugeConfiguration, Histogram, HistogramConfiguration, LabelValues, MetricConfiguration, Registry, Summary, SummaryConfiguration } from 'prom-client';
|
|
2
2
|
import { IConduitMetrics, MetricType } from '@conduitplatform/grpc-sdk';
|
|
3
3
|
export declare class ConduitMetrics implements IConduitMetrics {
|
|
4
4
|
private readonly moduleName;
|
|
@@ -6,6 +6,7 @@ export declare class ConduitMetrics implements IConduitMetrics {
|
|
|
6
6
|
private readonly _registry;
|
|
7
7
|
private _httpServer;
|
|
8
8
|
constructor(moduleName: string, instance: string);
|
|
9
|
+
get registry(): Registry<"text/plain; version=0.0.4; charset=utf-8">;
|
|
9
10
|
initializeDefaultMetrics(): void;
|
|
10
11
|
registerMetric(type: MetricType, config: MetricConfiguration<string>): void;
|
|
11
12
|
collectDefaultMetrics(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conduitplatform/module-tools",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.15",
|
|
4
4
|
"main": "dist/index.cjs",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@grpc/grpc-js": "^1.
|
|
32
|
-
"@grpc/proto-loader": "^0.7.
|
|
31
|
+
"@grpc/grpc-js": "^1.13.3",
|
|
32
|
+
"@grpc/proto-loader": "^0.7.13",
|
|
33
33
|
"abort-controller-x": "^0.4.3",
|
|
34
34
|
"convict": "^6.2.4",
|
|
35
35
|
"fast-jwt": "^5.0.6",
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@conduitplatform/grpc-sdk": "*",
|
|
77
|
-
"@grpc/grpc-js": "^1.
|
|
77
|
+
"@grpc/grpc-js": "^1.13.3"
|
|
78
78
|
}
|
|
79
79
|
}
|