Module prometheus_protobuf_format

Serializes Prometheus registry using [protocol buffer format](http://bit.ly/2cxSuJP).

Behaviours: prometheus_format.

Description

Serializes Prometheus registry using [protocol buffer format](http://bit.ly/2cxSuJP).

Function Index

content_type/0 Returns content type of the protocol buffer format.
format/0 Formats default registry using protocol buffer format.
format/1 Formats Registry using protocol buffer format.

Function Details

content_type/0

content_type() -> binary()

Returns content type of the protocol buffer format.

format/0

format() -> binary()

Equivalent to format(default).

Formats default registry using protocol buffer format.

format/1

format(Registry::prometheus_registry:registry()) -> binary()

Formats Registry using protocol buffer format.


Generated by EDoc