From 1480c4ef57747ad8dedca4090bca9982ce2d398a Mon Sep 17 00:00:00 2001 From: Tigran Najaryan Date: Tue, 24 May 2022 10:58:56 -0400 Subject: [PATCH] Introduce Scope Attributes Implements OTEP 201: https://github.com/open-telemetry/oteps/blob/main/text/0201-scope-attributes.md Corresponding specification PR: https://github.com/open-telemetry/opentelemetry-specification/pull/2579 --- CHANGELOG.md | 2 +- opentelemetry/proto/common/v1/common.proto | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d0005431..2d96fd12b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Full list of differences found in [this compare](https://github.com/open-telemet ### Added -* Remove if no changes for this section before release. +* Introduce Scope Attributes. [#395](https://github.com/open-telemetry/opentelemetry-proto/pull/395) ### Removed diff --git a/opentelemetry/proto/common/v1/common.proto b/opentelemetry/proto/common/v1/common.proto index afb57eb43..4af6c415b 100644 --- a/opentelemetry/proto/common/v1/common.proto +++ b/opentelemetry/proto/common/v1/common.proto @@ -84,4 +84,6 @@ message InstrumentationScope { // An empty instrumentation scope name means the name is unknown. string name = 1; string version = 2; + repeated KeyValue attributes = 3; + uint32 dropped_attributes_count = 4; }