erichte-ibm / conga

A System Configuration Gatherer
Apache License 2.0
1 stars 2 forks source link

Clean up / Improve the list of collectors #5

Closed erichte-ibm closed 2 years ago

erichte-ibm commented 2 years ago

Currently, the enabled collectors for a system lives in a static list called PLATFORM in main.rs. This is probably not the best way to gather which collectors should be run, as it would require recompilation to configure which collectors should be run.

There likely should be some kind of hybrid solution: a compile-time method to gather all the collectors available for the target arch this is compiled for (that is, perhaps an automatic way that would not require maintaining a list), and then also a run-time method to filter appropriate collectors.

erichte-ibm commented 2 years ago

better detailed in #20