mpcmf / mpcmf-exporter
prometheus exporter
Installs: 3 916
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- mpcmf/mpcmf-core: dev-master
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();