mpcmf/mpcmf-exporter

There is no license information available for the latest version (dev-master) of this package.

prometheus exporter

dev-master 2024-01-25 13:37 UTC

This package is not auto-updated.

Last update: 2024-12-12 18:02:00 UTC


README

prometheusMetrics::incrementCounter('custom_counter_name', ['custom_label' => 'label_value'], 1);

prometheusMetrics::setGauge('custom_gauge_name', ['custom_label' => 'label_value'], 1);

prometheusMetrics::incrementHistogram('custom_histogram_prefix', ['custom_label' => 'label_value'], [1,2,3,4,5,10,15,20,30,40,50,60], 13);

prometheusMetrics::buildMetricsPage();