Skip to content
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

rfc(tracing): Adding Distributed Tracing to Spinnaker #345

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mattgogerly
Copy link
Member

Let's make troubleshooting easier.

make broad improvements to logging.

This will be achieved by removing the `logback-defaults.xml` file from each service and including the Kork
equivalent in each service's source set, as described [here](https://stackoverflow.com/a/43686346).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may change/get easier with the monorepo. I'd say the text here is fine.

Both [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/okhttp/okhttp-3.0/library)
and [Zipkin](https://github.com/openzipkin/brave/blob/master/instrumentation/okhttp3) provide instrumentation for OkHttp,
therefore we are free to choose. OpenTelemetry has been gaining a lot of momentum, but Brave is also widely used.
I leave this choice for discussion in this RFC.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm beginning to get educated here and am leaning to OpenTelemetry. Need to get more educated to form a proper preference.

@dbyron-sf
Copy link
Contributor

This is exciting! Thank you @mattgogerly !

@mattgogerly
Copy link
Member Author

It turns out Micrometer Tracing doesn't support SpringBoot < 3.0, so we'll have to use Sleuth until we get there.

I'll update the RFC accordingly.

@mattgogerly
Copy link
Member Author

mattgogerly commented Jun 30, 2023

I've been playing around a bit and the proposed approach seems to work okay. Need to do a bit more testing to prove it out further.

Need somebody with more knowledge of Gradle to confirm if we can include the Sleuth dependencies in kork-runtime rather than adding them as implementation dependencies to every service explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants