lightstep-grafana-plugin icon indicating copy to clipboard operation
lightstep-grafana-plugin copied to clipboard

Requested percentiles order changes on dashboard reload

Open ibspoof opened this issue 6 years ago • 0 comments

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]

ibspoof avatar Apr 16 '19 21:04 ibspoof