From 163ce1a8d62d2935f079e4bc0fb89a7bc59ba1d2 Mon Sep 17 00:00:00 2001 From: Yang Song Date: Mon, 16 Jul 2018 09:22:13 -0700 Subject: [PATCH] Tracing: Add specifications on default TraceParams. (#139) * Tracing: Add specifications on default TraceParams. * Reduce max number of links per span to 32. --- trace/TraceConfig.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/trace/TraceConfig.md b/trace/TraceConfig.md index bde3311..c00833a 100644 --- a/trace/TraceConfig.md +++ b/trace/TraceConfig.md @@ -7,8 +7,14 @@ sampler, maximum events to be kept, etc. Represents the set of parameters that users can control * Default `Sampler` - used when creating a Span if no specific sampler is given. The default sampler is a [Probability](Sampling.md) sampler with the probability set to `1/10000`. - -TODO(bdrutu): Define the rest of the params. +* Default max number of `Attribute`s per `Span` - used when creating a Span if no specific limit on +`Attribute`s is given. The default limit is 32. +* Default max number of `Annotation`s per `Span` - used when creating a Span if no specific limit on +`Annotation`s is given. The default limit is 32. +* Default max number of `Message Event`s per `Span` - used when creating a Span if no specific limit +on `Message Event`s is given. The default limit is 128. +* Default max number of `Link`s per `Span` - used when creating a Span if no specific limit on +`Link`s is given. The default limit is 32. ## API Summary * Permanently update the active TraceParams.