Please include netbird version number in the interface

Is your feature request related to a problem? Please describe.
I can’t see a place to see the admin server software version number and quickly/easily if the server is out of date.

Describe the solution you’d like
I can see the client versions but not the server itself.

Oh that’s a good administrative one :scream:

I have a script that gets the version from the podman containers and create a prometheus metric for it. But indeed it would be better if netbird would generate the metric itself and display it in the UI

#!/bin/bash

echo "#HELP netbird_version image tag per component"
echo "#TYPE netbird_version gauge"
podman ps --format "{{.Image}}" | while read -r image; do
    # Extract the component name and version from the image name
    component=$(echo "$image" | awk -F'/' '{print $NF}' | awk -F':' '{print $1}')
    version=$(echo "$image" | awk -F':' '{print $2}')

    echo "netbird_version{component=\"$component\", version=\"${version}\"} 1"
done
1 Like