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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
// Block (not flex) so the strip wraps around the floated time selector: one line
// beside it when collapsed, and — via `.stripExpanded`'s `clear: both` — dropping
// full-width below it when expanded. A flex `.bar` would be a BFC that sits beside
// the float and makes the child strip's `clear` inert.
.bar {
min-width: 0;
}
.strip {
display: flow-root;
// Collapsed: one line only, so the trailing add "+" never wraps below.
white-space: nowrap;
}
.stripExpanded {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 8px;
padding-top: 12px;
overflow: visible;
white-space: normal;
clear: both;
.variableSlot,
.moreButton,
.addSlot {
margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
animation: variablesExpandIn 200ms ease-out;
}
}
@keyframes variablesExpandIn {
from {
opacity: 0;
transform: translateY(-6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.variableSlot {
display: inline-flex;
align-items: center;
margin-right: 8px;
vertical-align: bottom;
}
.variableSlotHidden {
display: none;
}
.moreButton {
display: inline-flex;
margin-right: 8px;
vertical-align: bottom;
}
.addSlot {
display: inline-flex;
vertical-align: bottom;
}
// Shared by the Text and value selectors: strips the antd control chrome so the
// selector blends into the variable pill.
.control {
width: 100%;
min-width: 120px;
:global(.ant-select-selector),
:global(.ant-input),
&:global(.ant-input) {
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
// Keep the multi-select's tags on one line (paired with maxTagCount) so a
// selected value never wraps the control onto a second row.
:global(.ant-select-selection-overflow) {
flex-wrap: nowrap;
}
// The shared NewSelect selector scrolls (max-height: 200px; overflow: auto),
// which surfaces horizontal + vertical scrollbars inside the fixed-width
// variable pill. Clip instead — the value is a single line (maxTagCount + "+N"),
// so there is nothing to scroll to.
:global(.ant-select-selector) {
max-height: none !important;
overflow: hidden !important;
}
// Let the first tag shrink and truncate so the layout stays [tag…][+N]. Without
// this the "+N" overflow item wins the row's space and the (longer) first tag
// gets offset/clipped — visible after switching a value from ALL to a subset.
:global(.ant-select-selection-overflow-item) {
min-width: 0;
}
:global(.ant-select-selection-item) {
min-width: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
// The shared .custom-multiselect forces the search box to a 60px floor
// (min-width: 60px !important). In this narrow variable pill that reserved
// width is what offsets/clips the tag row, so collapse it here — the extra
// selectors out-specify the shared rule's !important. It still expands to fit
// what the user types while the dropdown is open.
:global(.ant-select-selector .ant-select-selection-search) {
min-width: 0 !important;
flex: 0 1 auto;
}
:global(
.ant-select-selector
.ant-select-selection-search
.ant-select-selection-search-input
) {
min-width: 0 !important;
}
}