Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement(data model): Enhance vector protocol for new metric data #6554

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

bruceg
Copy link
Member

@bruceg bruceg commented Feb 24, 2021

The shape of the metric distribution, histogram, and quantile data has
changed internally, requiring them to be reshaped going into and out of
the existing vector protocol. This change adds new fields to the metric
record that match the new structures, reducing the encoding and decoding
overhead.

Signed-off-by: Bruce Guenter bruce@timber.io

Closes #6159

The shape of the metric distribution, histogram, and quantile data has
changed internally, requiring them to be reshaped going into and out of
the existing vector protocol. This change adds new fields to the metric
record that match the new structures, reducing the encoding and decoding
overhead.

Signed-off-by: Bruce Guenter <bruce@timber.io>
@bruceg bruceg added type: enhancement A value-adding code change that enhances its existing functionality. sink: vector Anything `vector` sink related source: vector Anything `vector` source related domain: data model Anything related to Vector's internal data model domain: metrics Anything related to Vector's metrics events labels Feb 24, 2021
@bruceg bruceg self-assigned this Feb 24, 2021
@bruceg bruceg requested review from a team, blt, JeanMertz and lukesteensen and removed request for a team and JeanMertz February 24, 2021 23:42
Copy link
Member

@lukesteensen lukesteensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! It may be worth making a note or opening an issue for once this is released to come back and remove the extra fields/types and mark their tag numbers as reserved. That way we'll have an upgrade path for users but not need to carry this code forever.

@bruceg
Copy link
Member Author

bruceg commented Feb 26, 2021

I think I'll make note of that in a new issue.

@bruceg bruceg merged commit 9918ebc into master Feb 26, 2021
@bruceg bruceg deleted the vector-protocol-new-metrics branch February 26, 2021 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: data model Anything related to Vector's internal data model domain: metrics Anything related to Vector's metrics events sink: vector Anything `vector` sink related source: vector Anything `vector` source related type: enhancement A value-adding code change that enhances its existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance vector protocol for revised metric distribution data
2 participants