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

[extension/healthcheck] remove broken code #33470

Merged

Conversation

codeboten
Copy link
Contributor

This PR removes the dependency on opencensus by removing the code that sets up a view to trigger healthcheck status changes. This functionality does not work as documented in the README: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/healthcheckextension#health-check

I'm proposing to remove the code that brings an unnecessary dependency for functionality that isn't working.

Fixes #33469

As discussed previously #29782, an improved functionality will be implemented in the v2 healthcheck extension

This PR removes the dependency on opencensus by removing the code that sets up a
view to trigger healthcheck status changes. This functionality does not work as
documented in the README: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/healthcheckextension#health-check

I'm proposing to remove the code that brings an unnecessary dependency for
functionality that isn't working.

Fixes open-telemetry#33469

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten requested a review from jpkrohling as a code owner June 10, 2024 22:31
@codeboten codeboten requested a review from a team June 10, 2024 22:31
@github-actions github-actions bot added the extension/healthcheck Health Check Extension label Jun 10, 2024
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.

Can you also remove traces of check_collector_pipeline from the README, but leave the warning?

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

Can you also remove traces of check_collector_pipeline from the README, but leave the warning?

Done

@codeboten codeboten merged commit ce6f8a3 into open-telemetry:main Jun 11, 2024
162 checks passed
@codeboten codeboten deleted the codeboten/rm-view-healthcheck branch June 11, 2024 17:06
@github-actions github-actions bot added this to the next release milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension/healthcheck Health Check Extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate from opencensus library: extension/healthcheck
4 participants