Repository navigation
[#507] Decouple console data provider layer from console - #684
Open
rohanmishra29 wants to merge 1 commit into
Open
rohanmishra29 wants to merge 1 commit into
rohanmishra29 wants to merge 1 commit into
Conversation
Contributor
|
Please, rebase |
rohanmishra29
force-pushed
the
issue-507-console-data-provider
branch
from
November 19, 2026 06:02
0e3a21b to
87fe25f
Compare
rohanmishra29
force-pushed
the
issue-507-console-data-provider
branch
from
November 21, 2026 06:42
87fe25f to
4645c1e
Compare
Author
|
@jesperpedersen Rebased |
Collaborator
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.
Closes #507
Summary
console_provider.h/console_provider.c): Introducedstruct console_data_provider,struct console_query, normalizedconsole_pagedata structures, and shared category/metric lifecycle helpers (pgexporter_console_find_or_create_category,pgexporter_console_category_add_metric,pgexporter_console_metric_free).console_realtime.c): Extracted Prometheus bridge polling, server/management status collection, and prefix-based category grouping intopgexporter_console_realtime_provider().console.c): Refactoredconsole_init()andconsole_destroy()to consume the pluggable provider vtable and exposed"mode"in/apiJSON responses.test/testcases/test_console.c): Added MCTF test coverage for the real-time provider lifecycle and category/metric helpers.