mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Service Accounts: Separate metrics logic from store (#54085)
* separate stats logic from store * remove in_teams unused stat * use init instead
This commit is contained in:
@@ -125,3 +125,8 @@ const (
|
||||
FilterOnlyDisabled ServiceAccountFilter = "disabled"
|
||||
FilterIncludeAll ServiceAccountFilter = "all"
|
||||
)
|
||||
|
||||
type Stats struct {
|
||||
ServiceAccounts int64 `xorm:"serviceaccounts"`
|
||||
Tokens int64 `xorm:"serviceaccount_tokens"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user