-
Notifications
You must be signed in to change notification settings - Fork 81
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 Elasticsearch Service on AWS #45
Comments
cc @openzipkin/elasticsearch |
appears http is already supported. we need to verify and look into aws |
We're running into a problem here where we use Amazon IAM credentials to do communication with Amazon ElasticSearch Service. As of right now, there is no code path to properly load in these credentials from the environment and it is causing our zipkin depenency job to fail. To fix this we can add something similar to this: https://github.com/openzipkin/zipkin/blob/master/zipkin-autoconfigure/storage-elasticsearch-aws/src/main/java/zipkin/autoconfigure/storage/elasticsearch/aws/ZipkinElasticsearchAwsStorageAutoConfiguration.java |
@faiq are you up to task to give this a try? Best to use the same environment variables as the server does. |
I looked through a bunch of the issues related to this and came upon a solution. I am using the following workaround when starting my task in ECS:
The code for this docker image lives here: https://github.com/abutaha/aws-es-proxy |
Wondering if openzipkin/zipkin#3050 would help here ? |
I guess first step would be getting the thing to read AWS credentials in the first place. I wonder if elasticsearch-hadoop has progresed this at all (or if they would?) |
Just bumped my head into this one as a final step in setting up Zipkin with AWS Elasticsearch. Looks like elasticsearch-hadoop hasn't made any progress elastic/elasticsearch-hadoop#626. For now I might either go back to C* or give the signing proxy a try. |
I jumped through a few hoops and resorted to using the proxy to get this to work. |
It is hard to think elastic/elasticsearch-hadoop#626 is anything but intentionally not addressed. What options do we want to go forward on this? fork? use a java agent to patch the client? switch to something else? In any case it is needless extra work, and also we won't be sure the other driver will be allowed to set headers (ex if we switch to something else) cc @openzipkin/elasticsearch |
FWIW I think external (proxy) or patching is the only viable way as ES doesn't seem to progress this topic. Since it is not moving anyway, the code could more easy to patch. By patch, I mean copy/paste a class that is a part of their driver (noting the LICENSE in the NOTICE file) and edit it such that an interceptor can be added. If someone wants to do this, I'll help review. |
Update from my end: I have revisited our setup, and currently installing 2.6.2 and pointing directly towards an AWS/ES domain, same one as before. It seems to be working without the intermediate proxy which I have now removed. AWS/ES versions: |
Zipkin 1.12 supports http transport and also hosted thanks to @sethp-jive.
I'm sure folks will soon ask about the dependencies job. Most code in this repo isn't shared because the spark libraries are generally unlike the normal ones.
The text was updated successfully, but these errors were encountered: