This module provides several general purpose utilities for use in PromEx plugs.
Summary
Functions
Converts a time_unit to its plural form.
Normalize exception messages for use as metric labels.
Take a module name and normalize it for use as a metric label.
Types
Functions
@spec make_plural_atom(System.time_unit()) :: atom()
Converts a time_unit to its plural form.
@spec normalize_exception(exception_kind(), term(), term()) :: String.t()
Normalize exception messages for use as metric labels.
Take a module name and normalize it for use as a metric label.