Skip to content

Version no longer shown in /metrics endpoint #409

@phiratio

Description

@phiratio

Describe the bug

Before decoupling VL from the main VM repo i was able to get VL version via curl:

curl localhost:9428/metrics | grep short_version
...
...vm_app_version{version="victoria-logs-20250510-011619-tags-v1.22.2-victorialogs-0-g90fc5d155c", short_version="v1.22.2"} 1
...

Now this is not being shown

To Reproduce

curl localhost:9428/metrics | grep short_version
...
...vm_app_version{version="", short_version=""} 1
...

Version

1.25.0

Logs

No response

Screenshots

No response

Used command-line flags

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions