diff --git a/docbot/app.py b/docbot/app.py index 698f6d0..c368e60 100644 --- a/docbot/app.py +++ b/docbot/app.py @@ -21,9 +21,10 @@ } apm = ElasticAPM(app, logging=True) -metrics = PrometheusMetrics(app) +metrics = PrometheusMetrics(app, group_by='endpoint') @app.route("/", methods=['GET']) +@metrics.do_not_track() def index() -> str: return list_events_handler()