Module that implements this behaviour can be used
as foramt
parameter for exporters.
This module defines the prometheus_format
behaviour.
Required callback functions: content_type/0
, format/0
, format/1
.
Built-in formats:
Callbacks:
content_type()
- should return content type of the format;format()
- should formatdefault
regsitry;format(Registry)
- should formatRegistry
.