Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Runtime metrics boilerplate #4544

Closed
sandreim opened this issue Dec 16, 2021 · 0 comments · Fixed by #4602
Closed

Runtime metrics boilerplate #4544

sandreim opened this issue Dec 16, 2021 · 0 comments · Fixed by #4602
Assignees

Comments

@sandreim
Copy link
Contributor

This work was deferred from #4483. The main issue is that the runtime metrics registration happens on each runtime call. On top of that, incrementing metrics is not ergonomic because it requires either recreating the runtime metric object every time or passing it around.

One solution is to move metric registration logic to node side and register all runtime metrics early. This also reduces the amount of data the runtime will send via tracing for updating metrics.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant