Giter VIP home page Giter VIP logo

Comments (6)

rafiss avatar rafiss commented on July 4, 2024 1

We will add metrics that count errors based on the "class", which is the first 2 letters of the error code: https://www.postgresql.org/docs/current/errcodes-appendix.html

from cockroach.

kevin-v-ngo avatar kevin-v-ngo commented on July 4, 2024

Did we look at the failed execution insights? What's missing here?

https://www.cockroachlabs.com/docs/stable/ui-insights-page#failed-execution

This table's contents are also conveniently dumped into debug zip.

from cockroach.

kevin-v-ngo avatar kevin-v-ngo commented on July 4, 2024

Looking at the internal thread a bit more closely, seems like we'd prefer an easier process than using debug zip and consume this information via metrics?

from cockroach.

michae2 avatar michae2 commented on July 4, 2024

It would also be nice to have a log like cockroach-sql-slow that records all failed statement executions (instead of slow executions) and is opt-out rather than opt-in.

(The reason I think we also need a log is that it's going to be difficult to dig into XXUUU errors without something more specific than a single count for this class.)

EDIT: I guess this shows up in cockroach-sql-slow anyway but it would be nice if logging of failed executions was opt-out rather than opt-in.

from cockroach.

joeljacobdev avatar joeljacobdev commented on July 4, 2024

Hi, I'm interested in taking on this issue. Could you give me more details?

from cockroach.

rafiss avatar rafiss commented on July 4, 2024

EDIT: I guess this shows up in cockroach-sql-slow anyway but it would be nice if logging of failed executions was opt-out rather than opt-in.

I think your request still stands -- cockroach-sql-slow will only have queries that take longer than the slow query threshold, but won't have queries that failed quickly.

from cockroach.

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.