Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore: improve colors for the log line indicators (#6032)

Vikrant Guptae203276678e1
diff --git a/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss b/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss
index 61870abc71..2260bf5aa3 100644
--- a/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss
+++ b/frontend/src/components/Logs/LogStateIndicator/LogStateIndicator.styles.scss
@@ -22,26 +22,21 @@
}
&.INFO {
- background-color: var(--bg-slate-400);
+ background-color: var(--bg-robin-500);
}
-
&.WARNING,
&.WARN {
background-color: var(--bg-amber-500);
}
-
&.ERROR {
background-color: var(--bg-cherry-500);
}
-
&.TRACE {
- background-color: var(--bg-robin-300);
+ background-color: var(--bg-forest-400);
}
-
&.DEBUG {
- background-color: var(--bg-forest-500);
+ background-color: var(--bg-aqua-500);
}
-
&.FATAL {
background-color: var(--bg-sakura-500);
}
diff --git a/frontend/src/container/LogsExplorerChart/utils.ts b/frontend/src/container/LogsExplorerChart/utils.ts
index d052a01585..40253750da 100644
--- a/frontend/src/container/LogsExplorerChart/utils.ts
+++ b/frontend/src/container/LogsExplorerChart/utils.ts
@@ -9,15 +9,18 @@ export function getColorsForSeverityLabels(
const lowerCaseLabel = label.toLowerCase();
if (lowerCaseLabel.includes(`{severity_text="trace"}`)) {
- return Color.BG_ROBIN_300;
+ return Color.BG_FOREST_400;
}
if (lowerCaseLabel.includes(`{severity_text="debug"}`)) {
- return Color.BG_FOREST_500;
+ return Color.BG_AQUA_500;
}
- if (lowerCaseLabel.includes(`{severity_text="info"}`)) {
- return Color.BG_SLATE_400;
+ if (
+ lowerCaseLabel.includes(`{severity_text="info"}`) ||
+ lowerCaseLabel.includes(`{severity_text=""}`)
+ ) {
+ return Color.BG_ROBIN_500;
}
if (lowerCaseLabel.includes(`{severity_text="warn"}`)) {