Skip to content

Commit

Permalink
Merge pull request #9 from GreptimeTeam/feat/replace-mean
Browse files Browse the repository at this point in the history
feat: replace mean with avg
  • Loading branch information
waynexia authored Nov 10, 2023
2 parents c36d7a8 + ca41b50 commit 0b0159a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tsbs_generate_queries/databases/greptime/devops.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (d *Devops) GroupByTimeAndPrimaryTag(qi query.Query, numMetrics int) {
metrics, err := devops.GetCPUMetricsSlice(numMetrics)
databases.PanicIfErr(err)
interval := d.Interval.MustRandWindow(devops.DoubleGroupByDuration)
selectClauses := d.getSelectClausesAggMetrics("mean", metrics)
selectClauses := d.getSelectClausesAggMetrics("avg", metrics)

humanLabel := devops.GetDoubleGroupByLabel("Influx", numMetrics)
humanDesc := fmt.Sprintf("%s: %s", humanLabel, interval.StartString())
Expand Down

0 comments on commit 0b0159a

Please sign in to comment.