fix: fixed the traces corelation query for status code bar charts

This commit is contained in:
sawhil 2025-04-26 08:45:24 +05:30 committed by Sahil Khan
parent b24095236f
commit 413b0d9fae

View File

@ -615,14 +615,14 @@ const defaultGroupBy = [
key: 'http.url',
type: 'tag',
},
{
key: 'net.peer.port',
dataType: DataTypes.Float64,
type: 'tag',
isColumn: false,
isJSON: false,
id: 'net.peer.port--float64--tag--false',
},
// {
// key: 'net.peer.port',
// dataType: DataTypes.Float64,
// type: 'tag',
// isColumn: false,
// isJSON: false,
// id: 'net.peer.port--float64--tag--false',
// },
];
export const getEndPointsQueryPayload = (
@ -3185,19 +3185,23 @@ export const getStatusCodeBarChartWidgetData = (
op: '=',
value: domainName,
},
{
id: '8b1be6f0',
key: {
dataType: DataTypes.String,
id: 'http.url--string--tag--false',
isColumn: false,
isJSON: false,
key: 'http.url',
type: 'tag',
},
op: '=',
value: endPointName,
},
...(endPointName
? [
{
id: '8b1be6f0',
key: {
dataType: DataTypes.String,
id: 'http.url--string--tag--false',
isColumn: false,
isJSON: false,
key: 'http.url',
type: 'tag',
},
op: '=',
value: endPointName,
},
]
: []),
...filters.items,
],
op: 'AND',