Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion foundations-metrics-registry/src/proto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
mod model;

pub use model::{
BucketSpan, Counter, Gauge, Histogram, LabelPair, Metric, MetricFamily, MetricType,
Bucket, BucketSpan, Counter, Gauge, Histogram, LabelPair, Metric, MetricFamily, MetricType,
};

#[cfg(test)]
Expand Down
5 changes: 4 additions & 1 deletion foundations-metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ license.workspace = true

[dependencies]
foundations-metrics-registry = { workspace = true }
prometheus-client = "0.25.0"
prometheus-client = { version = "0.25.0", features = [
"prometheus_protobuf",
"protobuf-protox",
] }
serde = { workspace = true, features = ["derive"] }
ryu = "1.0.23"
parking_lot = { workspace = true }
Expand Down
5 changes: 3 additions & 2 deletions foundations-metrics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ pub use foundations_metrics_registry::{
};
pub use labels::{LabelError, to_label_pairs};
pub use metrics::{
Counter, CounterAtomic, Family, FamilyMetricGuard, Gauge, GaugeAtomic, GaugeGuard,
MetricConstructor, RangeGauge,
Counter, CounterAtomic, Family, FamilyMetricGuard, Gauge, GaugeAtomic, GaugeGuard, Histogram,
HistogramBuilder, HistogramSnapshot, HistogramTimer, MetricConstructor, NativeHistogram,
NativeHistogramBuilder, RangeGauge, TimeHistogram,
};
pub use registered::NamedMetric;
Loading
Loading