silence prometheus

This commit is contained in:
Dylan Knutson
2025-07-22 23:11:45 +00:00
parent 295020a10f
commit 538293d5c0

View File

@@ -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