linkerd2/doc
Eliza Weisman c688cf6028
Add response classification to proxy metrics (#639)
This PR adds a `classification` label to proxy response metrics, as @olix0r described in https://github.com/runconduit/conduit/issues/634#issuecomment-376964083. The label is either "success" or "failure", depending on the following rules:
+ **if** the response had a gRPC status code, *then*
   - gRPC status code 0 is considered a success
   - all others are considered failures
+ **else if** the response had an HTTP status code, *then*
  - status codes < 500 are considered success,
  - status codes >= 500 are considered failures
+ **else if** the response stream failed **then**
  - the response is a failure.

I've also added end-to-end tests for the classification of HTTP responses (with some work towards classifying gRPC responses as well). Additionally, I've updated `doc/proxy_metrics.md` to reflect the added `classification` label.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2018-03-28 14:49:00 -07:00
..
images Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00
README.md Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00
adding-your-service.md Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00
debugging-an-app.md Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00
get-involved.md Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00
getting-started.md Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00
overview.md Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00
prometheus.md Clean up Prometheus labels scraped from proxy (#633) 2018-03-27 15:01:08 -07:00
proxy-metrics.md Add response classification to proxy metrics (#639) 2018-03-28 14:49:00 -07:00
roadmap.md Move Conduit documentation sources to Conduit repo. (#418) 2018-02-28 13:39:28 -10:00

README.md

The documentation here is published at https://conduit.io/docs/ when each version is released. The version of the documentation in GitHub should always match the code in the same branch. For example, when a pull request changes the behavior of a documented feature, the pull request should change the documentation here to match the new behavior.