netbird icon indicating copy to clipboard operation
netbird copied to clipboard

netbird metrics

Open hoozecn opened this issue 1 year ago • 8 comments

Is your feature request related to a problem? Please describe.

We would like to have a dashboard to show the mesh network if is working well from node to node and create alerts when connective problem occurs, for instance

  • node interface is down
  • connection between nodes fallback from P2P to Relay (for some reason)
  • ping latency

Describe the solution you'd like

  1. make the client expose metrics with prometheus sdk via an http port

Describe alternatives you've considered

  1. a new exporter project that can communicate with netbird client and expose the metrics

Additional context We use netbird to create a private network, so that all nodes in our global K8s network can communicate with Nodes that not in the K8s cluster securely.

hoozecn avatar Mar 28 '24 09:03 hoozecn

+1

AUMakarov avatar May 03 '24 13:05 AUMakarov

agree, we need some additional metrics exposed in prometheus

gecube avatar Aug 27 '24 14:08 gecube

+1

maxcoolmakarov avatar Aug 27 '24 14:08 maxcoolmakarov

We need to check how much this could increase the binary size if we use a library like "go.opentelemetry.io/otel/metric" (used in management and signal).

We also have some options to get some information using the status command with flags like the ones described in https://docs.netbird.io/how-to/cli#status

mlsmaycon avatar Aug 27 '24 15:08 mlsmaycon