Skip to content

Commit

Permalink
Merge pull request #431 from DataDog/kravishankar/STREAMS-2057-fix
Browse files Browse the repository at this point in the history
[Metricsfetcher] Change broker query to use last instead of rollup
  • Loading branch information
kravisha91 authored Oct 3, 2023
2 parents 3f44cc1 + 82e2a9c commit b298cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/metricsfetcher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func init() {
}

// Complete query string.
config.BrokerQuery = fmt.Sprintf("%s by {%s}.rollup(avg, %d)", *bq, config.BrokerIDTag, config.Span)
config.BrokerQuery = fmt.Sprintf("%s by {%s}.fill(last)", *bq, config.BrokerIDTag)
config.PartnQuery = fmt.Sprintf("%s.rollup(avg, %d)", *pq, config.Span)
}

Expand Down

0 comments on commit b298cd9

Please sign in to comment.