samples-server
samples-server copied to clipboard
FIX(promql-to-scrape, promql-to-dd-go): Proxy configuration from environment variables
Changed client.go files to make API calls respect Proxy configuration from environment variables.
What was changed
Changed http client to initialize with environment variable proxies.
Why?
When using the sample server it wouldn't send API calls through our corporate proxy and API calls to temporal cloud would fail.
How was this tested:
Tested by monitoring logs and observed working /metrics endpoint.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Zach Talarick seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
@ztalarick Thanks for the PR. I can help you to merge once the CLA is signed.