|
@@ -68,7 +68,7 @@ func (e *AppScore) GetServicesDetails(ctx context.Context, list *[]dto.ServiceAp
|
|
|
err := e.PgOrm.Table(tbl).
|
|
|
Select("service_name, sum(request_count) as total, sum(span_status_error_count) as error_num, avg(apdex) as apdex").
|
|
|
Where("timestamp>=? and timestamp<?", start, end).
|
|
|
- Where("app_name", params.AppAlias).Group("service_name, timestamp").
|
|
|
+ Where("app_name", params.AppAlias).Group("service_name").
|
|
|
Find(list).Error
|
|
|
if err != nil {
|
|
|
return err
|