server icon indicating copy to clipboard operation
server copied to clipboard

[Metrics] Triton server should expose software version / build number as a prometheus metric

Open Kellel opened this issue 2 years ago • 4 comments

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

Kellel avatar Sep 18 '23 17:09 Kellel

Hi @Kellel , thanks for suggestion! I'll file a feature request for our team.

oandreeva-nv avatar Sep 19 '23 19:09 oandreeva-nv

Taking a look at this.

ClifHouck avatar Sep 22 '23 13:09 ClifHouck

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.

ClifHouck avatar Oct 03 '23 17:10 ClifHouck

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",
...
}

rmccorm4 avatar Feb 22 '24 19:02 rmccorm4