Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 1.51 KB

prometheus_protobuf_format.md

File metadata and controls

62 lines (37 loc) · 1.51 KB

Module prometheus_protobuf_format

Serializes Prometheus registry using protocol buffer format.

Behaviours: prometheus_format.

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.