1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Add metrics to get issues by repository (#17225)

This commit is contained in:
Romain
2021-10-05 20:39:37 +02:00
committed by GitHub
parent 760d61b411
commit 987152ba40
5 changed files with 73 additions and 35 deletions

View File

@ -390,13 +390,15 @@ var (
// Metrics settings
Metrics = struct {
Enabled bool
Token string
EnabledIssueByLabel bool
Enabled bool
Token string
EnabledIssueByLabel bool
EnabledIssueByRepository bool
}{
Enabled: false,
Token: "",
EnabledIssueByLabel: false,
Enabled: false,
Token: "",
EnabledIssueByLabel: false,
EnabledIssueByRepository: false,
}
// I18n settings