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