API metrics for forwarded vs direct calls #5038
Answered
by
achamayou
heidihoward
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
achamayou
Feb 21, 2023
Replies: 1 comment 2 replies
-
@heidihoward not right now, I guess there's the question of what the metrics would then look like, would we want a breakdown per-category? Should there be a |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
heidihoward
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@heidihoward not right now,
RpcFrontend::process()
would need to look atctx->get_session_context()->is_forwarded()
before/when callingupdate_metrics()
.I guess there's the question of what the metrics would then look like, would we want a breakdown per-category? Should there be a
timeout
counter on the forwarder side as well?