replication-manager icon indicating copy to clipboard operation
replication-manager copied to clipboard

Workload metrics not populated in servers endpoint

Open PeterJanRoes opened this issue 9 months ago • 5 comments

The response of the /api/clusters/{clusterName}/topology/servers contains a workLoad field. However, the metrics dbTableSize, dbIndexSize, cpuThreadPool and cpuUserStats always seem to be zero. Are these not properly populated and is this a bug? Or are there extra steps needed to get those metrics?

PeterJanRoes avatar May 10 '24 08:05 PeterJanRoes

It seems that also the delayStat metrics are not populated.

PeterJanRoes avatar May 10 '24 14:05 PeterJanRoes

activating schema monitoring is the key

Le ven. 10 mai 2024, 16:30, PeterJanRoes @.***> a écrit :

It seems that also the delayStat metrics are not populated.

— Reply to this email directly, view it on GitHub https://github.com/signal18/replication-manager/issues/582#issuecomment-2104714910, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWVCIBRLVFHEI3WLTTJGLTZBTK2FAVCNFSM6AAAAABHQHSCASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUG4YTIOJRGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

svaroqui avatar May 11 '24 11:05 svaroqui

Ok, thank you. Which setting is that?

PeterJanRoes avatar May 11 '24 15:05 PeterJanRoes

Hi Peter does metrics are computed on the cluster, we could also report them per server

svaroqui avatar Jun 26 '24 13:06 svaroqui

Please propose us a pull request or with support we could boost that feature if your feel this a blocker for your project

svaroqui avatar Jun 26 '24 13:06 svaroqui