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

remove opencensus bridge support #10406

Merged
merged 6 commits into from
Jul 31, 2024

Conversation

codeboten
Copy link
Contributor

@codeboten codeboten commented Jun 13, 2024

This removes the configuration of the OpenCensus bridge from the Collector. This means that any metric still relying on it will no longer be emitting metrics.

Closes #10414
Closes #8945

This is blocked until open-telemetry/opentelemetry-collector-contrib#29867 is completed.

Copy link

codecov bot commented Jun 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.08%. Comparing base (6d32c09) to head (8099032).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10406   +/-   ##
=======================================
  Coverage   92.07%   92.08%           
=======================================
  Files         405      405           
  Lines       18862    18856    -6     
=======================================
- Hits        17367    17363    -4     
+ Misses       1135     1134    -1     
+ Partials      360      359    -1     

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

Copy link
Contributor

github-actions bot commented Jul 3, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jul 3, 2024
@codeboten codeboten removed the Stale label Jul 3, 2024
@codeboten
Copy link
Contributor Author

not stale, still planning on moving this forward, just finishing up the blocking PR

Copy link
Member

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

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

Do we still have components using opencensus? I see two of them are mine, but I can commit to getting them migrated before the new release in two weeks.

@codeboten
Copy link
Contributor Author

Do we still have components using opencensus? I see two of them are mine, but I can commit to getting them migrated before the new release in two weeks.

There are 4 as listed in open-telemetry/opentelemetry-collector-contrib#29867

@codeboten
Copy link
Contributor Author

After discussing this further, i'll add a feature gate before this change.

codeboten added a commit to codeboten/opentelemetry-collector that referenced this pull request Jul 4, 2024
This feature gate allows end users to re-enable the opencensus bridge if there's a need for it. This preceeds open-telemetry#10406 and will be taken out of draft once open-telemetry/opentelemetry-collector-contrib#29867 is completed.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
codeboten added a commit to codeboten/opentelemetry-collector that referenced this pull request Jul 4, 2024
This feature gate allows end users to re-enable the opencensus bridge if there's a need for it. This preceeds open-telemetry#10406 and will be taken out of draft once open-telemetry/opentelemetry-collector-contrib#29867 is completed.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten
Copy link
Contributor Author

This will stay in draft until #10542 has been merged and released.

codeboten added a commit to codeboten/opentelemetry-collector that referenced this pull request Jul 8, 2024
This feature gate allows end users to re-enable the opencensus bridge if there's a need for it. This preceeds open-telemetry#10406 and will be taken out of draft once open-telemetry/opentelemetry-collector-contrib#29867 is completed.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
codeboten added a commit that referenced this pull request Jul 9, 2024
This feature gate allows end users to re-enable the opencensus bridge if
there's a need for it. This preceeds #10406 and will be taken out of
draft once
open-telemetry/opentelemetry-collector-contrib#29867
is completed.

Related to
#10414

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
This removes the configuration of the OpenCensus bridge from the Collector. This
means that any metric still relying on it will no longer be emitting metrics.

This is blocked until open-telemetry/opentelemetry-collector-contrib#29867 is completed.

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten marked this pull request as ready for review July 31, 2024 17:46
@codeboten codeboten requested review from a team and TylerHelmuth July 31, 2024 17:46
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

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

🎉

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten merged commit eebb96b into open-telemetry:main Jul 31, 2024
50 checks passed
@codeboten codeboten deleted the codeboten/rm-opencensus branch July 31, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Remove opencensus bridge Collector shutdown leaks a goroutine
4 participants