You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Endpoint for leaf node metrics, in my case curl http://127.0.0.1:5888/varz returns the value of the cluster_name metric, which does not correspond to the name of the cluster to which this leaf node is connected, but coincides with the value of the server_name metric.
At the same time, the same metric from the server node returns the value of the cluster_name with the actual value of the cluster name specified in the configuration file:
The mismatch of the values of the cluster_node metric for the modes of the leaf node and the server node makes it impossible to use this metric in monitoring for all types of nodes simultaneously.
Expected behavior
If this is possible, then I would like to receive the current value of the cluster_name metric, corresponding to the cluster name for further identification of all nodes, one way or another participating in the work of this cluster
…defined (#5931)
In situation where a Leaf server has no cluster specified, we internally
use the server name as the cluster name. We may need it in the protocol
so that the hub can suppress some messages to avoid duplicates.
We were however still reporting a cluster name in `/varz` and in the
banner on startup. This PR fixes both.
Resolves#5913
Signed-off-by: Ivan Kozlovic [email protected]
Observed behavior
Endpoint for leaf node metrics, in my case curl http://127.0.0.1:5888/varz returns the value of the cluster_name metric, which does not correspond to the name of the cluster to which this leaf node is connected, but coincides with the value of the server_name metric.
At the same time, the same metric from the server node returns the value of the cluster_name with the actual value of the cluster name specified in the configuration file:
The mismatch of the values of the cluster_node metric for the modes of the leaf node and the server node makes it impossible to use this metric in monitoring for all types of nodes simultaneously.
Expected behavior
If this is possible, then I would like to receive the current value of the cluster_name metric, corresponding to the cluster name for further identification of all nodes, one way or another participating in the work of this cluster
Server and client version
nats-server -v
nats-server: v2.10.18
nats --version
0.0.35
Host environment
Cluster. 3 nodes of:
Debian GNU/Linux 11 (bullseye)
AMD Ryzen 7 7700 8-Core Processor (family: 0x19, model: 0x61, stepping: 0x2)
64Gb RAM
Client:
Debian GNU/Linux 11 (bullseye)
AMD Ryzen 9 3900 12-Core Processor
128Gb RAM
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: