envoyproxy/envoy
View on GitHubMock stat objects should reuse logic for combining stat name and tags into a full stat name
Open
#10,946 opened on Apr 25, 2020
area/statshelp wantedtech debt
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (Avg merge 8d) (378 merged PRs in 30d)
Description
The mock stat objects allow setting name, tag_extracted_name and tags independently, while real stats will have a name that is is a function of the given name and the provided tags. This discrepancy makes it hard to verify behavior that relies on this invariant.