Skip to content

[docs] fill missing c++ logs documentation#9668

Merged
vitorvasc merged 11 commits intoopen-telemetry:mainfrom
hxiao87:logs-doc
May 4, 2026
Merged

[docs] fill missing c++ logs documentation#9668
vitorvasc merged 11 commits intoopen-telemetry:mainfrom
hxiao87:logs-doc

Conversation

@hxiao87
Copy link
Copy Markdown
Contributor

@hxiao87 hxiao87 commented Apr 17, 2026

  • I have read and followed the Contributing docs, especially the "First-time contributing?" section.
  • This PR has content that I did not fully write myself.
  • I have the experience and knowledge necessary to understand, review, and validate all content in this PR.1

changes

This change is to address issue #9548, by replacing the placeholder "documentation missing" notice in the Logs section for en/cpp with actual content covering:

  • exporter and processor setup
  • logger provider registration
  • emitting log record

The code examples in the change are adapted from this example.

Footnotes

  1. Yes, I can answer maintainer questions about the content of this PR, without using AI.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Apr 17, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

@otelbot-docs otelbot-docs Bot requested a review from a team April 17, 2026 01:51
@otelbot-docs otelbot-docs Bot added the missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer label Apr 17, 2026
@github-actions github-actions Bot added sig:cpp and removed missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer labels Apr 17, 2026
@otelbot-docs otelbot-docs Bot added the missing:sig-approval Co-owning SIG didn't provide an approval label Apr 17, 2026
@otelbot-docs otelbot-docs Bot added the missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer label Apr 17, 2026
Comment thread content/en/docs/languages/cpp/instrumentation.md
@hxiao87 hxiao87 marked this pull request as ready for review April 20, 2026 14:24
@hxiao87 hxiao87 requested a review from a team as a code owner April 20, 2026 14:24
@vitorvasc
Copy link
Copy Markdown
Member

/fix:refcache

@otelbot-docs
Copy link
Copy Markdown
Contributor

otelbot-docs Bot commented Apr 20, 2026

fix:refcache applied successfully in run 24679635721.

@hxiao87
Copy link
Copy Markdown
Contributor Author

hxiao87 commented Apr 22, 2026

/fix:refcache

@otelbot-docs
Copy link
Copy Markdown
Contributor

otelbot-docs Bot commented Apr 22, 2026

fix:refcache applied successfully in run 24753493274.

Comment thread content/en/docs/languages/cpp/instrumentation.md Outdated
Co-authored-by: Vitor Vasconcellos <vvasconcellos1@gmail.com>
@svrnm
Copy link
Copy Markdown
Member

svrnm commented Apr 23, 2026

@open-telemetry/cpp-approvers PTAL!

@otelbot-docs otelbot-docs Bot removed the missing:docs-approval Co-owning SIG has provided approval, PR needs approval from docs maintainer label Apr 23, 2026
Copy link
Copy Markdown
Member

@dbarker dbarker left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution. Please see some optional points for improvement below.

Comment thread content/en/docs/languages/cpp/instrumentation.md Outdated
Comment thread content/en/docs/languages/cpp/instrumentation.md Outdated
Comment thread content/en/docs/languages/cpp/instrumentation.md Outdated
@otelbot-docs otelbot-docs Bot removed the missing:sig-approval Co-owning SIG didn't provide an approval label Apr 23, 2026
@otelbot-docs otelbot-docs Bot added the ready-to-be-merged This PR is ready to be merged by a maintainer label Apr 23, 2026
@otelbot-docs otelbot-docs Bot requested a review from a team April 23, 2026 20:19
@vitorvasc vitorvasc added this pull request to the merge queue May 4, 2026
Merged via the queue into open-telemetry:main with commit db1fe60 May 4, 2026
24 checks passed
@otelbot
Copy link
Copy Markdown
Contributor

otelbot Bot commented May 4, 2026

Thank you for your contribution @hxiao87! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-be-merged This PR is ready to be merged by a maintainer sig:cpp

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants