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

Commit 163ce1a

Browse files
authored
Tracing: Add specifications on default TraceParams. (#139)
* Tracing: Add specifications on default TraceParams. * Reduce max number of links per span to 32.
1 parent 38645a4 commit 163ce1a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

trace/TraceConfig.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ sampler, maximum events to be kept, etc.
77
Represents the set of parameters that users can control
88
* Default `Sampler` - used when creating a Span if no specific sampler is given. The default sampler
99
is a [Probability](Sampling.md) sampler with the probability set to `1/10000`.
10-
11-
TODO(bdrutu): Define the rest of the params.
10+
* Default max number of `Attribute`s per `Span` - used when creating a Span if no specific limit on
11+
`Attribute`s is given. The default limit is 32.
12+
* Default max number of `Annotation`s per `Span` - used when creating a Span if no specific limit on
13+
`Annotation`s is given. The default limit is 32.
14+
* Default max number of `Message Event`s per `Span` - used when creating a Span if no specific limit
15+
on `Message Event`s is given. The default limit is 128.
16+
* Default max number of `Link`s per `Span` - used when creating a Span if no specific limit on
17+
`Link`s is given. The default limit is 32.
1218

1319
## API Summary
1420
* Permanently update the active TraceParams.

0 commit comments

Comments
 (0)