Skip to content

metrics: Classify response errors#269

Merged
olix0r merged 1 commit intomasterfrom
ver/classify-response-errors
Jun 13, 2019
Merged

metrics: Classify response errors#269
olix0r merged 1 commit intomasterfrom
ver/classify-response-errors

Conversation

@olix0r
Copy link
Member

@olix0r olix0r commented Jun 13, 2019

The metrics layer did not properly count response errors.

This change makes a response status code optional so that response
errors may be counted when no status code is present.

Fixes linkerd/linkerd2#2934

The metrics layer did not properly count response errors.

This change makes a response status code optional so that response
errors may be counted when no status code is present.

Fixes #2934
Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM! Thanks for fixing this.

@olix0r olix0r merged commit 35df8ab into master Jun 13, 2019
@olix0r olix0r deleted the ver/classify-response-errors branch June 13, 2019 19:52
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Jun 13, 2019
    439fbfed Update to rust-1.35.0 (linkerd/linkerd2-proxy#265)
    db26495e Honor `l5d-override-dst` for inbound service profiles (linkerd/linkerd2-proxy#267)
    a476e995 metrics: Include the prefix of a Report in log lines (linkerd/linkerd2-proxy#262)
    1a52a5e6 discovery: Fall back in MakeService, only on InvalidArgument (linkerd/linkerd2-proxy#268)
    35df8ab4 metrics: Classify response errors  (linkerd/linkerd2-proxy#269)
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Jun 13, 2019
    439fbfed Update to rust-1.35.0 (linkerd/linkerd2-proxy#265)
    db26495e Honor `l5d-override-dst` for inbound service profiles (linkerd/linkerd2-proxy#267)
    a476e995 metrics: Include the prefix of a Report in log lines (linkerd/linkerd2-proxy#262)
    1a52a5e6 discovery: Fall back in MakeService, only on InvalidArgument (linkerd/linkerd2-proxy#268)
    35df8ab4 metrics: Classify response errors  (linkerd/linkerd2-proxy#269)
hawkw pushed a commit to linkerd/linkerd2 that referenced this pull request Jun 13, 2019
439fbfed Update to rust-1.35.0 (linkerd/linkerd2-proxy#265)
    db26495e Honor `l5d-override-dst` for inbound service profiles (linkerd/linkerd2-proxy#267)
    a476e995 metrics: Include the prefix of a Report in log lines (linkerd/linkerd2-proxy#262)
    1a52a5e6 discovery: Fall back in MakeService, only on InvalidArgument (linkerd/linkerd2-proxy#268)
    35df8ab4 metrics: Classify response errors  (linkerd/linkerd2-proxy#269)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proxy: metrics, tap do not classify errors as failures

2 participants