Package configuration is done through using package settings:
from time_execution import settings
settings.configure()
Parameters accepted by configure method are described bellow.
Optional parameter, equals to empty list by default, accepts a list of api/time_execution.backends
instances.
Optional parameter, equals to empty list by default, accepts the list of callable, see usage-hooks
.
Optional parameter, equals to "value" by default.
Optional parameter, equals to None by default. If specified, then sent metrics will have "origin" attribute, which can be used to identify origin of the metric, when time_execution package is used in multiple applications.