Skip to content

Commit

Permalink
Merge pull request #99 from MJedr/remove-prefix
Browse files Browse the repository at this point in the history
prometheus exporter - remove prefix
  • Loading branch information
MJedr authored May 23, 2022
2 parents be03683 + 77f6353 commit 4247aaf
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 4247aaf

Please sign in to comment.