Skip to content

Commit

Permalink
removes unused import and increases dsd-context log to info
Browse files Browse the repository at this point in the history
  • Loading branch information
scottopell committed Oct 18, 2024
1 parent 3490c94 commit abf5560
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lading_payload/src/dogstatsd/metric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ use std::fmt;

use rand::{
distributions::{OpenClosed01, WeightedIndex},
prelude::{Distribution, SliceRandom},
prelude::Distribution,
Rng,
};

use crate::{common::strings, dogstatsd::metric::template::Template, Error, Generator};
use tracing::debug;
use tracing::info;

use super::{
choose_or_not_ref,
Expand Down Expand Up @@ -52,7 +52,7 @@ impl MetricGenerator {
{
let mut templates = Vec::with_capacity(num_contexts);

debug!("Generating metric templates for {} contexts.", num_contexts);
info!("Generating metric templates for {} contexts.", num_contexts);
for _ in 0..num_contexts {
let tags = tags_generator.generate(&mut rng);
let name_sz = name_length.sample(&mut rng) as usize;
Expand Down

0 comments on commit abf5560

Please sign in to comment.