MetricDescriptorLabel constructor
const
MetricDescriptorLabel({})
Creates a new MetricDescriptorLabel.
description A human-readable description for the label.
key The key for this label. The key must not exceed 100 characters. The first character of the key must be an upper- or lower-case letter, the remaining characters must be letters, digits or underscores, and the key must match the regular expression a-zA-Z0-9_*
valueType The type of data that can be assigned to the label.
Implementation
const MetricDescriptorLabel({
this.description,
required this.key,
this.valueType,
});