Skip to content

Commit

Permalink
Define "none" enum value (open-telemetry#2102)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua MacDonald <[email protected]>
  • Loading branch information
pellared and jmacd authored Nov 15, 2021
1 parent a83d5f2 commit 1b37e2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specification/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ If an SDK chooses to support an integer-valued environment variable, it SHOULD s
For variables which accept a known value out of a set, i.e., an enum value, SDK implementations MAY support additional values not listed here.
For variables accepting an enum value, if the user provides a value the SDK does not recognize, the SDK MUST generate a warning and gracefully ignore the setting.

If a null object (empty, no-op) value is acceptable, then the enum value representing it MUST be `"none"`.

### Duration

Any value that represents a duration, for example a timeout, MUST be an integer representing a number of
Expand Down

0 comments on commit 1b37e2b

Please sign in to comment.