events: don't set metrics on import

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-06 10:13:30 +01:00
parent f95c06b76f
commit 4143d3fe28

View file

@ -210,7 +210,3 @@ class PrefilledMonitoredTask(MonitoredTask):
def run(self, *args, **kwargs):
raise NotImplementedError
for task in TaskInfo.all().values():
task.set_prom_metrics()