mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-22 15:15:35 +00:00
add network connected check to pushprox poll method
This commit is contained in:
@ -103,6 +103,7 @@ class PromWorker(
|
||||
pushProxFqdn = config.pushproxFqdn,
|
||||
registry = collectorRegistry,
|
||||
countSuccessfulScrape = ::countSuccessfulScrape,
|
||||
getContext = {context}
|
||||
)
|
||||
)
|
||||
Log.d(TAG, "PushProx launching now") //TODO is singleThreadContext a problem??
|
||||
|
Reference in New Issue
Block a user