You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where i am using an external proxy to pull the metrics, and currently using the both HTTP_PROXY and HTTPS_PROXY while running the agent.
Opened required ports from host and destination machines, and validated the connectivity to proxy from the agent node machine works fine.
When i try to start the agent with the above variables it is somehow unable to read it from the variable.
10:58:20.304 INFO [AgentGrpcService.kt:186] - Cannot connect to proxy at prom-proxy.aws-dev.abc.com:50051 using plaintext - StatusException: UNAVAILABLE: io exception [Agent Unnamed-ip-100-120-14-241.ec2.internal] 10:58:23.296 INFO [Agent.kt:211] - Waited 3s to reconnect [Agent Unnamed-ip-100-120-14-241.ec2.internal] 10:58:23.297 INFO [AgentGrpcService.kt:175] - Connecting to proxy at prom-proxy.aws-dev.abc.com:50051 using plaintext... [Agent Unnamed-ip-100-120-14-241.ec2.internal]
Configured the proxy_hostname in the agent.conf proxy.hostname = prom-proxy.aws-dev.abc.com
Not sure what i am missing here, but any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
I have a use case where i am using an external proxy to pull the metrics, and currently using the both HTTP_PROXY and HTTPS_PROXY while running the agent.
docker run -p 8083:8083 -p 8093:8093 --mount type=bind,source="$(pwd)"/prom-agent.conf,target=/app/prom-agent.conf --env HTTP_PROXY=https://proxium-us-east-1.aws-dev.abc.com:3128 --env HTTPS_PROXY=https://proxium-us-east-1.aws-dev.abc.com:3128 --env AGENT_CONFIG=prom-agent.conf --env DEBUG_ENABLED=true --network host -d pambrose/prometheus-agent:1.21.0
Opened required ports from host and destination machines, and validated the connectivity to proxy from the agent node machine works fine.
When i try to start the agent with the above variables it is somehow unable to read it from the variable.
10:58:20.304 INFO [AgentGrpcService.kt:186] - Cannot connect to proxy at prom-proxy.aws-dev.abc.com:50051 using plaintext - StatusException: UNAVAILABLE: io exception [Agent Unnamed-ip-100-120-14-241.ec2.internal] 10:58:23.296 INFO [Agent.kt:211] - Waited 3s to reconnect [Agent Unnamed-ip-100-120-14-241.ec2.internal] 10:58:23.297 INFO [AgentGrpcService.kt:175] - Connecting to proxy at prom-proxy.aws-dev.abc.com:50051 using plaintext... [Agent Unnamed-ip-100-120-14-241.ec2.internal]
Configured the proxy_hostname in the agent.conf
proxy.hostname = prom-proxy.aws-dev.abc.com
Not sure what i am missing here, but any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: