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

Update the rolldice example #1566

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Jan 8, 2025

Part of #236

This adapts the example found in https://github.com/MrAlias/otel-auto-demo into our current rolldice example.

This change highlights ...

  • support for context propagation by splitting the application into two services
  • multiple instrumentation probes by including a database to manage users
  • the integration with otel global API and hybrid instrumentation

@MrAlias MrAlias added the documentation Improvements or additions to documentation label Jan 8, 2025
@MrAlias MrAlias added this to the v0.20.0-alpha milestone Jan 8, 2025
@MrAlias MrAlias force-pushed the rolldice-example-update branch from c25900c to cbd61a3 Compare January 8, 2025 23:04
@MrAlias MrAlias marked this pull request as ready for review January 8, 2025 23:08
@MrAlias MrAlias requested a review from a team as a code owner January 8, 2025 23:08
Comment on lines +51 to +53
The `frontend` service has been manually instrumented.
It does not use the OpenTelemetry Go auto-instrumentation to generate spans.
It does so by directly using the OpenTelemetry API, SDK, and pre-built instrumentation packages.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should also auto-instrument the frontend service instead of manually instrumenting it?
I guess it has a value in showing the differences but since we want to emphasize the automatic aspects and not confuse maybe worth to consider.

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

Successfully merging this pull request may close these issues.

2 participants