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

[receiver/opencensus] Do not report error message on clean shutdown #36622

Merged
merged 4 commits into from
Dec 3, 2024

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Dec 2, 2024

Description

The receiver is reporting error on a clean shutdown because it is not looking for the correct error. Besides logging a false-positive error message this can end up in a deadlock during shutdown due to open-telemetry/opentelemetry-collector#9824

Testing

Added a test specific for that. In principle, this should be part of the generated tests, but, to do that it will be necessary to add support to the Reporter interface.

Documentation

Changelog.

@pjanotti pjanotti changed the title Do not report error message on clean shutdown [receiver/opencensus] Do not report error message on clean shutdown Dec 2, 2024
@dmitryax dmitryax merged commit ac03e9f into open-telemetry:main Dec 3, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 3, 2024
shivanthzen pushed a commit to shivanthzen/opentelemetry-collector-contrib that referenced this pull request Dec 5, 2024
…pen-telemetry#36622)

#### Description
The receiver is reporting error on a clean shutdown because it is not
looking for the correct error. Besides logging a false-positive error
message this can end up in a deadlock during shutdown due to
open-telemetry/opentelemetry-collector#9824

#### Testing

Added a test specific for that. In principle, this should be part of the
generated tests, but, to do that it will be necessary to add support to
the `Reporter` interface.

#### Documentation

Changelog.
ZenoCC-Peng pushed a commit to ZenoCC-Peng/opentelemetry-collector-contrib that referenced this pull request Dec 6, 2024
…pen-telemetry#36622)

#### Description
The receiver is reporting error on a clean shutdown because it is not
looking for the correct error. Besides logging a false-positive error
message this can end up in a deadlock during shutdown due to
open-telemetry/opentelemetry-collector#9824

#### Testing

Added a test specific for that. In principle, this should be part of the
generated tests, but, to do that it will be necessary to add support to
the `Reporter` interface.

#### Documentation

Changelog.
@pjanotti pjanotti deleted the fix-opencensus-error-msg branch December 9, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants