Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlong committed Jul 4, 2018
1 parent cb46bf6 commit 1406398
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/services.go
Expand Up @@ -135,7 +135,6 @@ func GroupDataBy(column string, id int64, tm time.Time, increment string) string
case "postgres":
sql = fmt.Sprintf("SELECT date_trunc('%v', created_at), AVG(latency)*1000 AS value FROM %v WHERE service=%v AND created_at >= '%v' GROUP BY 1 ORDER BY date_trunc ASC;", increment, column, id, tm.Format(time.RFC3339))
}
fmt.Println(sql)
return sql
}

Expand Down

0 comments on commit 1406398

Please sign in to comment.