We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42fdde5 + c5d8608 commit 9c574fcCopy full SHA for 9c574fc
lib/graphql/tracing/prometheus_tracing/graphql_collector.rb
@@ -5,7 +5,7 @@ module Tracing
5
class PrometheusTracing < PlatformTracing
6
class GraphQLCollector < ::PrometheusExporter::Server::TypeCollector
7
def initialize
8
- @graphql_gauge = PrometheusExporter::Metric::Summary.new(
+ @graphql_gauge = PrometheusExporter::Metric::Base.default_aggregation.new(
9
'graphql_duration_seconds',
10
'Time spent in GraphQL operations, in seconds'
11
)
0 commit comments