ironic.common.profiler.
setup
(name, host='0.0.0.0')[source]¶Setup OSprofiler notifier and enable profiling.
Parameters: |
|
---|---|
Raises: | TypeError – in case of invalid connection string for a notifier backend, which is set in osprofiler.initializer.init_from_conf. |
ironic.common.profiler.
trace_cls
(name, **kwargs)[source]¶Wrap the OSProfiler trace_cls decorator
Wrap the OSProfiler trace_cls decorator so that it will not try to patch the class unless OSProfiler is present and enabled in the config
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.