[ADMIN_API] Fixed MnB metrics to be an array
Change-Id: I5886f2e5feedc66b2635e6f0235aa2f237c32f13
This commit is contained in:
@@ -333,12 +333,12 @@ def _build_payload(begin, end, name, id, tenant, status):
|
||||
|
||||
|
||||
def _build_metrics(bytes):
|
||||
return {
|
||||
return [{
|
||||
"metric_name": "lbaas.network.outgoing.bytes",
|
||||
"metric_type": "gauge",
|
||||
"metric_units": "BYTES",
|
||||
"metric_value": bytes
|
||||
}
|
||||
}]
|
||||
|
||||
|
||||
def _rounded_down_min(ts, N):
|
||||
|
||||
Reference in New Issue
Block a user