<PackageReference Include="Serilog.Sinks.OpenTelemetry" Version="4.2.0" />

OpenTelemetry.Proto.Common.V1.KeyValue

sealed class KeyValue : IMessage<KeyValue>, IMessage, IEquatable<KeyValue>, IDeepCloneable<KeyValue>, IBufferMessage
KeyValue is a key-value pair that is used to store Span attributes, Link attributes, etc.
public const int KeyFieldNumber = 1

Field number for the "key" field.

public const int ValueFieldNumber = 2

Field number for the "value" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<KeyValue> Parser { get; }

public string Key { get; set; }

public AnyValue Value { get; set; }

public KeyValue()

public KeyValue(KeyValue other)

public int CalculateSize()

public KeyValue Clone()

public bool Equals(KeyValue other)

public void MergeFrom(KeyValue other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)