mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-08 10:59:04 +08:00
fix: incorrect error rate query (#4805)
This commit is contained in:
parent
c76cef47ba
commit
87534b6fb6
@ -879,7 +879,7 @@ func (r *ClickHouseReader) GetServices(ctx context.Context, queryParams *model.G
|
||||
zap.L().Error("Error building query with tag params", zap.Error(errStatus))
|
||||
return
|
||||
}
|
||||
query += subQuery
|
||||
errorQuery += subQuery
|
||||
args = append(args, argsSubQuery...)
|
||||
err = r.db.QueryRow(ctx, errorQuery, args...).Scan(&numErrors)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user