Skip to content

chore(errortracking): Explicitly register middleware collectors

Ankit Bhatnagar requested to merge abhatnagar/errortracking-metrics into main

Prior to this commit, Prometheus auto-instrumentation couldn't guarantee the initialisation of the underlying collectors before the middleware was configured. This commit makes the ordering explicit and ensures the base metrics are initialised & registered "before" monitoring middleware is.

Edited by Ankit Bhatnagar

Merge request reports