Sometimes Microsoft returns no data for KeyVault latency (e.g. there were no KeyVault requests). Client wanted this to default to a latency of 0.
This commit is contained in:
parent
1b54b70a8d
commit
ab73f62dbb
Binary file not shown.
BIN
check_mk-azure/azure-spearhead-0.2.3.mkp
Executable file
BIN
check_mk-azure/azure-spearhead-0.2.3.mkp
Executable file
Binary file not shown.
@ -56,7 +56,7 @@ def check_keyvault(item, params, section):
|
|||||||
|
|
||||||
availability = metrics.get("Availability")
|
availability = metrics.get("Availability")
|
||||||
capacity = metrics.get("SaturationShoebox")
|
capacity = metrics.get("SaturationShoebox")
|
||||||
latency = metrics.get("ServiceApiLatency")
|
latency = metrics.get("ServiceApiLatency", 0)
|
||||||
hits = metrics.get("ServiceApiHit")
|
hits = metrics.get("ServiceApiHit")
|
||||||
results = metrics.get("ServiceApiResult")
|
results = metrics.get("ServiceApiResult")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user