Module prometheus_format

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.

Description

Module that implements this behaviour can be used as foramt parameter for exporters. Built-in formats: - prometheus_text_format - prometheus_protobuf_format

Callbacks: - content_type()` - should return content type of the format; - `format()` - should format `default regsitry; - format(Registry)` - should format `Registry.

Generated by EDoc