Add support for serializing KeyValue lists

Merged
JU
3mo ago
+1495-0

According to the spec, attribute values should be AnyValue. One of the possible values of AnyValue is KeyValueList, which we currently aren't able to serialize properly.

Changes

This PR adds support for serializing KeyValue lists to the OTLP exporter.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, nullable enabled, static analysis, etc.)
  • Unit tests added/updated
  • Appropriate CHANGELOG.md files updated for non-trivial changes
  • Changes in public API reviewed (if applicable)