mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-08 17:08:58 +08:00
fix: added handling for new key - duration_nano in traces (#6658)
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
This commit is contained in:
parent
9f6419c2f8
commit
825d2dfcbb
@ -29,7 +29,8 @@ function TimeSeriesViewContainer({
|
||||
currentQuery.builder.queryData.forEach(
|
||||
({ aggregateAttribute, aggregateOperator }) => {
|
||||
const isExistDurationNanoAttribute =
|
||||
aggregateAttribute.key === 'durationNano';
|
||||
aggregateAttribute.key === 'durationNano' ||
|
||||
aggregateAttribute.key === 'duration_nano';
|
||||
|
||||
const isCountOperator =
|
||||
aggregateOperator === 'count' || aggregateOperator === 'count_distinct';
|
||||
|
@ -1,5 +1,5 @@
|
||||
export const getSpanOrderParam = (key: string): string => {
|
||||
if (key === 'durationNano') {
|
||||
if (key === 'durationNano' || key === 'duration_nano') {
|
||||
return 'duration';
|
||||
}
|
||||
if (key === 'timestamp') {
|
||||
|
@ -96,7 +96,7 @@ export const getListColumns = (
|
||||
);
|
||||
}
|
||||
|
||||
if (key === 'durationNano') {
|
||||
if (key === 'durationNano' || key === 'duration_nano') {
|
||||
return (
|
||||
<BlockLink to={getTraceLink(item)} openInNewTab={false}>
|
||||
<Typography data-testid={key}>{getMs(value)}ms</Typography>
|
||||
|
Loading…
x
Reference in New Issue
Block a user