Skip to content

Dashboard legend items (and pie chart slices) change order after refreshΒ #10265

@luukrijnbende

Description

@luukrijnbende

Bug description

Hi, I have multiple dashboards in SigNoz where I show a bunch of different panels, most of them with multiple metrics. Now the legend on those panels has a certain order (not always the order in which the metrics are defined) which changes after a refresh of the dashboard. This means that whenever auto-reload is enabled there are changes on the dashboard which are not relevant to anyone looking at it.

The order of the legend labels is not really a big deal, but the pie chart is also affected, which means a big chunk of the dashboard changes after a refresh.

Is there any way to fix the order of the legend or metrics as a whole inside the panels so it either doesn't change or reflects the order in which the metrics are defined?

Image Image

Expected behavior

Order of the legend items does not change, also order of the slices displayed in the pie chart does not change.

How to reproduce

  1. Create any dashboard with multiple metrics in one panel (e.g. Pie, Line, etc..)
  2. Refresh the dashboard a couple times
  3. See the order of the legend items and the slices of the pie change

Version information

  • Signoz version: v0.110.1
  • Browser version: Firefox 147.0.3
  • Your OS and version: Client - MacOS Tahoe 26.2 | Server - Debian 13, k8s 1.35
  • Your CPU Architecture(ARM/Intel): Client - ARM | Server - Intel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions