Using Prometheus to monitor Caché ,when config application /metrics done, Prometheus connection error: “server returned HTTP status 404 Not Found”
Using Prometheus to monitor Caché ,when config application /metrics done, Prometheus connection error: “server returned HTTP status 404 Not Found”
Comments
@Michael Lei SAM (or standalone Prometheus) can only monitor IRIS version 2020.1 or later.
Thx a lot!
@tie yu 我们在2020.1版本后才能支持Standard alone Prometheus监控。 也欢迎您尝试2020.1 以后的IRIS 自带的SAM功能。谢谢!
3q
It looks like prometheus can monitor Cache,no?https://community.intersystems.com/post/making-prometheus-monitoring-in…
@Michael Lei That is a community tool that predates SAM and is not supported by SAM. The /api/montior API that was developed for SAM (but can be used by any tool that consumes Prometheus metric format) is only included in IRIS 2020.1+.
So before SAM, we don't hv API but can still monitor Cache with Prometheus, correct?
Before SAM, there was no way to monitor Cache or IRIS using Prometheus out of the box. You had to implement the metrics exporter API yourself or use a community implementation like the one you linked. Since 2020.1, the /api/monitor API is provided by InterSystems out of the box. SAM uses this API to collect metrics and alerts from servers.