Skip to content

Update OpenCensus shim metrics docs to use registerMetricProducer - #8814

Open
thswlsqls wants to merge 1 commit into
open-telemetry:mainfrom
thswlsqls:docs/opencensus-shim-metrics-readme-stale-api
Open

Update OpenCensus shim metrics docs to use registerMetricProducer#8814
thswlsqls wants to merge 1 commit into
open-telemetry:mainfrom
thswlsqls:docs/opencensus-shim-metrics-readme-stale-api

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Fixes #8811

Description

Testing done

  • Docs-only (README and one Javadoc sentence), test-exempt: no test added.
  • ./gradlew :opencensus-shim:check passed (63 tests; spotless, ErrorProne/NullAway, checkstyle).
  • The new snippet is the same call chain as OpenCensusMetricsTest#capturesOpenCensusAndOtelMetrics, which compiles and passes.
  • No CHANGELOG entry (generated at release time); alpha artifact, no apidiff.

@thswlsqls
thswlsqls marked this pull request as ready for review September 12, 2026 12:34
@thswlsqls
thswlsqls requested a review from a team as a code owner September 12, 2026 12:34
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Sep 12, 2026

Copy link
Copy Markdown

Pull request dashboard status

Waiting on the author · refreshed 2026-09-12 12:50 UTC

Wait for the required status checks to report; this pull request moves to reviewers once the results are clean.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with reviewers? Comment /dashboard route:reviewers to route it to them.
  • Anything wrong — including the routing? Report it with what you expected; it helps us improve the dashboard.

@codecov

codecov Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.27%. Comparing base (77b1ac4) to head (e1b4ee5).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8814      +/-   ##
============================================
- Coverage     91.28%   91.27%   -0.02%     
+ Complexity    10528    10526       -2     
============================================
  Files          1008     1008              
  Lines         28465    28465              
  Branches       3617     3617              
============================================
- Hits          25984    25981       -3     
  Misses         1685     1685              
- Partials        796      799       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

OpenCensus shim README metrics examples use removed OpenCensusMetrics.attachTo

1 participant