Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics: Classify response errors #269

Merged
merged 1 commit into from Jun 13, 2019
Merged

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
Member

@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.

src/app/classify.rs Show resolved Hide resolved
@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
2 participants