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: correct isMonotonic field name in metric details (#7393)

Amlan Kumar Nandybc72a0a591a2
diff --git a/frontend/src/container/MetricsExplorer/MetricDetails/Metadata.tsx b/frontend/src/container/MetricsExplorer/MetricDetails/Metadata.tsx
index a8680b6c5d..0a877ffe3a 100644
--- a/frontend/src/container/MetricsExplorer/MetricDetails/Metadata.tsx
+++ b/frontend/src/container/MetricsExplorer/MetricDetails/Metadata.tsx
@@ -50,8 +50,8 @@ function Metadata({
...metadata,
temporality: metadata?.temporality,
})
- // Filter out isMonotonic as user input is not required
- .filter((key) => key !== 'isMonotonic')
+ // Filter out monotonic as user input is not required
+ .filter((key) => key !== 'monotonic')
.map((key) => ({
key,
value: {
@@ -74,7 +74,9 @@ function Metadata({
className: 'metric-metadata-key',
render: (field: string): JSX.Element => (
<FieldRenderer
- field={METRIC_METADATA_KEYS[field as keyof typeof METRIC_METADATA_KEYS]}
+ field={
+ METRIC_METADATA_KEYS[field as keyof typeof METRIC_METADATA_KEYS] || ''
+ }
/>
),
},