Method: GraphQL::Tracing::PrometheusTrace::PrometheusMonitor#active?

Defined in:
lib/graphql/tracing/prometheus_trace.rb

#active?(keyword) ⇒ Boolean

Returns:

  • (Boolean)


58
59
60
# File 'lib/graphql/tracing/prometheus_trace.rb', line 58

def active?(keyword)
  @trace.prometheus_keys_whitelist.include?(keyword)
end