File tree Expand file tree Collapse file tree 1 file changed +1
-29
lines changed
Expand file tree Collapse file tree 1 file changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -508,35 +508,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
508508 native: template % { metricQuery: nativeClassicQuery.native, label: statusLabelName },
509509 classic: template % { metricQuery: nativeClassicQuery.classic, label: statusLabelName },
510510 },
511- fieldConfig+: {
512- defaults+: {
513- custom+: {
514- lineWidth: 0 ,
515- fillOpacity: 100 , // Get solid fill.
516- stacking: {
517- mode: 'normal' ,
518- group: 'A' ,
519- },
520- },
521- unit: 'reqps' ,
522- min: 0 ,
523- },
524- overrides+: [{
525- matcher: {
526- id: 'byName' ,
527- options: status,
528- },
529- properties: [
530- {
531- id: 'color' ,
532- value: {
533- mode: 'fixed' ,
534- fixedColor: $.httpStatusColors[status],
535- },
536- },
537- ],
538- } for status in std.objectFieldsAll ($.httpStatusColors)],
539- },
511+ aliasColors: $.httpStatusColors,
540512 targets: [
541513 {
542514 expr: utils.showClassicHistogramQuery(sumByStatus(utils.ncHistogramCountRate(metricName, selector))),
You can’t perform that action at this time.
0 commit comments