Signed-off-by: martin <martin.labat92@gmail.com>
This commit is contained in:
martin 2023-02-15 20:46:01 +01:00
parent 5b426932cf
commit b5ced9df2c
No known key found for this signature in database
GPG key ID: 4544CC55835A3B9E

View file

@ -7,7 +7,7 @@ import (
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )
func Sendbackmessagepreference(result *models.StructServerInfo, result2 *models.StructAllUsers, r *prometheus.Registry) { func SendBackMessagePreference(result *models.StructServerInfo, result2 *models.StructAllUsers, r *prometheus.Registry) {
total_photos := prometheus.NewGauge(prometheus.GaugeOpts{ total_photos := prometheus.NewGauge(prometheus.GaugeOpts{
Name: "immich_app_total_photos", Name: "immich_app_total_photos",
Help: "The total number of photos", Help: "The total number of photos",
@ -65,7 +65,7 @@ func Sendbackmessagepreference(result *models.StructServerInfo, result2 *models.
} }
func Sendbackmessageserverversion(result *models.StructServerVersion, r *prometheus.Registry) { func SendBackMessageserverVersion(result *models.StructServerVersion, r *prometheus.Registry) {
version := prometheus.NewGauge(prometheus.GaugeOpts{ version := prometheus.NewGauge(prometheus.GaugeOpts{
Name: "version", Name: "version",