Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prometheus: fix copying of metrics labels (#4450)
When copying metric labels we assumed that `append` will always create a copy of the label array. This is not necessarily the case. In such case two metrics may end up with the same underlaying array of labels and change to one of them also overwrites the labels in the other one.
- Loading branch information