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: reset filters while going from hosts list to host details (#7150)

Amlan Kumar Nandy1925b6b4cb48
diff --git a/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.tsx b/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.tsx
index 2d4b7af903..633b85dfeb 100644
--- a/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.tsx
+++ b/frontend/src/components/HostMetricsDetail/HostMetricTraces/HostMetricTraces.tsx
@@ -67,6 +67,10 @@ function HostMetricTraces({
aggregateAttribute: {
...currentQuery.builder.queryData[0].aggregateAttribute,
},
+ filters: {
+ items: [],
+ op: 'AND',
+ },
},
],
},
diff --git a/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogsDetailedView.tsx b/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogsDetailedView.tsx
index 4a8c65ce39..ec88ef49e6 100644
--- a/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogsDetailedView.tsx
+++ b/frontend/src/components/HostMetricsDetail/HostMetricsLogs/HostMetricLogsDetailedView.tsx
@@ -50,6 +50,10 @@ function HostMetricLogsDetailedView({
aggregateAttribute: {
...currentQuery.builder.queryData[0].aggregateAttribute,
},
+ filters: {
+ items: [],
+ op: 'AND',
+ },
},
],
},
diff --git a/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss b/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss
index 1247638b7b..f3bc796809 100644
--- a/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss
+++ b/frontend/src/container/InfraMonitoringHosts/InfraMonitoring.styles.scss
@@ -55,11 +55,14 @@
.hosts-list-content {
display: flex;
flex-direction: row;
+ align-items: stretch;
+ height: calc(100vh - 110px);
.hosts-quick-filters-container {
width: 280px;
min-width: 280px;
border-right: 1px solid var(--bg-slate-400);
+ height: 100%;
.hosts-quick-filters-container-header {
padding: 8px;
@@ -193,7 +196,7 @@
.ant-pagination {
position: fixed;
bottom: 0;
- width: calc(100% - 64px);
+ width: calc(100% - 364px);
background: var(--bg-ink-500);
padding: 16px;
margin: 0;