Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat core: make sure that labels are not used with integers, leading …
…to memory corruption Before this patch a code like `writer["metric"].ValueWithLabels(value, {{"label_name2", 2}, {"label_name3", "value3"}});` was attempting to create a `LabelView{std::string_view{"label_name2", 2}, std::string_view{"label_name3", "value3"}}`. The second string_view constructor was corrupting memory as it treated "label_name3" and "value3" as two iterators. Tests: протестировано локально commit_hash:e16d3d45a6d3f768611762a4b2fca596aba8d6c8
- Loading branch information