otel-arrow icon indicating copy to clipboard operation
otel-arrow copied to clipboard

Optimizing multivariate metrics representation to provide native support within the client SDK

Open lquerel opened this issue 1 year ago • 0 comments

Multivariate metrics already compress quite efficiently due to the grouping of duplicated attributes among metrics. Currently, each type of data point (sum, gauge, histogram, etc.) has a dedicated attribute table/record.

For future client SDKs that natively support multivariate metrics, it should be possible to eliminate the in-memory duplication of attributes. This will necessitate the creation of a single DATA_POINT_ATTRS table that can be shared among different types of data points.

Sub-tasks:

  • [x] #19
  • [ ] Implement the logic around the MULTIVARIATE_METRICS buffer type.

lquerel avatar Aug 22 '23 21:08 lquerel