Skip to content

Commit

Permalink
Specify required integer limits (#1328)
Browse files Browse the repository at this point in the history
  • Loading branch information
punya committed Jan 13, 2021
1 parent 9f49515 commit d4d2020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions specification/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

The goal of this specification is to unify the environment variable names between different OpenTelemetry SDK implementations. SDKs MAY choose to allow configuration via the environment variables in this specification, but are not required to. If they do, they SHOULD use the names listed in this document.

If an SDK chooses to support an integer-valued environment variable, it SHOULD support nonnegative values between 0 and 2³¹ − 1 (inclusive). Individual SDKs MAY choose to support a larger range of values.
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.

Expand Down

0 comments on commit d4d2020

Please sign in to comment.