Skip to content

Commit 9972a40

Browse files
a7icursoragent
andcommitted
fix(cluster-agent): restore rate_limit_queries telemetry after external metrics refactor
QueryExternalMetric stopped calling updateRateLimitingMetrics() when parallel query batching landed in #33272, so limit/remaining/period/reset gauges were no longer published on the cluster-agent metrics endpoint. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7bdbc2f commit 9972a40

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/util/kubernetes/autoscalers/processor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ func (p *Processor) QueryExternalMetric(queries []string, timeWindow time.Durati
222222
_ = group.Wait()
223223

224224
log.Debugf("Processed %d chunks with %d chunks in global error", len(chunks), responsesGlobalErrors)
225+
p.updateRateLimitingMetrics()
225226
return responses
226227
}
227228

0 commit comments

Comments
 (0)