Skip to content

Commit

Permalink
Revert "Remove unused deprecated message StringKeyValue (open-telemet…
Browse files Browse the repository at this point in the history
…ry#358)"

This reverts commit 678f5d8.

# Conflicts:
#	opentelemetry/proto/common/v1/common.proto
  • Loading branch information
MikeGoldsmith committed May 24, 2023
1 parent 6bf9f7f commit 1470c55
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion opentelemetry/proto/common/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,17 @@ message KeyValue {
AnyValue value = 2;
}

// StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version
// of KeyValue that only supports string values.
message StringKeyValue {
option deprecated = true;

string key = 1;
string value = 2;
}

// InstrumentationScope is a message representing the instrumentation scope information
// such as the fully qualified name and version.
// such as the fully qualified name and version.
message InstrumentationScope {
// An empty instrumentation scope name means the name is unknown.
string name = 1;
Expand Down

0 comments on commit 1470c55

Please sign in to comment.