-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cockpit: Implement PCP metrics channel in the Python bridge
The Python bridge still used the separate `cockpit-pcp` bridge for metrics gathering. For us to remove the full C bridge implementation the separate PCP bridge also has to be rewritten. This rewrite is a more or less Python copy of the C implementation using the Python PCP module. Even though the Python PCP module offers a "higher level" fetchGroup API but preliminary testing has found this has some issues with changing multi instance values and instances can not be omitted with a fetch group (but this can be done in our own code) Co-Authored-By: Allison Karlitskaya <[email protected]> Co-Authored-By: Tomas Matus <[email protected]>
- Loading branch information
1 parent
5d7508a
commit 5e5f3f2
Showing
11 changed files
with
1,356 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
{ | ||
"requires": { | ||
"cockpit": "239" | ||
}, | ||
"bridges": [ | ||
{ | ||
"match": { "payload": "metrics1" }, | ||
"spawn": [ "${libexecdir}/cockpit-pcp" ] | ||
} | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.