glean/private/
mod.rs

1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
5//! The different metric types supported by the Glean SDK to handle data.
6
7mod event;
8mod object;
9mod ping;
10
11pub use event::EventMetric;
12pub use glean_core::BooleanMetric;
13pub use glean_core::CounterMetric;
14pub use glean_core::DenominatorMetric;
15pub use glean_core::DualLabeledCounterMetric;
16pub use glean_core::NumeratorMetric;
17pub use glean_core::QuantityMetric;
18pub use glean_core::RateMetric;
19pub use glean_core::RecordedExperiment;
20pub use glean_core::StringListMetric;
21pub use glean_core::StringMetric;
22pub use glean_core::TextMetric;
23pub use glean_core::TimespanMetric;
24pub use glean_core::UrlMetric;
25pub use glean_core::UuidMetric;
26pub use glean_core::{AllowLabeled, LabeledMetric};
27pub use glean_core::{CustomDistributionMetric, LocalCustomDistribution};
28pub use glean_core::{Datetime, DatetimeMetric};
29pub use glean_core::{LocalMemoryDistribution, MemoryDistributionMetric};
30pub use glean_core::{LocalTimingDistribution, TimingDistributionMetric};
31pub use object::ObjectMetric;
32pub use ping::PingType;
33
34// Re-export types that are used by the glean_parser-generated code.
35#[doc(hidden)]
36pub mod __export {
37    pub use once_cell::sync::Lazy;
38}