Inconsistency in Time Series Graph

Hi,

We have created a time series graph, in order to display the 4xx and 5xx errors in some of our application load balancers, fetching data from Cloudwatch.

However, we have noticed the following behavior: When none of the load balancers is selected, the colors in the legend and the lines in the graphs don’t match. However, when an individual LB is selected, the graph looks accurate.

Do you know why this is happening? Is this a bug or have we configured something in the wrong way?

Thanks,

Theo


@theodorosmylonidis

are you using the Cloudwatch plugin? Can you sahre more details like your query?

Yes, we are using the Cloudwatch plugin. We are querying the Cloudwatch metrics, and in this case we are using a predefined metric, as you can see in the attached screenshot.

It is the same for 4xx and 5xx errors. Can it be that we have configured something wrongly?

Thanks,

Theo

1 Like

@mattabrams is there any update on this? Thanks!

Make your graph higher, to make more space for legend. I guess your legend items are just not visible, because you have many LBs (there is also tiny scroll bar in the legend usually, which may not be visible). My guess is that you are only confused from the UI.

Hi @jangaraj, thank you for your response. However, that doesn’t seem to be the case. If you have a look at the screenshots below, you will see that the colors in the legend do not correspond to the graph when no LB is selected. They are changing whenever a single LB is selected:

According to the first graph, the line in the second one should be light green, instead of the one in the third graph. This means that when no LB is selected, the legend is misleading. Could this be a bug?

Apologies for the small image, but I am not allowed to post more than two individual screenshots.

Thanks,

Theo

I don’t know. Use the latest stable Grafana and Time series panel.

I remember something like this being reported as a bug a few months back - and fixed soon after. As @jangaraj suggests, see if updating your Grafana version helps?

@svetb thanks for your suggestion, but unfortunately, that did not solve the issue either. I am using 8.2.1 and the issue still persists.

I see. In that case it probably makes most sense to open a GitHub issue for this.