Skip to content

Commit

Permalink
Remove "canonical" adjective from Status Code
Browse files Browse the repository at this point in the history
Resolves: #1069
  • Loading branch information
Tigran Najaryan committed Oct 9, 2020
1 parent 2ebefc1 commit 6e7bf74
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions specification/trace/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ status, which is `Unset`.

`Status` is semantically defined by the following properties:

- `StatusCanonicalCode` that represents the canonical set of `Status` codes.
- `Code`, one of the values listed below.
- Optional `Description` that provides a descriptive message of the `Status`.

`StatusCanonicalCode` has the following values:
`Code` is one of the following values:

- `Unset`
- The default status.
Expand All @@ -511,10 +511,10 @@ status, which is `Unset`.

The Span interface MUST provide:

- An API to set the `Status`. This SHOULD be called `SetStatus`.
This API takes the `StatusCanonicalCode`, and optional `Description`,
either as individual parameters or as an immutable object encapsulating them,
whichever is most appropriate for the language.
- An API to set the `Status`. This SHOULD be called `SetStatus`.
This API takes the `Code`, and optional `Description`, either as individual
parameters or as an immutable object encapsulating them, whichever is most
appropriate for the language.

The status code SHOULD remain unset, except for the following circumstances:

Expand Down

0 comments on commit 6e7bf74

Please sign in to comment.