fix: correct metric name for immich version
Signed-off-by: martin <martin.labat92@gmail.com>
This commit is contained in:
parent
e6870170aa
commit
05a3dd2501
2 changed files with 742 additions and 693 deletions
File diff suppressed because it is too large
Load diff
|
@ -68,7 +68,7 @@ func SendBackMessagePreference(result *models.StructServerInfo, result2 *models.
|
|||
func SendBackMessageserverVersion(result *models.StructServerVersion, r *prometheus.Registry) {
|
||||
|
||||
version := prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
Name: "version",
|
||||
Name: "immich_app_version",
|
||||
Help: "Immich version",
|
||||
ConstLabels: map[string]string{
|
||||
"version": strconv.Itoa((*result).Major) + "." + strconv.Itoa((*result).Minor) + "." + strconv.Itoa((*result).Patch),
|
||||
|
|
Loading…
Reference in a new issue