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

add requests/min as value format option
pull/63915/head^2
David Radcliffe 2 years ago committed by GitHub
parent 54d7e95be1
commit cb68b1e0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      devenv/dev-dashboards-without-uid/panel_tests_polystat.json
  2. 4
      devenv/dev-dashboards/panel-polystat/polystat_test.json
  3. 1
      packages/grafana-data/src/valueFormats/categories.ts

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

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

@ -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') },
],

Loading…
Cancel
Save