Coder Social home page Coder Social logo

Comments (12)

allanger avatar allanger commented on August 29, 2024 1

Ah, I guess I've missed the SQLEXPORTER_TARGET_DSN var. I guess I can just use it, and my problem will be solved, cause I'm only using single-target mode. But I think in general, it would be nice to support multi-target as well, though I'm not sure how

from sql_exporter.

burningalchemist avatar burningalchemist commented on August 29, 2024 1

Sounds good to me!

Time-wise, I'd like to finish v0.14 and then declare a feature freeze to work on test coverage, and finish with some static web site with a better documentation approach. So, if there's anything needed from my end to be supported by db-operator, please let me know (or feel free to drop some thoughts under Discussions/Ideas πŸ‘ ).

from sql_exporter.

burningalchemist avatar burningalchemist commented on August 29, 2024 1

Hey @allanger, let's keep this issue open since it's somewhat linked with #397 as well.
As for #397, I was carried away by my daily job, and couldn't arrange time to proceed - there are multiple deadlines at the end of the year. πŸ™‚ I'll try to respond and suggest something sooner, so we can merge the PR. πŸ‘

from sql_exporter.

burningalchemist avatar burningalchemist commented on August 29, 2024

Hey @allanger,

Currently, there's SQLEXPORTER_TARGET_DSN environment variable that's used for DSN. This only works for a single-target mode, though. Maybe you could try to do something around this env if you think it makes sense.

Apart from that, yeah, here's the next milestone for v0.14. I think I'll start working on it next year (or by the end of this year). One of three features in the list is already implemented. So I could prioritise #186 then.

Could you please share which env variables you would use in the last solution?

Cheers!

from sql_exporter.

burningalchemist avatar burningalchemist commented on August 29, 2024

Cool, I think it would still be better for the majority of cases. πŸ‘

For multi-target mode, users need to provide way more information in one place, so integrating it with solutions like db-operator looks complicated from the beginning anyways. I have some ideas on the env-driven configuration, but need to prototype them first. So I think Helm integration for multi-targets makes sense to look at after #186 is delivered.

from sql_exporter.

allanger avatar allanger commented on August 29, 2024

We can think about adding some integration for db-operator, since I'm one of maintainers there :)

from sql_exporter.

lhaussknecht avatar lhaussknecht commented on August 29, 2024

Funny - yesterday I started on a PR for exactly this usecase :)

from sql_exporter.

allanger avatar allanger commented on August 29, 2024

I might be wrong, since checking from the phone. But are mounting the whole config from the existing secret? If so, it's not resolving the issue, because I need to set the connection string only.

A config from a secret is also something in wanted to add, but it's not what we actually need

from sql_exporter.

lhaussknecht avatar lhaussknecht commented on August 29, 2024

from sql_exporter.

burningalchemist avatar burningalchemist commented on August 29, 2024

Cool! I guess there's no overlap then. πŸ‘

from sql_exporter.

allanger avatar allanger commented on August 29, 2024

Actually, I'd say that this issue can be closed, because my problem was solved by #399

But should we wait for #397 ?

from sql_exporter.

burningalchemist avatar burningalchemist commented on August 29, 2024

Resolved by #399 and #446.

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.