From: Willem v. d. W. <wi...@kw...> - 2025-05-22 14:14:00
|
Hi everyone, We want to implement some performance observability tools for exist. Two questions: 1. Is it possible to access the $jmx object from outside existdb as in the snippet below. Any pointers for us to look <instance name="localhost" url="http://localhost:8080/exist" token="3268b570-392e-56ea-9550-117012413e15" cron="0 * * * * ?"> <poll cron="0/30 * * * * ?" store="yes"> <alert name="More than 30 threads waiting for locks to be released" condition="count($jmx//LockManager/WaitingThreads/row) > 30"/> <alert name="More than 40 brokers active" condition="$jmx//Database/ActiveBrokers > 10"/> <alert name="Process CPU load > 1.0" condition="$jmx//UnixOperatingSystem/ProcessCpuLoad > 0.5"/> </poll> </instance> 2. Has anybody looked at reading and writing that object to prometheus? Willem |