The Icinga2-exporter utilize Icinga2 API to fetch service based performance data and publish it in a way that lets prometheus scrape the performance data as metrics.
The monitor-promdiscovery tool generate file-based service discovery files for Prometheus and the monitor-exporter