summaryrefslogtreecommitdiffstats
path: root/routers/metrics.go
diff options
context:
space:
mode:
authorTamal Saha <tamal@appscode.com>2019-08-23 09:40:30 -0700
committertechknowlogick <techknowlogick@gitea.io>2019-08-23 12:40:29 -0400
commit171b3598778a1ecd0a921c71ed6755bfef68f7f0 (patch)
tree02857629ef9e8e26ee0ee559153f803f77b588b7 /routers/metrics.go
parentca6fb004ac50fc924861112403895d637c6a2d1d (diff)
downloadgitea-171b3598778a1ecd0a921c71ed6755bfef68f7f0.tar.gz
gitea-171b3598778a1ecd0a921c71ed6755bfef68f7f0.zip
Use gitea forked macaron (#7933)
Signed-off-by: Tamal Saha <tamal@appscode.com>
Diffstat (limited to 'routers/metrics.go')
-rw-r--r--routers/metrics.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/metrics.go b/routers/metrics.go
index b7711dfced..f2381c2745 100644
--- a/routers/metrics.go
+++ b/routers/metrics.go
@@ -7,10 +7,10 @@ package routers
import (
"crypto/subtle"
- "github.com/prometheus/client_golang/prometheus/promhttp"
-
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/setting"
+
+ "github.com/prometheus/client_golang/prometheus/promhttp"
)
// Metrics validate auth token and render prometheus metrics