Skip to content

feat(telemetry): add request-driven metric export for Agent Engine - #6510

Merged
copybara-service[bot] merged 1 commit into
mainfrom
copybara/952166383
Jul 29, 2026
Merged

feat(telemetry): add request-driven metric export for Agent Engine#6510
copybara-service[bot] merged 1 commit into
mainfrom
copybara/952166383

Conversation

@copybara-service

Copy link
Copy Markdown

feat(telemetry): add request-driven metric export for Agent Engine

On the Vertex AI Agent Runtime CPU is throttled the instant a request
finishes, so a background periodic metric exporter is starved between
requests and drops data. This adds a request-driven metric
reader (and the span processor + middleware that drive it) that
collects and exports metrics on the request path, where CPU is
guaranteed, without adding latency to any request.

The default GCP metric exporter is also switched to a raw OTLP push exporter
over telemetry.googleapis.com.

Co-authored-by: Max Ind maxind@google.com

@copybara-service
copybara-service Bot force-pushed the copybara/952166383 branch 3 times, most recently from faf4f9e to 51cd5ca Compare July 29, 2026 14:57
On the Vertex AI Agent Runtime CPU is throttled the instant a request
finishes, so a background periodic metric exporter is starved between
requests and drops data. This adds a request-driven metric
reader (and the span processor + middleware that drive it) that
collects and exports metrics on the request path, where CPU is
guaranteed, without adding latency to any request.

The default GCP metric exporter is also switched to a raw OTLP push exporter
over telemetry.googleapis.com.

Co-authored-by: Max Ind <maxind@google.com>
PiperOrigin-RevId: 955921308
@copybara-service
copybara-service Bot force-pushed the copybara/952166383 branch from 51cd5ca to 8930d9b Compare July 29, 2026 16:17
@copybara-service
copybara-service Bot merged commit 8930d9b into main Jul 29, 2026
@copybara-service
copybara-service Bot deleted the copybara/952166383 branch July 29, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant