@envelop/prometheus
Advanced tools
Comparing version 10.0.0-alpha-20240503114356-10955cdf to 10.0.0-alpha-20240503120642-8efd5b44
{ | ||
"name": "@envelop/prometheus", | ||
"version": "10.0.0-alpha-20240503114356-10955cdf", | ||
"version": "10.0.0-alpha-20240503120642-8efd5b44", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
@@ -137,3 +137,8 @@ ## `@envelop/prometheus` | ||
function usePrometheusWithRegistry() { | ||
// create a new registry instance for each plugin instance | ||
const registry = new Registry() | ||
// or just clear the registry if you use only on plugin instance at a time | ||
registry.clear() | ||
return usePrometheus({ | ||
@@ -140,0 +145,0 @@ registry, |
70455
152