[Geneva] Fix exemplar corruption

Merged
MA
3mo ago
+117-0

Changes

Fixed metric TLV serialization where an exemplar whose filtered tags serialized to more than 255 bytes caused the payload to be corrupted.

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)