grafana/pkg/services/serviceaccounts
Gabriel MABILLE 897e3a4dab
AuthN: Add metrics to external service accounts management (#76789)
* AuthN: Add metrics to external service accounts management

* Add a new metric to count stored external service accounts

* Update variable names

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>

* Add test to SearchOrgServiceAccounts

* Add feature flags checks before registering and using the metrics

---------

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
2023-10-24 15:54:14 +02:00
..
api Instrumentation: Set auth as owners for more routes (#75105) 2023-09-20 10:18:52 +02:00
database AuthN: Add metrics to external service accounts management (#76789) 2023-10-24 15:54:14 +02:00
extsvcaccounts AuthN: Add metrics to external service accounts management (#76789) 2023-10-24 15:54:14 +02:00
manager Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
proxy AuthN: Add metrics to external service accounts management (#76789) 2023-10-24 15:54:14 +02:00
retriever Auth: Service account store refactor (#58961) 2022-12-13 14:56:10 +01:00
secretscan Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
tests AuthN: Add metrics to external service accounts management (#76789) 2023-10-24 15:54:14 +02:00
models.go AuthN: Add metrics to external service accounts management (#76789) 2023-10-24 15:54:14 +02:00
serviceaccounts.go AuthN: Add metrics to external service accounts management (#76789) 2023-10-24 15:54:14 +02:00