Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshelev committed Dec 6, 2023
1 parent c18058a commit eb4b499
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions ipa-core/src/cli/verbosity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ use tracing::{info, metadata::LevelFilter, Level};
use tracing_subscriber::{
fmt, fmt::format::FmtSpan, layer::SubscriberExt, util::SubscriberInitExt, EnvFilter,
};
use tracing_subscriber::filter::filter_fn;
use tracing_subscriber::fmt::format;

use crate::{
cli::{install_collector, metric_collector::CollectorHandle},
Expand All @@ -34,21 +32,9 @@ impl Verbosity {
#[must_use]
pub fn setup_logging(&self) -> LoggingHandle {
let filter_layer = self.log_filter();

let filter_fn = filter_fn(|span| {
for field in span.fields() {
field.callsite()
field.name().contains("computed_capped_attributed_trigger_value_just_saturated_case") ||
field.name().contains()

}
})

let fmt_layer = fmt::layer()
.with_span_events(FmtSpan::NEW | FmtSpan::CLOSE)
.with_ansi(std::io::stderr().is_terminal())
.event_format(format().compact())
.with()
.with_writer(stderr);

tracing_subscriber::registry()
Expand Down
2 changes: 1 addition & 1 deletion ipa-core/src/protocol/ipa_prf/prf_sharding/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ where
.await
}

#[tracing::instrument(name = "per_user_attribution", fields(rows = rows_for_user.len()))]
#[tracing::instrument(name = "per_user_attribution", skip_all, fields(rows = rows_for_user.len()))]
async fn evaluate_per_user_attribution_circuit<C, BK, TV, TS, SS>(
ctx_for_row_number: Vec<C>,
record_id_for_each_depth: Vec<u32>,
Expand Down

0 comments on commit eb4b499

Please sign in to comment.