[ADMIN_API] Fixed MnB metrics to be an array
Change-Id: I5886f2e5feedc66b2635e6f0235aa2f237c32f13
This commit is contained in:
parent
2d1a302a4d
commit
304ab84192
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue