@envelop/prometheus
Advanced tools
Comparing version 0.1.0 to 0.1.1-alpha-98897ac.0
@@ -40,3 +40,3 @@ import { Plugin } from '@envelop/types'; | ||
}; | ||
export declare const usePrometheus: (config: PrometheusTracingPluginConfig) => Plugin<PluginInternalContext>; | ||
export declare const usePrometheus: (config?: PrometheusTracingPluginConfig) => Plugin<PluginInternalContext>; | ||
export {}; |
@@ -61,3 +61,3 @@ 'use strict'; | ||
} | ||
const usePrometheus = (config) => { | ||
const usePrometheus = (config = {}) => { | ||
const parseHistogram = getHistogram(config, 'parse', 'graphql_envelop_phase_parse', 'Time spent on running GraphQL "parse" function'); | ||
@@ -64,0 +64,0 @@ const validateHistogram = getHistogram(config, 'validate', 'graphql_envelop_phase_validate', 'Time spent on running GraphQL "validate" function'); |
{ | ||
"name": "@envelop/prometheus", | ||
"version": "0.1.0", | ||
"version": "0.1.1-alpha-98897ac.0", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68900