Skip to content

Commit

Permalink
feat: increase to 10k contexts (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
astuyve authored Sep 3, 2024
1 parent 31233fa commit 7c6a646
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion bottlecap/src/metrics/constants.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// The maximum tags that a `Metric` may hold.
pub const MAX_TAGS: usize = 32;

pub const CONTEXTS: usize = 1024;
pub const CONTEXTS: usize = 10240;

pub static MAX_CONTEXTS: usize = 65_536; // 2**16, arbitrary

Expand Down
4 changes: 0 additions & 4 deletions bottlecap/src/traces/trace_agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ pub enum ApiVersion {
impl TraceAgent {
pub async fn start_trace_agent(&self) -> Result<(), Box<dyn std::error::Error>> {
let now = Instant::now();
debug!(
"Time taken to fetch Trace Agent metadata: {} ms",
now.elapsed().as_millis()
);

// setup a channel to send processed traces to our flusher. tx is passed through each
// endpoint_handler to the trace processor, which uses it to send de-serialized
Expand Down

0 comments on commit 7c6a646

Please sign in to comment.