events: don't set metrics on import
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
f95c06b76f
commit
4143d3fe28
|
@ -210,7 +210,3 @@ class PrefilledMonitoredTask(MonitoredTask):
|
|||
|
||||
def run(self, *args, **kwargs):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
for task in TaskInfo.all().values():
|
||||
task.set_prom_metrics()
|
||||
|
|
Reference in a new issue