diff --git a/trace/TraceConfig.md b/trace/TraceConfig.md index ac7bcd8..ab0d513 100644 --- a/trace/TraceConfig.md +++ b/trace/TraceConfig.md @@ -1,7 +1,7 @@ # TraceConfig Global configuration of the trace service. This allows users to change configs for the default -sampler, maximum events to be kept, etc. +sampler, maximum events to be kept, set top level attribute(s) for the entire trace etc. ## TraceParams Represents the set of parameters that users can control @@ -32,6 +32,9 @@ Implementations may support tracking the total number of dropped items in stats No views should be registered by default on these measures. Users may register views if they are interested in recording these measures. +* Default `attributes` - used when creating a [Span](Span.md). The default attribute is a empty map. +Developers are free to override or disable/skip default attributes for any given Span. + Implementations should provide a way to override the globals per-span. ## API Summary