You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1349 we added the capability for e2e tests to emit arbitrary metrics, specifically to measure latency. In the review we had some debate (@bobcatfish@jessiezcc@adrcunha) about the metric naming.
Some factors:
Encouraging folks to reuse metric names (vs. duplication such as RouteIsReady, IsRouteReady)
Dangers of reuse, e.g. using the same metric name but measuring something very different
Metric format (e.g. including ' ', ',')
Some ideas:
Allow arbitrary strings
Use an enum to constrain the number of options and encourage reuse
Find a (very-non-Golang) way to generate names automatically based on context (? terrible idea? best idea?)
Actual Behavior
Currently the string is free form and can contain anything.
Steps to Reproduce the Problem
Run the e2e and conformance tests with --emitmetrics.
Additional Info
I suggest we wait until a few more e2e and conformance tests are added, and see how the authors approach this issue (given that the string is currently free form) before we decide.
Activity
mattmoor commentedon Feb 11, 2019
I think we're moving to other mechanisms for performance and whatnot, so closing.