Code Monkey home page Code Monkey logo

Comments (3)

jdstone avatar jdstone commented on June 24, 2024 1

Hey @burningalchemist,

Oooh, Reloader looks like exactly what I want. Though I'm trying the Azure Active Directory authentication approach, as I've asked about in my other open issue, #169. So hopefully I can get that working.

Yeah, it makes sense that you'd have to revisit the codebase and workflow if you introduce a config file watcher. There is probably no point (and probably doesn't make sense) in pursuing this since I'm sure this project has more important priorities. And it really isn't sql_exporter's job to watch for config file changes -- not the purpose of this application.

No worries about being away; you're allowed to have a life outside this software, haha. :)
I assume you're referring to my questions here? Yes, those questions are still relevant. It'd be much appreciated if you could answer them to the best of your ability.
#37 (comment)

from sql_exporter.

burningalchemist avatar burningalchemist commented on June 24, 2024 1

@jdstone cool, will do. I'll close this issue for the time being. But I'll take your feedback as a feature request. 👍

from sql_exporter.

burningalchemist avatar burningalchemist commented on June 24, 2024

Hi @jdstone,

Yeah, you're right. Currently the config file is only read once on startup. What I might suggest as an option is Reloader. It's an additional component, but it solves exactly this type of problems. Please have a look.

At the moment sql_exporter has a straightforward workflow, so introducing a config file watcher requires revisiting the codebase (we need to watch for changes continuously, detect them, drop previously created objects like Exporter->Target->Collector->Query, and recreate them again with a new config, then reconnect).

I'll think about it, but for the time being to unblock you I'd recommend looking at Reloader or any similar solution. Password change is an operational event, so I'd rather make it noticeable for the applications as well.

P.S. I'm sorry, I was away from my computer for some time, so I didn't answer your previous question (regarding jobs). Is it still relevant?

Kind regards,
Sergei

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.