-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize xcp-metrics/xcp-metrics-common
Remove protocol v3 replaced by newer "xcp-metrics protocol v1". Remove XAPI RPC. Remove xcp-rrdd compatibility layers. Only support "xcp-metrics protocol" for plugins/daemon communication.
- Loading branch information
Showing
41 changed files
with
647 additions
and
2,897 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
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,3 +1,4 @@ | ||
fn main() { | ||
#[cfg(feature = "openmetrics")] | ||
prost_build::compile_protos(&["src/openmetrics_data_model.proto"], &["src/"]).unwrap(); | ||
} |
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,9 +1,12 @@ | ||
//! xcp-metrics common library | ||
pub mod metrics; | ||
pub mod protocol; | ||
pub mod utils; | ||
|
||
#[cfg(feature = "openmetrics")] | ||
pub mod openmetrics; | ||
pub mod protocol_v3; | ||
#[cfg(feature = "rrdd_compat")] | ||
pub mod rrdd; | ||
pub mod utils; | ||
|
||
#[cfg(test)] | ||
mod test; |
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.