Experiment with greater level of tracablitity and using OpenTelemetry.
Something like this: IHostApplicationBuilder.Metrics(IMetricsBuilder).
But also look into logging providers and consider if more structured logging should/must be applied.
Last, if using OpenTelemetry also add Prometheus pod- or servicemonitor with /metrics endpoint.
Experiment with greater level of tracablitity and using OpenTelemetry.
Something like this:
IHostApplicationBuilder.Metrics(IMetricsBuilder).But also look into logging providers and consider if more structured logging should/must be applied.
Last, if using OpenTelemetry also add Prometheus pod- or servicemonitor with /metrics endpoint.