mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
UX: Rename "Videos" to "Media" in navigation and add audio type #4694
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -71,7 +71,11 @@ func registerCountMetrics(factory promauto.Factory, counts config.ClientCounts)
|
||||
|
||||
metric.With(prometheus.Labels{"stat": "all"}).Set(float64(counts.All))
|
||||
metric.With(prometheus.Labels{"stat": "photos"}).Set(float64(counts.Photos))
|
||||
metric.With(prometheus.Labels{"stat": "media"}).Set(float64(counts.Media))
|
||||
metric.With(prometheus.Labels{"stat": "live"}).Set(float64(counts.Live))
|
||||
metric.With(prometheus.Labels{"stat": "videos"}).Set(float64(counts.Videos))
|
||||
metric.With(prometheus.Labels{"stat": "audio"}).Set(float64(counts.Audio))
|
||||
metric.With(prometheus.Labels{"stat": "documents"}).Set(float64(counts.Documents))
|
||||
metric.With(prometheus.Labels{"stat": "albums"}).Set(float64(counts.Albums))
|
||||
metric.With(prometheus.Labels{"stat": "folders"}).Set(float64(counts.Folders))
|
||||
metric.With(prometheus.Labels{"stat": "files"}).Set(float64(counts.Files))
|
||||
|
||||
Reference in New Issue
Block a user