diff --git a/container/wsgi.py b/container/wsgi.py index 8b2ed36..0d4b81b 100644 --- a/container/wsgi.py +++ b/container/wsgi.py @@ -33,8 +33,8 @@ app = App() -REGISTRY.register(CollectorRegistry()) -app.wsgi_app = DispatcherMiddleware(app.wsgi_app, { - '/metrics': make_wsgi_app(registry=REGISTRY) -}) -GunicornPrometheusMetrics(app, path='/metrics', registry=REGISTRY) +#REGISTRY.register(CollectorRegistry()) +#app.wsgi_app = DispatcherMiddleware(app.wsgi_app, { +# '/metrics': make_wsgi_app(registry=REGISTRY) +#}) +GunicornPrometheusMetrics(app, path='/metrics', registry=CollectorRegistry())