Skip to content

Commit

Permalink
Update recordEvents and StartSpan.
Browse files Browse the repository at this point in the history
  • Loading branch information
songy23 committed Jun 14, 2019
1 parent e1df328 commit 93d82ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions specification/tracing-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,17 @@ Optional parameters (or corresponding setters on `Builder` if using a `Builder`
time will be used as parent.
- `Sampler` to the newly created `Span`. If not set, the implementation should provide a default.
- `Link` to the newly created `Span`.
- The option to record events even if not sampled for the newly created `Span`. If
not set, the implementation will provide a default.
- The override value for [a flag indicating whether events should be recorded](#isrecordingevents)
for the newly created `Span`. If not set, the implementation will provide a default.
- `SpanKind` for the newly created `Span`. If not set, the implementation will
provide a default value `INTERNAL`.

#### StartSpan

Starts a new `Span`.

This MUST not be called multiple times with `Builder` pattern.

There should be no parameter if using a `Builder` pattern. Otherwise, `StartSpan`
should accept all the optional parameters described in [Span creation](#span-creation).

Expand Down

0 comments on commit 93d82ea

Please sign in to comment.