Coder Social home page Coder Social logo

HTTPoGRPC masking errors about common HOT 3 CLOSED

weaveworks avatar weaveworks commented on July 29, 2024
HTTPoGRPC masking errors

from common.

Comments (3)

bboreham avatar bboreham commented on July 29, 2024

Do you remember why 500s were singled out? Why should a 400 be a success?

from common.

tomwilkie avatar tomwilkie commented on July 29, 2024

For alerting/SLO purposes, 400's aren't normally considered errors (there problems with the request, not the serve). So the idea behind this change was that we could alert on gRPC-level errors if 500s are considered errors, but not if 400s are considered errors. Does that make sense?

from common.

bboreham avatar bboreham commented on July 29, 2024

OK, thanks for the explanation.

In #40 code was added to extract the underlying status code and report that in the metric, which makes it possible to filter the errors at the time SLIs are computed. Filtering must already be necessary for http (not-over-grpc) errors which are not masked.

I find it confusing to see (say) Mimir Distributor reporting errors and not its caller; it makes it look like the problem is in the Distributor.

from common.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.