Tracing: Add default limits to TraceConfig. (#133)

pull/136/head
Yang Song 6 years ago committed by GitHub
parent f7dc45390e
commit 8b7083261d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/opencensus/proto/trace/v1/trace_config.proto

@ -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.

Loading…
Cancel
Save