diff --git a/schema-docs.md b/schema-docs.md index af447735..b193834d 100644 --- a/schema-docs.md +++ b/schema-docs.md @@ -5613,7 +5613,7 @@ Usages: | Property | Type | Required? | Constraints | Description | |---|---|---|---|---| -| `ratio` | one of:
* `number`
* `null`
| `false` | No constraints. | Configure trace_id_ratio.
If omitted or null, 1.0 is used.
| +| `ratio` | one of:
* `number`
* `null`
| `false` | * `minimum`: `0`
* `maximum`: `1`
| Configure trace_id_ratio.
If omitted or null, 1.0 is used.
|
Language support status @@ -5646,7 +5646,9 @@ Usages: "type": [ "number", "null" - ] + ], + "minimum": 0, + "maximum": 1 } } } @@ -5874,7 +5876,9 @@ Usages: "type": [ "number", "null" - ] + ], + "minimum": 0, + "maximum": 1 } } }, diff --git a/schema/tracer_provider.json b/schema/tracer_provider.json index e7a93bc7..06792efd 100644 --- a/schema/tracer_provider.json +++ b/schema/tracer_provider.json @@ -142,7 +142,9 @@ "additionalProperties": false, "properties": { "ratio": { - "type": ["number", "null"] + "type": ["number", "null"], + "minimum": 0, + "maximum": 1 } } },