@graphql-yoga/plugin-prometheus 5.3.0 → 5.3.1-alpha-20240701180551-d297790e
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/cjs/index.js +2 -2
- package/package.json +2 -2
package/cjs/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createSummary = exports.createHistogram = exports.createCounter = void 0;
|
|
4
|
+
exports.usePrometheus = usePrometheus;
|
|
4
5
|
const graphql_1 = require("graphql");
|
|
5
6
|
const prom_client_1 = require("prom-client");
|
|
6
7
|
const prometheus_1 = require("@envelop/prometheus");
|
|
@@ -93,4 +94,3 @@ function usePrometheus(options) {
|
|
|
93
94
|
},
|
|
94
95
|
};
|
|
95
96
|
}
|
|
96
|
-
exports.usePrometheus = usePrometheus;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-yoga/plugin-prometheus",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.1-alpha-20240701180551-d297790e",
|
|
4
4
|
"description": "Prometheus plugin for GraphQL Yoga.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "^15.2.0 || ^16.0.0",
|
|
7
7
|
"prom-client": "^15.0.0",
|
|
8
|
-
"graphql-yoga": "^5.6.
|
|
8
|
+
"graphql-yoga": "^5.6.1-alpha-20240701180551-d297790e"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@envelop/prometheus": "^10.0.0"
|