Skip to content

Commit

Permalink
Feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Mar 11, 2024
1 parent 2ec2497 commit 1cdd307
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ipa-core/src/telemetry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mod step_stats;
pub use step_stats::CsvExporter as StepStatsCsvExporter;

pub mod labels {
#[cfg(any(feature = "descriptive-gate", debug_assertions))]
pub use ::ipa_step::descriptive::labels::STEP;
pub const ROLE: &str = "role";
}
Expand All @@ -16,6 +17,7 @@ pub mod metrics {
pub const BYTES_SENT: &str = "bytes.sent";
pub const INDEXED_PRSS_GENERATED: &str = "i.prss.gen";
pub const SEQUENTIAL_PRSS_GENERATED: &str = "s.prss.gen";
#[cfg(any(feature = "descriptive-gate", debug_assertions))]
pub use ::ipa_step::descriptive::labels::STEP_NARROWED;

#[cfg(feature = "web-app")]
Expand Down

0 comments on commit 1cdd307

Please sign in to comment.