chore: fix queries

Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
This commit is contained in:
Shivanshu Raj Shrivastava 2025-05-03 15:08:13 +05:30
parent 1b20083f84
commit ef45bda1bf
No known key found for this signature in database
GPG Key ID: D34D26C62AC3E9AE

View File

@ -251,7 +251,25 @@ func ValidateTraces(funnel *tracefunnel.Funnel, timeRange tracefunnel.TimeRange)
var query string
if len(funnel.Steps) > 2 {
//query = BuildThreeStepFunnelValidationQuery()
query = BuildThreeStepFunnelValidationQuery(
0, // containsErrorT1
0, // containsErrorT2
0, // containsErrorT3
1746227399043000000, // startTs
1746229199043000000, // endTs
"load-generator", // serviceNameT1
"GET", // spanNameT1
"frontend-proxy", // serviceNameT2
"ingress", // spanNameT2
"frontend", // serviceNameT3
"GET", // spanNameT3
"",
"",
"",
//"http_method = 'POST'", // clauseStep1
//"response_status_code = '500'", // clauseStep2
//"db_operation = 'SELECT'", // clauseStep3
)
} else {
query = BuildTwoStepFunnelValidationQuery(
0, // containsErrorT1