greptimedb
greptimedb copied to clipboard
Incorrect `version` in `greptime_app_version`
What type of bug is this?
Other
What subsystems are affected?
Other
Minimal reproduce step
Access the /metrics
endpoint when the DB is ready:
bash-5.1# curl -q http://10.244.1.27:4000/metrics | grep greptime_app
greptime_app_version app version
# TYPE greptime_app_version gauge
greptime_app_version{short_version="0.9.1",version="-fe1cfbf2"} 1
The version
should be fe1cfbf2
, not -fe1cfbf2
.
What did you expect to see?
We should get the correct version without the prefix -
.
What did you see instead?
Get the version
with prefix -
.
What operating system did you use?
Linux
What version of GreptimeDB did you use?
v0.9.1
Relevant log output and stack trace
No response