Dashboard: Add value format for requests per minute (#62258)

add requests/min as value format option
This commit is contained in:
David Radcliffe 2023-03-27 09:37:40 -04:00 committed by GitHub
parent 54d7e95be1
commit cb68b1e0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

@ -1775,6 +1775,10 @@
"text": "ops/min (opm)",
"value": "opm"
},
{
"text": "requests/min (rpm)",
"value": "reqpm"
},
{
"text": "reads/min (rpm)",
"value": "rpm"

View File

@ -2866,6 +2866,10 @@
"text": "ops/min (opm)",
"value": "opm"
},
{
"text": "requests/min (rpm)",
"value": "reqpm"
},
{
"text": "reads/min (rpm)",
"value": "rpm"

View File

@ -383,6 +383,7 @@ export const getCategories = (): ValueFormatCategory[] => [
{ name: 'I/O ops/sec (iops)', id: 'iops', fn: simpleCountUnit('io/s') },
{ name: 'counts/min (cpm)', id: 'cpm', fn: simpleCountUnit('c/m') },
{ name: 'ops/min (opm)', id: 'opm', fn: simpleCountUnit('ops/m') },
{ name: 'requests/min (rpm)', id: 'reqpm', fn: simpleCountUnit('req/m') },
{ name: 'reads/min (rpm)', id: 'rpm', fn: simpleCountUnit('rd/m') },
{ name: 'writes/min (wpm)', id: 'wpm', fn: simpleCountUnit('wr/m') },
],