My application has a /health
Http endpoint, configured for Kubernetes liveness check probe. The API returns a json, containing the health indicators.
Kubernetes only cares about the returned http status, but I would like to store the json responses in Prometheus for monitoring purposes.
Is it possible to catch the response once Kubernetes calls the API? I do not want to add the feature to the application itself but use an external component.
What is the recommended way of doing it?