Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Tracing: Add default limits to TraceConfig. (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
songy23 authored Oct 10, 2018
1 parent f7dc453 commit 8b70832
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/opencensus/proto/trace/v1/trace_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,17 @@ message TraceConfig {
RateLimitingSampler rate_limiting_sampler = 3;
}

// TODO(songya): add more fields.
// The global default max number of attributes per span.
int64 max_number_of_attributes = 4;

// The global default max number of annotation events per span.
int64 max_number_of_annotations = 5;

// The global default max number of message events per span.
int64 max_number_of_message_events = 6;

// The global default max number of link entries per span.
int64 max_number_of_links = 7;
}

// Sampler that tries to uniformly sample traces with a given probability.
Expand Down

0 comments on commit 8b70832

Please sign in to comment.