Skip to content

Commit

Permalink
prometheus exporter - remove prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
MJedr committed May 23, 2022
1 parent be03683 commit 77f6353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refextract/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def extract_references_from_file_url(args):

if app.config.get('PROMETHEUS_ENABLE_EXPORTER_FLASK'):
logging.info("Starting prometheus metrics exporter")
metrics = GunicornInternalPrometheusMetrics.for_app_factory(prefix=app.name)
metrics = GunicornInternalPrometheusMetrics.for_app_factory()
metrics.init_app(app)

if __name__ == "__main__":
Expand Down

0 comments on commit 77f6353

Please sign in to comment.