mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 01:09: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,
|
||||
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] || ''
|
||||
}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user