feat: Add canister_metrics endpoint on management canister#6217
Open
dsarlis wants to merge 15 commits intodfinity:masterfrom
Open
feat: Add canister_metrics endpoint on management canister#6217dsarlis wants to merge 15 commits intodfinity:masterfrom
dsarlis wants to merge 15 commits intodfinity:masterfrom
Conversation
Co-authored-by: mraszyk <31483726+mraszyk@users.noreply.github.com>
Co-authored-by: mraszyk <31483726+mraszyk@users.noreply.github.com>
mraszyk
reviewed
Apr 7, 2026
mraszyk
reviewed
Apr 7, 2026
mraszyk
reviewed
Apr 7, 2026
mraszyk
reviewed
Apr 7, 2026
Contributor
mraszyk
left a comment
There was a problem hiding this comment.
LGTM modulo the note about query calls in the formal part of the spec
mraszyk
reviewed
Apr 7, 2026
Co-authored-by: mraszyk <31483726+mraszyk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a management canister API that will be used to report canister related metrics to canister controllers or subnet admins. The API currently only includes a set of cycles consumed by different use cases but is designed that it can be easily extended to include more metrics (whether cycles related or even calls processed etc).
.mdxfile format to support the previous two components./sidebars.js, otherwise, it will not appear in theside navigation bar.
.github/CODEOWNERSfile iscontains any new directories or specific documents that you added that should be reviewed by a specific teamm.