-
Notifications
You must be signed in to change notification settings - Fork 4
xray support isn't documented or valid #11
Comments
what's the purpose of this image if it doesn't include the daemon by default? is it better to run the daemon as a separate sidecar or should we try to build it into this image? |
At my previous company, we ran the daemon as a system service on the App servers and used the sender component in the apps instead. There is certainly some missing configuration here to support zipkin server doing the same so that should be addressed |
If anyone wants to work this please let me know and I can walk you through what is needed |
can this be done by doing something similar to this in the container
i took these commands from the x-ray setup page |
Built an image like this FROM ubuntu:18.04
WORKDIR /xray-daemon
RUN apt-get update
RUN apt-get install unzip
ADD https://s3.dualstack.us-west-2.amazonaws.com/aws-xray-assets.us-west-2/xray-daemon/aws-xray-daemon-linux-2.x.zip /xray-daemon/aws-xray-daemon-linux-2.x.zip
RUN unzip -o aws-xray-daemon-linux-2.x.zip -d .
EXPOSE 2000
CMD ["/xray-daemon/xray", "--bind=0.0.0.0:2000", "--log-file=/dev/stdout", "--log-level=prod"] And running it like this
Comes up with
I guess the next step is to figure out how to make the openzipkin server talk to this thing. Seems like it should be just
amirite? |
looks like a good start! next step would be that if x-ray is enabled you'll want to start two processes on entrypoint instead of one. we have something like this in our demo kafka image. https://github.com/openzipkin/docker-zipkin/blob/master/kafka/start.sh |
xray is here, but the amazon daemon is not present on the image. This means it is probably not a valid setup. AFAICT can either remove the xray module from this image, or add the x-ray daemon to it with instructions for how to configure it.
https://github.com/openzipkin/zipkin-aws/tree/master/autoconfigure/storage-xray#configuration
The text was updated successfully, but these errors were encountered: