flows: fix description for spans
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -90,7 +90,8 @@ class PolicyEngine: | ||||
|     def build(self) -> "PolicyEngine": | ||||
|         """Build wrapper which monitors performance""" | ||||
|         with Hub.current.start_span( | ||||
|             op="policy.engine.build" | ||||
|             op="policy.engine.build", | ||||
|             description=self.__pbm, | ||||
|         ) as span, HIST_POLICIES_BUILD_TIME.labels( | ||||
|             object_name=self.__pbm, | ||||
|             object_type=f"{self.__pbm._meta.app_label}.{self.__pbm._meta.model_name}", | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer