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
Enhance the promethus node_info metric to also include the APISIX version. This can useful in scenarios where multiple apisix versions are deployed within the same cluster.
Description
Enhance the promethus node_info metric to also include the APISIX version. This can useful in scenarios where multiple apisix versions are deployed within the same cluster.
Now node_info only contains hostname.
https://github.com/apache/apisix/blob/release/3.12/apisix/plugins/prometheus/exporter.lua#L487
The version can be accessed here.
https://github.com/apache/apisix/blob/release/3.12/apisix/core/version.lua#L22-L24