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

Commit

Permalink
Tracing: Add specifications on default TraceParams. (#139)
Browse files Browse the repository at this point in the history
* Tracing: Add specifications on default TraceParams.

* Reduce max number of links per span to 32.
  • Loading branch information
songy23 committed Jul 16, 2018
1 parent 38645a4 commit 163ce1a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions trace/TraceConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 163ce1a

Please sign in to comment.