Closed ghost closed 6 years ago
Why do we need this configuration variable? To my understanding, Prometheus will transfer a header that contains the scraping timeout for this very request.
IMHO yes, because you might want to see the output without the need of scraping from Prometheus point of view.
Thanks, code change looks good to me. Please also add a changelog entry. Once this is done, feel free to merge.
The default timeout for requests is set to 10 seconds. Scraping the billing API might take longer. Introducing a configuration value to make it mor customisable.