Hi All
I’d like to monitor Event Store through Zabbix and query the
$stats stream to get metrics and plot them.
It seems that the in-built $stats stream round-robins
through all of the cluster nodes, e.g.
Event #62458 <-- Reports Data from Node 1
Event #62457 <-- Reports Data from Node 2
Event #62456 <-- Reports Data from Node 3
Event #62455 <-- Reports Data from Node 1
etc, etc
Here’s what my http call looks like:
http://SomeIpAddress:2113/streams/$stats-0.0.0.0:2113/head
I don’t see any way to identify the node from the returned
json other than the proc-id, which could theoretically be the same on two
nodes.
Questions:
-
Is there a stats stream that returns data on a per-node
basis? -
Am I missing an obvious way to identify the node within
the returned values? -
Is using $stats to report metrics even a sensible approach
here?
Environment:
Event Store 4.0.1.0
Ubuntu 16.04
Thanks!
John