diff --git a/schema-docs.md b/schema-docs.md index de627263..044e92d5 100644 --- a/schema-docs.md +++ b/schema-docs.md @@ -131,8 +131,8 @@ Usages: | Property | Type | Required? | Constraints | Description | |---|---|---|---|---| -| `attribute_value_length_limit` | one of:
* `integer`
* `null`
| `false` | No constraints. | Configure max attribute value size.
Value must be non-negative.
If omitted or null, there is no limit.
| -| `attribute_count_limit` | one of:
* `integer`
* `null`
| `false` | No constraints. | Configure max attribute count.
Value must be non-negative.
If omitted or null, 128 is used.
| +| `attribute_value_length_limit` | one of:
* `integer`
* `null`
| `false` | * `minimum`: `0`
| Configure max attribute value size.
Value must be non-negative.
If omitted or null, there is no limit.
| +| `attribute_count_limit` | one of:
* `integer`
* `null`
| `false` | * `minimum`: `0`
| Configure max attribute count.
Value must be non-negative.
If omitted or null, 128 is used.
|
Language support status @@ -163,13 +163,15 @@ Usages: "type": [ "integer", "null" - ] + ], + "minimum": 0 }, "attribute_count_limit": { "type": [ "integer", "null" - ] + ], + "minimum": 0 } } } @@ -4144,13 +4146,15 @@ No usages. "type": [ "integer", "null" - ] + ], + "minimum": 0 }, "attribute_count_limit": { "type": [ "integer", "null" - ] + ], + "minimum": 0 } } }, diff --git a/schema/opentelemetry_configuration.json b/schema/opentelemetry_configuration.json index 1cd0dea9..d388034e 100644 --- a/schema/opentelemetry_configuration.json +++ b/schema/opentelemetry_configuration.json @@ -45,10 +45,12 @@ "additionalProperties": true, "properties": { "attribute_value_length_limit": { - "type": ["integer", "null"] + "type": ["integer", "null"], + "minimum": 0 }, "attribute_count_limit": { - "type": ["integer", "null"] + "type": ["integer", "null"], + "minimum": 0 } } },