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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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