Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
237
def
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_enforcers
Method · 0.90
process
Method · 0.90
__call__
Method · 0.90
custom_start_response
Method · 0.90
create_request
Function · 0.90
update_liveaction_status
Function · 0.90
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
Calls
1
metrics_initialize
Function · 0.85
Tested by
no test coverage detected