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

Add api usage snippets #498

Merged
merged 5 commits into from
Oct 2, 2024
Merged

Conversation

jack-berg
Copy link
Member

@jack-berg jack-berg commented Sep 30, 2024

Code snippets support opentelemetry.io PR: open-telemetry/opentelemetry.io#5276

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

a couple of comments about comments (if you accept them, there are several duplicates throughout)

doc-snippets/api/src/main/java/otel/AsyncCounterUsage.java Outdated Show resolved Hide resolved
doc-snippets/api/src/main/java/otel/AsyncCounterUsage.java Outdated Show resolved Hide resolved
doc-snippets/api/src/main/java/otel/AsyncGaugeUsage.java Outdated Show resolved Hide resolved
doc-snippets/api/src/main/java/otel/AsyncGaugeUsage.java Outdated Show resolved Hide resolved
Copy link
Member

@jaydeluca jaydeluca left a comment

Choose a reason for hiding this comment

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

reviewing this was fun, thanks for the tour of the api! I think these are really useful examples and the added commentary is great

doc-snippets/api/src/main/java/otel/SpanUsage.java Outdated Show resolved Hide resolved
doc-snippets/api/src/main/java/otel/LogRecordUsage.java Outdated Show resolved Hide resolved
doc-snippets/api/src/main/java/otel/SpanUsage.java Outdated Show resolved Hide resolved
@jack-berg jack-berg merged commit dd12ee9 into open-telemetry:main Oct 2, 2024
7 checks passed
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.

3 participants