Skip to content

Increase tags count in TagList for no allocation from 8 to a higher value #83701

Description

@dpk83

Feature Request

TagList struct provides a way to avoid allocating memory when capturing metrics with upto 8 tags. This really helps achieve optimized paths for metric collection. While 8 tags works for close to 60-70% cases we still have quite a few cases where we the metrics are running above 8 tags.

The ask is to increase the number of tags for allocation free path from 8 to 12. We are running pretty close to 10 for some of our common metrics and we think that 12 should be a good tradeoff where it provides us a little wiggle-room while keeping the number still manageable and help most of the metric collections be allocation free.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions