Document a bit better what a denominator metric does

This commit is contained in:
Jan-Erik Rediger 2022-05-09 18:37:23 +02:00 коммит произвёл Jan-Erik Rediger
Родитель d349692bbd
Коммит f096b67c58
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -15,6 +15,9 @@ use crate::Glean;
///
/// Used to count things.
/// The value can only be incremented, not decremented.
// This is essentially a counter metric,
// which additionally forwards increments to the denominator to a list of associated rates.
// The numerator is incremented through the corresponding `NumeratorMetric`.
#[derive(Clone, Debug)]
pub struct DenominatorMetric {
counter: CounterMetric,