Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
brayniac committed Dec 16, 2024
1 parent 595aa2f commit 62a6f0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/common/bpf/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ pub struct Builder<T: 'static + SkelBuilder<'static>> {
counters: Vec<(&'static str, Vec<&'static LazyCounter>)>,
histograms: Vec<(&'static str, &'static RwLockHistogram)>,
maps: Vec<(&'static str, Vec<u64>)>,
cpu_counters: Vec<(&'static str, Vec<&'static LazyCounter>, Vec<&'static CounterGroup>)>,
cpu_counters: Vec<(
&'static str,
Vec<&'static LazyCounter>,
Vec<&'static CounterGroup>,
)>,
perf_events: Vec<(&'static str, PerfEvent)>,
}

Expand Down
2 changes: 1 addition & 1 deletion src/common/counters/group.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use metriken::Metric;
use metriken::Value;
use parking_lot::RwLock;
use std::sync::OnceLock;
use thiserror::Error;
use metriken::Value;

#[derive(Error, Debug, PartialEq)]
pub enum CounterGroupError {
Expand Down
2 changes: 1 addition & 1 deletion src/exposition/http/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::common::{HISTOGRAM_GROUPING_POWER, CounterGroup};
use crate::common::{CounterGroup, HISTOGRAM_GROUPING_POWER};
use crate::{Arc, Config, Sampler};
use axum::extract::State;
use axum::routing::get;
Expand Down

0 comments on commit 62a6f0f

Please sign in to comment.