I run a docker environment with traefik as proxy.
Behind traefik, I run two containers: ApiExt
and ApiInt
.
ApiExt
is called from the internet and calls internally the ApiInt
(Microservice Architecture).
However, I also use Jaeger connected to traefik to trace routes.
I want to get the calls between ApiExt
and ApiInt
marked as child spans.
My ApiInt
has no labels from traefik yet, because I do not want it to be accessible from the internet. It is just an internal service. ApiExt
calls ApiInt
via the docker container-name.
What would be the best practice to achieve this? How can I get this done automatically, maybe via traefik directly? Right now, the spans are not "linked" in any relation.