themis/internal/metric
Types
pub type Metric(kind, record_type, extra) {
Metric(
description: String,
records: Dict(label.LabelSet, record_type),
extra: extra,
)
}
Constructors
-
Metric( description: String, records: Dict(label.LabelSet, record_type), extra: extra, )
pub type MetricError {
InvalidMetricName
InvalidWordInName(word: String)
}
Constructors
-
InvalidMetricName
-
InvalidWordInName(word: String)
pub opaque type MetricName
Functions
pub fn is_valid_name(name: String) -> Bool
pub fn name_to_string(from from: MetricName) -> String