canonical / hardware-observer-operator

A charm to setup prometheus exporter for IPMI, RedFish and RAID devices from different vendors.
Apache License 2.0
7 stars 14 forks source link

Refactor to support multiple exporters #228

Closed sudeephb closed 2 months ago

sudeephb commented 2 months ago

Some refactor so that adding a new exporter becomes simpler. After this is merged, a new exporter can be added by implementing:

  1. a new XxxExporter class that inherits from BaseExporter.
  2. Initialize the new exporter in charm init and append it to self.exporters.