AWS Prometheus_remote_write failed to receive credentials #20925
Unanswered
aggholamyy
asked this question in
Q&A
Replies: 1 comment
-
Hi @aggholamyy . I'd suggest looking at debug logs from the AWS SDK. You can do this by setting an environment variable: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, first of all: I'm a total vector novice so bear with me,
I'm trying to send node_exporter metrics of an EC2 instance to a AWS managed prometheus on the same VPC,
I'm using docker image of the vector
timberio/vector:0.39.0-debian
after configuring the vector by vector.yaml and running the container I receive the following logs:
my vector.yaml is like:
all the policy, IAM Role and attaching Role to the EC2 is done, I send curl request like the following to verify that credentials are accessible in EC2:
the results are respectively:
The vector sink document for Sink Prometheus remote write said "aws.region" is optional but without it I received error on "if you are using aws authentication then you must have aws.region".
Did I miss anything in configuration file?
Thank you in advance for your time and help.
Beta Was this translation helpful? Give feedback.
All reactions