Module relay_base_schema::metrics
source · Expand description
Type definitions for Sentry metrics.
Structs§
- Custom user-defined units without builtin conversion.
- Optimized string represenation of a metric name.
- A unique identifier for metrics including typing and namespacing.
- An error returned when metrics or MRIs cannot be parsed.
- An error parsing a
MetricUnit
or one of its variants.
Enums§
- Time duration units used in
MetricUnit::Duration
. - Units of fraction used in
MetricUnit::Fraction
. - Size of information derived from bytes, used in
MetricUnit::Information
. - The namespace of a metric.
- The type of a
MetricResourceIdentifier
, determining its aggregation and evaluation. - The unit of measurement of a metric value.
Functions§
- Returns whether
try_normalize_metric_name
can normalize the passed name. - Validates a metric name and normalizes it. This is the statsd name, i.e. without type or unit.