le-tf-infra-aws
le-tf-infra-aws copied to clipboard
Feature | Distributed tracing w/ jaeger + opencensus collector + Demo-App
What?
- Add to our demo apps distributed tracing w/ jaeger + opencensus collector
Summary
- Deploy jaeger & opencensus collector via helm + helmsman
- Configure and enable the nginx ingress controller (https://github.com/kubernetes/ingress-nginx) to start the tracing.
- Instrument demo apps to trace (mostly intended for the Dev team, will be doing it here though); we'll need to add the necessary libraries to the apps in oder to allow them "participate" in the tracing flow.
Considerations
opencensus collector is the component that captures the data (similar to elasticsearch) and jaeger provides us with a UI (similar to kibana) so as to visualize the tracing.
Reference Articles
- https://kinvolk.io/blog/2019/09/a-shallow-dive-into-distributed-tracing/
- https://speakerdeck.com/gianarb/distributed-tracing-faq
- https://www.kartar.net/2019/07/intro-to-distributed-tracing/
@exequielrafaela At implementation time we should consider using OpenTelemetry instead of OpenCensus. Here's a quote from Linkerd's documentation on that line:
...OpenCensus project is in maintenance mode and will become part of OpenTelemetry.
Source: https://linkerd.io/2.10/tasks/distributed-tracing/
Right now, OpenTelemetry's specification is at version 1.0 (https://medium.com/opentelemetry/opentelemetry-specification-v1-0-0-tracing-edition-72dd08936978) so there's still time before a stable release is out; however, we may want to check again in the future.
@exequielrafaela At implementation time we should consider using OpenTelemetry instead of OpenCensus. Here's a quote from Linkerd's documentation on that line:
...OpenCensus project is in maintenance mode and will become part of OpenTelemetry. Source: https://linkerd.io/2.10/tasks/distributed-tracing/Right now, OpenTelemetry's specification is at version 1.0 (https://medium.com/opentelemetry/opentelemetry-specification-v1-0-0-tracing-edition-72dd08936978) so there's still time before a stable release is out; however, we may want to check again in the future.
@diego-ojeda-binbash OJ thanks for your quick feedback and valuable contribution to this issue. Much appreciated 💪🏼