View Source prometheus_format behaviour (prometheus v5.0.0)
Module that implements this behaviour can be used as foramt
parameter for exporters.
Built-in formats:
Summary
Callbacks
Should return content type of the format.
Should format default
registry.
Should format Registry
.
Callbacks
-callback content_type() -> binary().
Should return content type of the format.
-callback format() -> binary().
Should format default
registry.
-callback format(Registry :: prometheus_registry:registry()) -> binary().
Should format Registry
.