summaryrefslogtreecommitdiffstats
path: root/modules/metrics/collector.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/metrics/collector.go')
-rwxr-xr-xmodules/metrics/collector.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metrics/collector.go b/modules/metrics/collector.go
index 527202e0a6..6463118581 100755
--- a/modules/metrics/collector.go
+++ b/modules/metrics/collector.go
@@ -297,7 +297,7 @@ func (c Collector) Collect(ch chan<- prometheus.Metric) {
ch <- prometheus.MustNewConstMetric(
c.LoginSources,
prometheus.GaugeValue,
- float64(stats.Counter.LoginSource),
+ float64(stats.Counter.AuthSource),
)
ch <- prometheus.MustNewConstMetric(
c.Milestones,