We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734c2da commit 6e64232Copy full SHA for 6e64232
modules/metrics/collector.go
@@ -11,15 +11,10 @@ import (
11
"code.gitea.io/gitea/modules/setting"
12
13
"github.com/prometheus/client_golang/prometheus"
14
- "github.com/prometheus/common/model"
15
)
16
17
const namespace = "gitea_"
18
19
-func init() {
20
- model.NameValidationScheme = model.UTF8Validation
21
-}
22
-
23
// Collector implements the prometheus.Collector interface and
24
// exposes gitea metrics for prometheus
25
type Collector struct {
0 commit comments