mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-08 18:08:59 +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))
|
zap.L().Error("Error building query with tag params", zap.Error(errStatus))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
query += subQuery
|
errorQuery += subQuery
|
||||||
args = append(args, argsSubQuery...)
|
args = append(args, argsSubQuery...)
|
||||||
err = r.db.QueryRow(ctx, errorQuery, args...).Scan(&numErrors)
|
err = r.db.QueryRow(ctx, errorQuery, args...).Scan(&numErrors)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user