Skip to content

refactor(telemetry): rename duration metrics to GenAI semconv operation names#6260

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

refactor(telemetry): rename duration metrics to GenAI semconv operation names#6260
copybara-service[bot] merged 1 commit into
mainfrom
copybara/939932807

Conversation

@copybara-service

Copy link
Copy Markdown

refactor(telemetry): rename duration metrics to GenAI semconv operation names

Rename gen_ai.agent.invocation.duration to gen_ai.invoke_agent.duration and
gen_ai.tool.execution.duration to gen_ai.execute_tool.duration so the metric
names match the GenAI semantic-convention operation names (invoke_agent,
execute_tool) already used for the corresponding spans.

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

…on names

Rename gen_ai.agent.invocation.duration to gen_ai.invoke_agent.duration and
gen_ai.tool.execution.duration to gen_ai.execute_tool.duration so the metric
names match the GenAI semantic-convention operation names (invoke_agent,
execute_tool) already used for the corresponding spans.

Co-authored-by: Max Ind <maxind@google.com>
PiperOrigin-RevId: 941394506
@copybara-service copybara-service Bot force-pushed the copybara/939932807 branch from 04b9463 to 77d5b5c Compare July 2, 2026 01:27
@copybara-service copybara-service Bot merged commit 77d5b5c into main Jul 2, 2026
@copybara-service copybara-service Bot deleted the copybara/939932807 branch July 2, 2026 01:27
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