Skip to content

Commit

Permalink
Remove filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
bryn committed Sep 4, 2023
1 parent 0553a9e commit 8db3714
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apollo-router/src/plugins/telemetry/metrics/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,4 @@ where
event.record(&mut metric_visitor);
metric_visitor.finish();
}

fn enabled(&self, metadata: &Metadata<'_>, _ctx: Context<'_, S>) -> bool {
// Metrics are never spans
metadata.is_event()
}
}

0 comments on commit 8db3714

Please sign in to comment.