Skip to content

Requested percentiles order changes on dashboard reload #50

@ibspoof

Description

@ibspoof

When selecting percentiles (50,99,99.9,99.99) the order of the values change on each refresh of the dashboard or time period which causes the default color for each percentile line to change.

Seems to be an issue with the API, not sure if there is a fix in the plugin that can order the results by the order of the requested percentiles.

Request 1:

percentile:Array[4]
0:"50"
1:"99"
2:"99.9"
3:"99.99"

Response 1:

latencies:Array[4]
0:Object
percentile:"50"
latency-ms:Array[1440]
1:Object
percentile:"99"
latency-ms:Array[1440]
2:Object
percentile:"99.9"
latency-ms:Array[1440]
3:Object
percentile:"99.99"
latency-ms:Array[1440]

Request 2:

percentile:Array[4]
0:"50"
1:"99"
2:"99.9"
3:"99.99"

Response 2:

latencies:Array[4]
0:Object
percentile:"99.9"
latency-ms:Array[1440]
1:Object
percentile:"99.99"
latency-ms:Array[1440]
2:Object
percentile:"50"
latency-ms:Array[1440]
3:Object
percentile:"99"
latency-ms:Array[1440]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions