snsary.utils.tracing.registry
Manages the Monitors associated with an instrumented block of code. Calling get will return a list of instances of any Monitors set in Config for the specified trace_id:
config = Config()
config.set("some.id.monitors", [Monitor.factory()])
registry = Registry(config)
registry.get("some.id") # => [<Monitor>]
The same instances are returned across calls to get for the same trace_id. Setting thread_aware in Config means the returned instances will also be unique across threads.