mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 20:38:59 +08:00
fix: fixed the traces corelation query for status code bar charts
This commit is contained in:
parent
b24095236f
commit
413b0d9fae
@ -615,14 +615,14 @@ const defaultGroupBy = [
|
|||||||
key: 'http.url',
|
key: 'http.url',
|
||||||
type: 'tag',
|
type: 'tag',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
key: 'net.peer.port',
|
// key: 'net.peer.port',
|
||||||
dataType: DataTypes.Float64,
|
// dataType: DataTypes.Float64,
|
||||||
type: 'tag',
|
// type: 'tag',
|
||||||
isColumn: false,
|
// isColumn: false,
|
||||||
isJSON: false,
|
// isJSON: false,
|
||||||
id: 'net.peer.port--float64--tag--false',
|
// id: 'net.peer.port--float64--tag--false',
|
||||||
},
|
// },
|
||||||
];
|
];
|
||||||
|
|
||||||
export const getEndPointsQueryPayload = (
|
export const getEndPointsQueryPayload = (
|
||||||
@ -3185,19 +3185,23 @@ export const getStatusCodeBarChartWidgetData = (
|
|||||||
op: '=',
|
op: '=',
|
||||||
value: domainName,
|
value: domainName,
|
||||||
},
|
},
|
||||||
{
|
...(endPointName
|
||||||
id: '8b1be6f0',
|
? [
|
||||||
key: {
|
{
|
||||||
dataType: DataTypes.String,
|
id: '8b1be6f0',
|
||||||
id: 'http.url--string--tag--false',
|
key: {
|
||||||
isColumn: false,
|
dataType: DataTypes.String,
|
||||||
isJSON: false,
|
id: 'http.url--string--tag--false',
|
||||||
key: 'http.url',
|
isColumn: false,
|
||||||
type: 'tag',
|
isJSON: false,
|
||||||
},
|
key: 'http.url',
|
||||||
op: '=',
|
type: 'tag',
|
||||||
value: endPointName,
|
},
|
||||||
},
|
op: '=',
|
||||||
|
value: endPointName,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
: []),
|
||||||
...filters.items,
|
...filters.items,
|
||||||
],
|
],
|
||||||
op: 'AND',
|
op: 'AND',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user