To monitor the application you need the application to expose metrics like
requests_total
responses_total
requests_processing_time_seconds
exceptions_total
usefull dimensions for these metrics might be method, path and status_code
We assume we have Prometheus (so we choose for a pull based system).
Add a middleware layer.
Open Telemetry and Prometheus middleware are available. Not sure if Open Telemetry works with Prometheus. Research question on which one we will choose.
To monitor the application you need the application to expose metrics like
usefull dimensions for these metrics might be method, path and status_code