Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Run certain queries on certain databases #11

Open
dan-aksenov opened this issue Sep 24, 2021 · 0 comments
Open

Run certain queries on certain databases #11

dan-aksenov opened this issue Sep 24, 2021 · 0 comments

Comments

@dan-aksenov
Copy link

dan-aksenov commented Sep 24, 2021

Is your feature request related to a problem? Please describe.
We want to collect business metrics from databases.
It requires running certain queries on specific databases only

Describe the solution you'd like
I think solution should look like:

collectors:
  bsuness_metric1:
    filters:
      database:
        include: "business_db1"
    subsystems:
      business_query11:
        query: "select foo from bar"
        ...
   bsuness_metric2:
    filters:
      database:
        include: "business_db2"
    subsystems:
      business_query12:
        query: "select baz from ban"
        ...

Describe alternatives you've considered
We tried postgres_exporer, but it doesn't have such feature ether.

Additional context
None

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant