Mikesch-mp / icingaweb2-module-grafana

Grafana module for Icinga Web 2 (supports InfluxDB & Graphite)
https://icinga.com/community/
GNU General Public License v2.0
241 stars 95 forks source link

Add Prometheus as available datasource #287

Closed dreua closed 1 year ago

Mikesch-mp commented 1 year ago

It is not needed. just use InfluxDB as datasource. The only thing this does when graphite is choosed is to change some special chars

    public static function graphiteReplace($string = "")
    {
        $string = preg_replace('/[^a-zA-Z0-9\*\-:]/', '_', $string);

        return $string;
    }

Just use InfluxDB as the source in the configuration