Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uphow <ec2_sd_config> works in china region #3897
Comments
This comment has been minimized.
This comment has been minimized.
|
Make sure you specify the right region in China. It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Mar 1, 2018
This comment has been minimized.
This comment has been minimized.
|
Actually this might be a bug on our end. Can you share your prometheus.yml? |
brian-brazil
reopened this
Mar 1, 2018
This comment has been minimized.
This comment has been minimized.
elbertwang
commented
Mar 12, 2018
•
error log: root cause : cn-north-1: ec2.cn-north-1.amazonaws.com.cn |
This comment has been minimized.
This comment has been minimized.
|
@elbertwang thx |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil Our products are all on Amazon Machines,if this bug can't repair on next release,I have to add more than 100 machine's monitor Manually Thanks |
This comment has been minimized.
This comment has been minimized.
|
Hi, According to aws/aws-sdk-go#600 the issue caused by missed regions in aws-sdk-go. Made PR to update aws-sdk-go to a new version. Hope, it will be helpful. |
brian-brazil
closed this
Jul 18, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Diannone commentedMar 1, 2018
Hi,I am using Prometheus on ec2 in china region, and I found that <ec2_sd_config> can't work because of aws endpoint.
The ec2 endpoint in China region is ec2.cn-north-1.amazonaws.com.cn. And it is different from ec2 endpoint in global.
So how can I pass the china region ec2 endpoint to Prometheus?
