Skip to content

Determine format for e2e test metrics #1379

Closed

Description

@bobcatfish

/area monitoring
/area test-and-release

/kind dev

Expected Behavior

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

  1. added
    area/test-and-release
    on Jun 27, 2018
  2. self-assigned this
    on Jun 28, 2018
  3. mattmoor commented on Feb 11, 2019

    @mattmoor
    Contributor

    I think we're moving to other mechanisms for performance and whatnot, so closing.

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

Metadata

Metadata

Assignees

Labels

area/test-and-release

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions