Jo
5c1f614d3c
Service Accounts: Separate metrics logic from store ( #54085 )
...
* separate stats logic from store
* remove in_teams unused stat
* use init instead
2022-08-23 08:24:55 -04:00
Jo
4a9137ac40
API Keys: Add revocation for SATs ( #53896 )
...
* add apikey is_revoked field
* add token store tests
* Apply suggestions from code review
* remove unused fields
2022-08-18 16:54:39 +02:00
Jguer
db9f80a7a3
ServiceAccounts: Add Prometheus metrics service ( #51831 )
...
* ServiceAccounts: Add Prometheus metrics service
* add missing init in tests
2022-07-07 10:03:16 -04:00
Eric Leijonmarck
c5089f1595
Service accounts: add usagestats for teams ( #51585 )
...
* remove enabled service account count
* add service account count in teams
* removed unnessecary comment
2022-06-30 11:05:49 +02:00
Jguer
d5883c1b27
Service Accounts: Implement basic usage stats ( #46619 )
...
* Stats: do not count SAs as users
* Stats: implement basic service account metrics
* Stats: do not count service account tokens as api keys
* Stats: fix metric names
* Stats: add SA stats test
* rename user to sa
2022-03-16 16:54:34 +01:00