Git Product home page Git Product logo

Comments (8)

iamseth avatar iamseth commented on May 30, 2024 1

Having the same problem myself. I'm pretty busy this month with OSCP labs but I can take a better look after.

from oracledb_exporter.

iamseth avatar iamseth commented on May 30, 2024

Sure, I can add this.

I'm not familiar with v$recovery_file_dest. Is it possible for that query to return 2+ results?

from oracledb_exporter.

samueletonon avatar samueletonon commented on May 30, 2024

In my user cases it always return one line - therefore the use of QueryRow instead of Query .

I do not know of installations with multiple FRA, but the world is big and "diverse" .
i also tried an implementation with Query - just in case there were cases where it was returning more than one row - but the code was never going inside the block

for row.Next() {

but my golang is rather poor. i can test for you different implementation .

from oracledb_exporter.

nqirod avatar nqirod commented on May 30, 2024

I have writed something about this in my fork on this repo, only the percentage used but it still usable ;)

from oracledb_exporter.

samueletonon avatar samueletonon commented on May 30, 2024

sorry @nqirod, having same problem with your solution for FRA, tried also RMAN scrape both with no success

from oracledb_exporter.

samueletonon avatar samueletonon commented on May 30, 2024

it looks like it is something related to oci way of handling errors

from oracledb_exporter.

samueletonon avatar samueletonon commented on May 30, 2024

Hello, does this means you have no plans of adding metrics on FRA ?

from oracledb_exporter.

T-M-A avatar T-M-A commented on May 30, 2024

Hello!

if I use another driver, then all of the samples from this view work.

Sample

I opened bug: mattn/go-oci8#276

from oracledb_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.