removed print, not commited real stats saver :)

This commit is contained in:
Adolfo Gómez García 2020-07-29 15:13:02 +02:00
parent 3e8757e908
commit c53dbd6714

View File

@ -68,7 +68,9 @@ class DeployedServiceStatsCollector(Job):
users = auth.users.all().count()
users_with_service = fltr.distinct().count()
number_assigned_services = fltr.count()
print(auth.id, users, users_with_service, number_assigned_services)
counters.addCounter(auth, counters.CT_AUTH_USERS, users)
counters.addCounter(auth, counters.CT_AUTH_SERVICES, number_assigned_services)
counters.addCounter(auth, counters.CT_AUTH_USERS_WITH_SERVICES, users_with_service)
logger.debug('Done Deployed service stats collector')