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
Describe the bug
Since version 2.7.1, the version is incorrectly exported as branch reference and commit hash. Both when invoking loki-linux-amd64 -version and when looking at the loki_build_info metric.
For version 2.7.2, for example, I see the following:
loki, version HEAD-c35554d (branch: HEAD, revision: c35554d09)
build user: root@b28453c1a217
build date: 2023-01-26T14:10:02Z
go version: go1.19.5
platform: linux/amd64
To Reproduce
Run loki-linux-amd64 -version.
OR: Look at the loki_build_info metric.
Expected behavior
First line of the loki-linux-amd64 -version output should be:
loki, version 2.7.2 (branch: HEAD, revision: c35554d09)
The version label of the loki_build_info metric should have the value 2.7.2.
Environment:
Infrastructure: virtual server
Deployment tool: Ansible downloading the Loki release from assets of the respective GitHub release.
Describe the bug
Since version 2.7.1, the version is incorrectly exported as branch reference and commit hash. Both when invoking
loki-linux-amd64 -version
and when looking at theloki_build_info
metric.For version 2.7.2, for example, I see the following:
To Reproduce
Run
loki-linux-amd64 -version
.OR: Look at the
loki_build_info
metric.Expected behavior
First line of the
loki-linux-amd64 -version
output should be:The
version
label of theloki_build_info
metric should have the value2.7.2
.Environment:
Screenshots, Promtail config, or terminal output
The text was updated successfully, but these errors were encountered: