promgleam/registry
Functions to interact with a metric registry.
Functions
pub fn clear_registry(name: String) -> Nil
Removes all the previously registered metrics from a registry.
pub fn print_as_protobuf(
registry_name registry_name: String,
) -> BitArray
Serialises the registry using the Prometheus Protobuf format.
pub fn print_as_text(
registry_name registry_name: String,
) -> String
Serialises the registry using the Prometheus text-based format.