Skip to content

Commit

Permalink
chore: unused code (kkrt-labs#1468)
Browse files Browse the repository at this point in the history
unused code
  • Loading branch information
greged93 authored Oct 18, 2024
1 parent e023ef6 commit 24cec64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 162 deletions.
4 changes: 0 additions & 4 deletions src/prometheus_handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ pub use prometheus::{
exponential_buckets, Error as PrometheusError, Histogram, HistogramOpts, HistogramVec, Opts, Registry,
};

mod sourced;

pub use sourced::{MetricSource, SourcedCounter, SourcedGauge, SourcedMetric};

pub fn register<T: Clone + Collector + 'static>(metric: T, registry: &Registry) -> Result<T, PrometheusError> {
registry.register(Box::new(metric.clone()))?;
Ok(metric)
Expand Down
158 changes: 0 additions & 158 deletions src/prometheus_handler/sourced.rs

This file was deleted.

0 comments on commit 24cec64

Please sign in to comment.