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

set top level attribute(s) for the entire trace #167

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
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
5 changes: 4 additions & 1 deletion trace/TraceConfig.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down