Expose a /metrics
endpoint in the devfile registry
#283
Labels
area/registry
Devfile registry for stacks and infrastructure
As part of the process to deploy a public devfile registry on OpenShift Dedicated, we need to make sure there is a Prometheus
/metrics
endpoint exposed in both the registry index server and OCI registry to be scraped.https://prometheus.io/docs/guides/go-application/ provides some straightforward instructions on setting up a metrics endpoint in a Go webserver. We should also look at what additional metrics we would want to provide that are relevant / useful regarding the state of the Devfile Registry.
/metrics
endpoint using the HTTP handler provided by the packageThe text was updated successfully, but these errors were encountered: