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

Calendar app: use instrumentation annotations #127

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

krlv
Copy link
Contributor

@krlv krlv commented Aug 13, 2024

What does this PR do?

  • Add @WithSpan instrumentation annotations to the Calendar app
  • Add required dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations
  • Upgrade to the latest version 2.6.0 of the OTel Java Agent
  • Minor changes (code formatting, helm instructions in README)

Motivation

  • Introduce instrumentation annotations to the Java example app (suggested by @ancostas; recommended approach in the OTel docs)

QA Instructions

Blast Radius

Changes introduced in the PR make following docs out of date:

* Add a dependency on the `opentelemetry-instrumentation-annotations` library
  to use `@WithSpan` annotation.
* Move `getDate` method to the `CalendarService` class.
* Update OTel Java Agent to the latest `2.6.0` version
@krlv krlv requested a review from a team as a code owner August 13, 2024 21:02
@krlv krlv merged commit 22de51b into main Aug 14, 2024
7 checks passed
@krlv krlv deleted the krlv/calendar-use-annotations branch August 14, 2024 21:31
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