Question
Michael Lei · Jun 17, 2021

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”

0
0 456
Discussion (7)2
Log in or sign up to continue

Thx a lot!

@tie yu 我们在2020.1版本后才能支持Standard alone Prometheus监控。 也欢迎您尝试2020.1 以后的IRIS 自带的SAM功能。谢谢!

@Johnny Wang 
@姚 鑫

@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.