Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thresholds and custom legends #6812

Open
unexist opened this issue Jan 14, 2025 · 1 comment
Open

Thresholds and custom legends #6812

unexist opened this issue Jan 14, 2025 · 1 comment

Comments

@unexist
Copy link

unexist commented Jan 14, 2025

Bug description

Whenever I set a threshold with a custom legend the threshold stops working.

Expected behavior

Foreground and background color should still be set, even when there is a custom legend set.

How to reproduce

  1. Create a panel with table as panel type
  2. Create any output like a metric
  3. Set a threshold >0 to set the text color to red
  4. Verify the color is set to red
  5. Add a custom legend to the query
  6. Verify the text color switches back to default

Version information

  • Signoz version: 0.67.1
  • Browser version: Brave [Version 1.73.105 Chromium: 131.0.6778.265 (Official Build) (x86_64)]
  • Your OS and version: macOS 13.5.2 (22G91)
  • Your CPU Architecture(ARM/Intel): Intel

Additional context

Threshold sets the text color:

Image

Threshold doesn't set the text color anymore with a custom legend:

Image

(Please note: I reduced the sizes of the text elements deliberately to fit them better into the screenshots, the sizes aren't the actual rendering in my browser - which look fine in my version of Brave)

I might miss something; if this is the intended behavior can you please point me to the documentation of it?

Copy link

welcome bot commented Jan 14, 2025

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.

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

No branches or pull requests

1 participant