Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(googlecloudspannerreceiver): Allow specifying scraping all databases for a Spanner instance #36553

Open
adinhodovic opened this issue Nov 26, 2024 · 0 comments
Labels
enhancement New feature or request needs triage New item requiring triage

Comments

@adinhodovic
Copy link

adinhodovic commented Nov 26, 2024

Component(s)

googlecloudspannerreceiver

Is your feature request related to a problem? Please describe.

I'd like to not have to specify databases for the googlecloudspannerreceiver. They're generated and would be great to just configure the collector to list all existing databases for an instance and then just scrape them.

Describe the solution you'd like

    receivers:
      googlecloudspanner:
        collection_interval: 60s
        projects:
        - instances:
            instance_id: <test>
          project_id: <test>

Alternatively adding a flag to scrape all or .*.

    receivers:
      googlecloudspanner:
        collection_interval: 60s
        projects:
        - instances:
          - databases:
            - ".*"
            // or scrapeAll config
            scrapeAll: true
            instance_id: <test>
          project_id: <test>

Would this be considered?

Describe alternatives you've considered

No response

Additional context

No response

@adinhodovic adinhodovic added enhancement New feature or request needs triage New item requiring triage labels Nov 26, 2024
@adinhodovic adinhodovic changed the title googlecloudspannerreceiver: Allow specifying scraping all databases for a Spanner instance feature(googlecloudspannerreceiver): Allow specifying scraping all databases for a Spanner instance Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant