Lee-W commented on code in PR #72786:
URL: https://github.com/apache/airflow/pull/72786#discussion_r4052541537
##########
shared/observability/src/airflow_shared/observability/metrics/metrics_template.yaml:
##########
@@ -415,6 +415,20 @@ metrics:
legacy_name: "-"
name_variables: ["tool", "platform", "role", "position"]
+ - name: "managed_agent.invoked"
+ description: "Number of managed agent invocations attempted through a
+ ``BaseManagedAgentToolset`` tool call, emitted once per attempt whether it
+ succeeds or fails, and whether the toolset stands alone or is a member of a
+ ``FailoverManagedAgentToolset`` group. Metric with tool and platform
tagging;
+ platform is the literal string ``unknown`` when the toolset's identity
fails
Review Comment:
`unknown` is now described as the toolset's own `agent_ref` returning a dict
with no `platform` key, a group emits once under its own tool name with
`platform="failover"`, and a member never emits it at all since the group
reaches members through `invoke()`. "call still proceeds after a warning" is
gone.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]