mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 19:39:02 +08:00
chore: correct isMonotonic field name in metric details (#7393)
This commit is contained in:
parent
ad2b75e3f0
commit
bc72a0a591
@ -50,8 +50,8 @@ function Metadata({
|
|||||||
...metadata,
|
...metadata,
|
||||||
temporality: metadata?.temporality,
|
temporality: metadata?.temporality,
|
||||||
})
|
})
|
||||||
// Filter out isMonotonic as user input is not required
|
// Filter out monotonic as user input is not required
|
||||||
.filter((key) => key !== 'isMonotonic')
|
.filter((key) => key !== 'monotonic')
|
||||||
.map((key) => ({
|
.map((key) => ({
|
||||||
key,
|
key,
|
||||||
value: {
|
value: {
|
||||||
@ -74,7 +74,9 @@ function Metadata({
|
|||||||
className: 'metric-metadata-key',
|
className: 'metric-metadata-key',
|
||||||
render: (field: string): JSX.Element => (
|
render: (field: string): JSX.Element => (
|
||||||
<FieldRenderer
|
<FieldRenderer
|
||||||
field={METRIC_METADATA_KEYS[field as keyof typeof METRIC_METADATA_KEYS]}
|
field={
|
||||||
|
METRIC_METADATA_KEYS[field as keyof typeof METRIC_METADATA_KEYS] || ''
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user