mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Uptime] waterfall view reduce opacity for blocking/waiting color (#88611)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
72ef3b105a
commit
601d9fd018
2 changed files with 8 additions and 8 deletions
|
@ -11,7 +11,7 @@ import { WaterfallDataEntry } from '../../waterfall/types';
|
|||
describe('Palettes', () => {
|
||||
it('A colour palette comprising timing and mime type colours is correctly generated', () => {
|
||||
expect(colourPalette).toEqual({
|
||||
blocked: '#b9a888',
|
||||
blocked: '#dcd4c4',
|
||||
connect: '#da8b45',
|
||||
dns: '#54b399',
|
||||
font: '#aa6556',
|
||||
|
@ -173,10 +173,10 @@ describe('getSeriesAndDomain', () => {
|
|||
"series": Array [
|
||||
Object {
|
||||
"config": Object {
|
||||
"colour": "#b9a888",
|
||||
"colour": "#dcd4c4",
|
||||
"showTooltip": true,
|
||||
"tooltipProps": Object {
|
||||
"colour": "#b9a888",
|
||||
"colour": "#dcd4c4",
|
||||
"value": "Queued / Blocked: 0.854ms",
|
||||
},
|
||||
},
|
||||
|
@ -264,10 +264,10 @@ describe('getSeriesAndDomain', () => {
|
|||
},
|
||||
Object {
|
||||
"config": Object {
|
||||
"colour": "#b9a888",
|
||||
"colour": "#dcd4c4",
|
||||
"showTooltip": true,
|
||||
"tooltipProps": Object {
|
||||
"colour": "#b9a888",
|
||||
"colour": "#dcd4c4",
|
||||
"value": "Queued / Blocked: 84.546ms",
|
||||
},
|
||||
},
|
||||
|
@ -330,10 +330,10 @@ describe('getSeriesAndDomain', () => {
|
|||
"series": Array [
|
||||
Object {
|
||||
"config": Object {
|
||||
"colour": "#b9a888",
|
||||
"colour": "#dcd4c4",
|
||||
"showTooltip": true,
|
||||
"tooltipProps": Object {
|
||||
"colour": "#b9a888",
|
||||
"colour": "#dcd4c4",
|
||||
"value": "Queued / Blocked: 0.854ms",
|
||||
},
|
||||
},
|
||||
|
|
|
@ -197,7 +197,7 @@ const buildTimingPalette = (): TimingColourPalette => {
|
|||
const palette = Object.values(Timings).reduce<Partial<TimingColourPalette>>((acc, value) => {
|
||||
switch (value) {
|
||||
case Timings.Blocked:
|
||||
acc[value] = SAFE_PALETTE[6];
|
||||
acc[value] = SAFE_PALETTE[16];
|
||||
break;
|
||||
case Timings.Dns:
|
||||
acc[value] = SAFE_PALETTE[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue