prometheus-community / stackdriver_exporter

Google Stackdriver Prometheus exporter
Apache License 2.0
254 stars 97 forks source link

continuously poll new projects based on filters #318

Open DanArlowski opened 5 months ago

DanArlowski commented 5 months ago

Problem Statement We have GCP projects that are created dynamically and need to be discovered by the stackdriver exporter, but currently that aren't, since the exporter fetches the projects only at startup.utilize.

Desired State The stackdriver exporter fetches the projects it needs to scrape (google.projects.filter arg) on some configurable interval, that's way we can auto discover new projects and scrape their metrics.

Solution Proposal

we already created a working POC, which just needs a bit more polishing

@SuperQ please let me know what do you think so we can start working on it.