Giter Site home page Giter Site logo

Comments (3)

burningalchemist avatar burningalchemist commented on May 22, 2024

@bentzimortaboola The error (Execution canceled by operator) seems to be rather specific to Vertica. I'm not sure if you had a look here already. In this case context deadline exceeded likely means that SQL-exporter hasn't received any response within a given timeout. You can try to increase that timeout via configuration or optimize your query to see if it helps.

With regards to the debug logs, it seems there is no such an option as debug messages have to be placed in the code beforehand. Since you've added Vertica driver, you can check that there are not many debug log lines available in the code. Alternatively, you can try to use /debug/pprof or put debug messages yourself for further digging.

Unfortunately, it's not that easy to help to address this issue, since there's no easy way to spin up a free Vertica cluster.

from sql_exporter.

bentzimortaboola avatar bentzimortaboola commented on May 22, 2024

Yes I am aware of the error.

  1. How do I control the query timeout? (want to validate it's the root cause)
  2. Vertica is free till 1TB

Thanks

from sql_exporter.

burningalchemist avatar burningalchemist commented on May 22, 2024

@bentzimortaboola You can try to increase scrape_timeout in the configuration file.
Another approach would be to enable debug log levels provided by the Vertica driver itself (if you use the official one).

from sql_exporter.

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.