https://rancher.com/ logo
#longhorn-storage
Title
# longhorn-storage
a

adamant-kite-43734

06/23/2022, 10:53 AM
This message was deleted.
i

icy-agency-38675

06/24/2022, 12:51 AM
For example, you can
kl exec -it longhorn-manager-xxxxxx -- curl <http://longhorn-backend:9500/metrics>
ref: https://github.com/longhorn/longhorn/issues/2817
f

flaky-coat-75909

06/24/2022, 7:54 AM
@icy-agency-38675 the ip
10.43.0.3
is longhorn-manager so it is almost the same as
curl <http://longhorn-backend:9500/metrics>
I do something like this
Copy code
root@longhorn-manager-g5nck:/# while true ; do curl -s  <http://longhorn-backend:9500/metrics> | grep longhorn_node_cpu_usage_millicpu ; done
but the output is empty metric
longhorn_node_cpu_usage_millicpu
is not exported for some reason
when perform somethin like this
Copy code
while true ; do curl -s  <http://longhorn-backend:9500/metrics> | grep longhorn_node_cpu ; done
I only receiving a
longhorn_node_cpu_capacity_millicpu
9 Views