server
server copied to clipboard
[Metrics] Triton server should expose software version / build number as a prometheus metric
Is your feature request related to a problem? Please describe. Being able to check the current deployed versions of software ensures that updates are completed correctly
Describe the solution you'd like version number baked into the binary on build build_info metric exposed via prometheus that includes version/build_time/etc
Describe alternatives you've considered It's possible to scrape the docker versions, but tags can be somewhat unreliable and can be changed
Hi @Kellel , thanks for suggestion! I'll file a feature request for our team.
Taking a look at this.
I don't currently know how to get or expose build time so if someone can point me in the right direction I'd appreciate it.
Hi @Kellel,
If you're just looking for the version of Triton that is currently running, is the server metadata endpoint sufficient?
$ curl -s localhost:8000/v2 | jq
{
"name": "triton",
"version": "2.42.0",
...
}