See: https://access.redhat.com/documentation/en-us/openshift_container_platform/4.8/html/building_applications/application-health
Maybe Sentry already covers this?