netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
11.3k stars 518 forks source link

netbird metrics #1762

Open hoozecn opened 8 months ago

hoozecn commented 8 months ago

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

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.

AUMakarov commented 6 months ago

+1

gecube commented 3 months ago

agree, we need some additional metrics exposed in prometheus

maxcoolmakarov commented 3 months ago

+1

mlsmaycon commented 3 months ago

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