-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Amazon Elasticsearch Service #443
base: master
Are you sure you want to change the base?
Conversation
2469ef1
to
283e7c4
Compare
esAWS = kingpin.Flag("es.aws", "Enable support for Amazon Elasticsearch Service"). | ||
Default("false").Envar("ES_AWS").Bool() | ||
esAWSRegion = kingpin.Flag("es.aws-region", "Sets the AWS region"). | ||
Default("").Envar("ES_AWS_REGION").String() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea why go fmt
enforces this indentation... Would fail the CircleCI tests otherwise
Signed-off-by: Jami Karvanen <jami.karvanen@yle.fi>
Can we leverage https://github.com/prometheus/common/tree/main/sigv4 for the sigv4 part? does it make sense? |
Great idea, but It seems like it uses the default credential chain and AFAIK it doesn't support pod IAM roles without adding Maybe this implementation is good for now and I'll file an issue against the prometheus lib? |
Would love to see AWS ES signing support included -- Is this still being worked on? Does it need support? |
Any progress with this ticket? It would be very useful for AWS ES signing support to be included for us as we require it |
I am using AWS elasticsearch. I plan to use chart, prometheus-elasticsearch-exporter, to monitor it. A quick question here: es: |
This is based on @JackFazackerley's initial work from here: #353
I rebased this against the latest master and added additional credential provider, so this also works with pod IAM roles when running in EKS.