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 would like to send metrics to a VPC endpoint instead of sending metrics to the public API.
Expected Behavior
I expect the ability to ship metrics to CloudWatch over a private network where the instance does not have the ability to reach the public endpoint over the Internet.
Use Case
I have EC2 instances that do not have access to the public internet. The EC2 instances are in a private subnet and they do not have a NAT gateway in order to reach the Internet. This EC2 instance has a service that is exposing prometheus styled metrics that I would like to ship to CloudWatch, but would need to be done over the private network through a VPC endpoint.
Describe Ideal Solution
I would like the ability to add the VPC endpoint as a parameter so that the cloudwatch client is able to put metrics into CloudWatch over the private network. I believe this would be achieved by setting the Endpoint option linked below.
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
I would like to send metrics to a VPC endpoint instead of sending metrics to the public API.
Expected Behavior
I expect the ability to ship metrics to CloudWatch over a private network where the instance does not have the ability to reach the public endpoint over the Internet.
Use Case
I have EC2 instances that do not have access to the public internet. The EC2 instances are in a private subnet and they do not have a NAT gateway in order to reach the Internet. This EC2 instance has a service that is exposing prometheus styled metrics that I would like to ship to CloudWatch, but would need to be done over the private network through a VPC endpoint.
Describe Ideal Solution
I would like the ability to add the VPC endpoint as a parameter so that the cloudwatch client is able to put metrics into CloudWatch over the private network. I believe this would be achieved by setting the Endpoint option linked below.
https://docs.aws.amazon.com/sdk-for-go/api/aws/client/#ConfigProvider
It appears that the CloudWatch client is being set here, and this is where the Endpoint option might have to be set.
https://github.com/cloudposse/prometheus-to-cloudwatch/blob/master/prometheus_to_cloudwatch.go#L136-L196
Alternatives Considered
Explain what alternative solutions or features you've considered.
Additional Context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: