From 516eb24db5a4fc1d144cc1123c07c1212d4fbf7f Mon Sep 17 00:00:00 2001 From: Liudmila Molkova Date: Thu, 23 May 2024 11:51:46 -0700 Subject: [PATCH] Opps, this should not be allowed --- docs/attributes-registry/log.md | 7 ++++--- model/registry/log.yaml | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/attributes-registry/log.md b/docs/attributes-registry/log.md index e829babffd..fb70c63119 100644 --- a/docs/attributes-registry/log.md +++ b/docs/attributes-registry/log.md @@ -14,9 +14,10 @@ This document defines log attributes -| Attribute | Type | Description | Examples | Stability | -| -------------- | ------ | ------------------------------------------------------------------------------ | ------------------ | ---------------------------------------------------------------- | -| `log.iostream` | string | The stream associated with the log. See below for a list of well-known values. | `stdout`; `stderr` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| Attribute | Type | Description | Examples | Stability | +| ------------------ | ------ | ------------------------------------------------------------------------------ | ------------------ | ---------------------------------------------------------------- | +| `log.iostream` | string | The stream associated with the log. See below for a list of well-known values. | `stdout`; `stderr` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `log.iostream.foo` | string | Should not be allowed | `bar` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | `log.iostream` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used. diff --git a/model/registry/log.yaml b/model/registry/log.yaml index b26870a696..4a645e587f 100644 --- a/model/registry/log.yaml +++ b/model/registry/log.yaml @@ -20,6 +20,11 @@ groups: value: 'stderr' brief: 'Events from stderr stream' stability: experimental + - id: iostream.foo + stability: experimental + brief: Should not be allowed + type: string + examples: [ "bar" ] - id: registry.log.file # TODO: should we move it to the file model? type: attribute_group