Module prometheus_collector

This module defines the prometheus_collector behaviour.
Required callback functions: collect_mf/2, deregister_cleanup/1.
Optional callback functions: collect_metrics/2.

Data Types

collect_mf_callback()

collect_mf_callback() = fun((prometheus_model:'MetricFamily'()) -> dynamic())

collector()

collector() = atom()

data()

data() = dynamic()

Function Index

collect_mf/3
enabled_collectors/0

Function Details

collect_mf/3

collect_mf(Registry, Collector, Callback) -> ok

enabled_collectors/0

enabled_collectors() -> [collector()]


Generated by EDoc