From 6f780a4e3d5c3a3cb476d7c017414bac0438e5be Mon Sep 17 00:00:00 2001 From: Alexander Wert Date: Wed, 1 May 2024 20:26:50 +0200 Subject: [PATCH 1/2] Added display_name as an allowed property on semconv attribute groups (#316) Signed-off-by: Alexander Wert --- .../src/opentelemetry/semconv/model/semantic_convention.py | 1 + 1 file changed, 1 insertion(+) diff --git a/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py b/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py index 537e335a..1f0abb2c 100644 --- a/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py +++ b/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py @@ -112,6 +112,7 @@ class BaseSemanticConvention(ValidatableYamlNode): "attributes", "constraints", "deprecated", + "display_name", ) GROUP_TYPE_NAME: str From 3d2d0236b98f3682fa2cdfb97a05ab74e9573c04 Mon Sep 17 00:00:00 2001 From: Alexander Wert Date: Thu, 2 May 2024 20:21:23 +0200 Subject: [PATCH 2/2] Added display_name to the semconv schema file (#317) Signed-off-by: Alexander Wert --- semantic-conventions/semconv.schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/semantic-conventions/semconv.schema.json b/semantic-conventions/semconv.schema.json index 0e3a5050..196f3501 100644 --- a/semantic-conventions/semconv.schema.json +++ b/semantic-conventions/semconv.schema.json @@ -129,6 +129,10 @@ } ] } + }, + "display_name": { + "type": "string", + "description": "the display name / title of the attribute group." } } },