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

Tracing: Add specifications on default TraceParams. #139

Merged
merged 2 commits into from
Jul 16, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 128.

## API Summary
* Permanently update the active TraceParams.
Expand Down