MCPcopy Create free account
hub / github.com/StackStorm/st2 / get_driver

Function get_driver

st2common/st2common/metrics/base.py:237–244  ·  view source on GitHub ↗

Return metrics driver instance

()

Source from the content-addressed store, hash-verified

235
236
237def get_driver():
238 """
239 Return metrics driver instance
240 """
241 if not METRICS:
242 return metrics_initialize()
243
244 return METRICS

Callers 9

create_rule_enforcersMethod · 0.90
processMethod · 0.90
__call__Method · 0.90
custom_start_responseMethod · 0.90
create_requestFunction · 0.90
update_liveaction_statusFunction · 0.90
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70

Calls 1

metrics_initializeFunction · 0.85

Tested by

no test coverage detected