Clamp publishes its API metrics under /metrics route. The metrics can be consumed by Prometheus and monitored through Grafana.
Presently, if we want to monitor the metrics we need to manually configure and run Prometheus, Grafana. As we are already having a Docker Compose based development runtime, we could also include Prometheus and Grafana as part of them. We may not be interested in monitoring API metrics all the time. So, we can include them in Docker Compose in such a way that they can be launched only when required.
Clamp publishes its API metrics under
/metrics
route. The metrics can be consumed by Prometheus and monitored through Grafana.Presently, if we want to monitor the metrics we need to manually configure and run Prometheus, Grafana. As we are already having a Docker Compose based development runtime, we could also include Prometheus and Grafana as part of them. We may not be interested in monitoring API metrics all the time. So, we can include them in Docker Compose in such a way that they can be launched only when required.