Implement periodic health checking of compass dependency by periodically querying the oauth2 protected compass-director graphql API endpoint in a separate goroutine and keep the latest check result up-to-date. Expose the current (up-to-date) healthcheck result on the Prometheus metrics endpoint via series like:
Description
Implement periodic health checking of compass dependency by periodically querying the oauth2 protected compass-director graphql API endpoint in a separate goroutine and keep the latest check result up-to-date. Expose the current (up-to-date) healthcheck result on the Prometheus metrics endpoint via series like:
Reasons
Ability to cross-correlate compass-manager errors with director (dependency) errors.
Attachments