Skip to content
This repository was archived by the owner on Oct 23, 2020. It is now read-only.
This repository was archived by the owner on Oct 23, 2020. It is now read-only.

Metrics recording: Only run request timer for valid requests #189

Description

@marcesher

Currently, we wrap every request with a with-timing call based on the request path, so that we can capture per-slice metrics. However, this has a nasty side effect of also recording metrics for any invalid requests.

We should limit the with-timing calls to only valid, non-400 requests

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions