if self.unit.is_leader():
self.dashboard_target.publish_info(
name="osm-kafka",
- dashboard=Path("files/kafka_exporter_dashboard.json").read_text(),
+ dashboard=Path("templates/kafka_exporter_dashboard.json").read_text(),
)
def _check_missing_dependencies(self, config: ConfigModel):