-
Notifications
You must be signed in to change notification settings - Fork 94
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
Support for ProbeMonitoring #91
Comments
We have definitely thought about that use case and want to enable it. Though we don't have a concrete design yet on how to integrate that with the current CRDs. Our recommendation in the meantime is to run the GMP Prometheus binary as a sidecar to the blackbox_exporter with a static config that only scrapes the blackbox exporter. |
Any update on this if it's going to be picked up? |
Heya, we are not currently working on this. In the meantime you can use self-deployed collection to do this: https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-unmanaged |
Another user asked for this today, so it might good idea to prioritise it. I am not yet sure we need Probe CR with this, as technically this could be an opinionated field in PodMonitor as well for simplicity. Note that probing is technically possible with PodMonitors with something like:
Two main limitations are:
|
Interesting. So IIUC the main reason we can't support the probe monitoring use case in a single However, if we switched to using the index of the endpoint, as prometheus-operator does, rather than the port, then this would be possible. Aside: I'm curious then, if probe-style monitoring works with prometheus-operator's |
Hi @fabxc I have GMP Prometheus running in non-GKE env and I use GCP cloud monitoring to visualize node_exporter metrics. I also want to use blackbox exporter. I'm not sure if I understand this workaround correctly. Please take a look and let me know if that's what you recommend.
plus prometheus config as configMap with
And scraping settings of course |
Hi @QuerQue,
In addition, it is possible to use PodMonitoring against blackbox-exporter, but it has limitations and is not ideal, as mentioned in the previous comment. We're thinking of ways to better support this use case in the future and will leave this issue open to track. Hope that helps! |
I think we would perhaps benefit from a "Probe" monitoring resource as well. Our use-case is something like the following:
But, if I understand correctly, each of the N blackbox-exporter replicas would be scrapped, and our target would suffer under the increased demands. For this reason, we run self-deployed managed collectors in our cluster. Perhaps there's a way to do this I'm not aware of, but as of now, I'm of the belief that maybe? a ProbeMonitoring resource (from what it sounds) would help us. |
Adding ProbeMonitoring is not looking likely for this upcoming half - but - Cloud Monitoring has uptime checks (including synthetics) that do the same thing, and the resulting time series are queryable using PromQL like anything else in Cloud Monitoring. If you're looking for a fully managed solution, perhaps take a look: https://cloud.google.com/monitoring/uptime-checks/introduction |
Thanks, I'll take a look at those, but, in general, we already have a robust configuration system for managing prometheus collection with multitarget exporters. Also we like using Monarch as our tsdb. But, it would just be very nice if the gmp crds made multi cluster, multi cloud, monitoring a bit easier, and I think a ProbeMonitor might help with that. If you all are looking for contributors, I'd be happy to take a stab at it. |
We absolutely welcome contributors @dnck! We're happy to review or collaborate on any designs |
FYI @dnck - we have a PoC that @TheSpiritXIII and @bernot-dev put together in #766. We'll prioritize rolling this out in the near future as a supported offering. PTAL there if you have any input! |
After some discussion, we recommend using Uptime to meet these needs. Please let us know if you would like to revisit this in the future. |
Hello,
I was wondering if adding an API endpoint for scraping Probe for exporters like blackbox or ssl is planned?
That's all.
Thanks!
The text was updated successfully, but these errors were encountered: