Skip to content

Conversation

@abelyakin
Copy link
Contributor

Description

Summary
Implemented series sorting functionality for the Status History panel to group series with the same name together, improving data visualization clarity.

Problem
When displaying multiple series with identical names (e.g., "kafka-1") from different Prometheus queries in the Status History panel, the series were displayed in random order, making it difficult to visually correlate related data points.

Solution
Added sorting configuration option to the Status History panel schema with "asc" | "desc" values
Implemented series sorting logic to group series by name alphabetically
Series with the same name from different queries are now displayed consecutively

Screenshots

2025-07-14_12-29

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

@abelyakin abelyakin force-pushed the status-history-sorting branch 3 times, most recently from 64b17b6 to 4705252 Compare July 14, 2025 14:26
Signed-off-by: Alexander Belyakin <21216343+abelyakin@users.noreply.github.com>
@abelyakin abelyakin force-pushed the status-history-sorting branch from 4705252 to a1e5811 Compare July 14, 2025 14:30
@jgbernalp
Copy link
Contributor

@abelyakin mind resolving the conflicts so we can merge this?, thnx. Again sorry for the delay on the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants