silence prometheus
This commit is contained in:
@@ -44,7 +44,7 @@ else
|
||||
# PrometheusExporter::Client is a singleton and we can't easily mock it out
|
||||
# in a test environment, and simply constructing a new instance attempts to
|
||||
# connect to a Prometheus server, which we can't rely on in a test environment.
|
||||
$stderr.puts "PrometheusExporter is disabled in test, console, and rake task environments"
|
||||
# $stderr.puts "PrometheusExporter is disabled in test, console, and rake task environments"
|
||||
module PrometheusExporter
|
||||
module Instrumentation
|
||||
class PeriodicStats
|
||||
|
||||
Reference in New Issue
Block a user