generated from Apodini/ApodiniTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implementation of the Traced Services #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implementation of the Traced Services
This PR introduces the Apodini HotROD (rides on demand) example, mirroring functionality of the official Jaeger HotROD example. The example is used to showcase the automated distributed tracing functionality of Apodini and consists of four distinct microservices:
For further information on service functionality, see the Jaeger HotROD Example README.
Tracing
When interacting with the service, request handling is traced using the OpenTelemetry Collector as the tracing backend. The collector forwards traces to the Jaeger instance that is exposed on port 16686.
The Jaeger user interface displays the collected traces. Each driver request in the HotROD user interface is displayed with a find trace link which opens the trace of the respective request in the Jaeger user interface.
Development
The
docker-compose-jaeger.yml
file can be used to run the OpenTelemetry collector and Jaeger locally using$ docker compose -f docker-compose-jaeger.yml up
.The
docker-compose-development.yml
file can be used to test the setup by building the web services locally and running the OpenTelemetry collector and Jaeger using$ docker compose -f docker-compose-development.yml up
.Related PRs
Reviewer Nudging
I suggest to review the services "bottom-up". Start with cross-service utils in the
Utils
folder. Then continue with theroute
,customer
, anddriver
services. Lastly, check out thefrontend
service.