-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
OTLP Exporter blocking indefinitely #1192
Comments
While this specific instance of the problem might be solved by #1201, the collector needs a way to forcefully shutdown a misbehaving exporter. |
I wonder what we expect to happen when an OTLP request fails. IMO the correct thing to do would be to buffer the data and aggregate it with new data while waiting for a successful export. This would require new processor support, I guess. |
What are the current failure conditions? Is it only about networking? Can a request failed due to bad data? We don't want data to live in the pipeline forever because they can't move forward for some reason :-) |
I believe this has to be fixed for the next beta, or at the latest for GA. |
@bogdandrutu to resolve blocked shutdown (and maybe for startup as well) should we set https://golang.org/pkg/context/#WithTimeout on the context before calling Startup/Shutdown? Should this value be configurable globally or per-component? What should the default be? |
I would say that this issue should be closed and open a separate issue for start/stop which I think was not the main concern in this initial issue. |
New issue opened as a feature request for timeouts. ^ |
* Rename SamplingDecision enum values As prescribed in open-telemetry/opentelemetry-specification#938 and open-telemetry/opentelemetry-specification#956. * Include in Changelog Co-authored-by: Tyler Yahn <[email protected]>
…try#1192) Bumps [kyverno/action-install-chainsaw](https://github.com/kyverno/action-install-chainsaw) from 0.2.0 to 0.2.1. - [Release notes](https://github.com/kyverno/action-install-chainsaw/releases) - [Commits](kyverno/action-install-chainsaw@v0.2.0...v0.2.1) --- updated-dependencies: - dependency-name: kyverno/action-install-chainsaw dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Describe the bug
When using the collector with a OTLP exporter, the exporter seems to be blocked indefinitely:
And it stays like that until I manually force kill the process (
kill -9 PID
).Steps to reproduce
make run
in the OpenTelemetry Collector sideSPAN_STORAGE_TYPE=memory go run ./cmd/collector/main.go --collector.grpc-server.host-port :14251 --log-level=debug
on the Jaeger sideWhat did you expect to see?
The process would finish at most after a couple of seconds.
What did you see instead?
You can check out anytime you like, but you can never leave.
What version did you use?
Version:
master
as of now (4eca960a4eb02104694324cf161ad9ec944c44c9
).What config did you use?
Config:
Environment
OS: Fedora 32 with the latest updates
Compiler(if manually compiled):
go1.14.3
Additional context
n/a
The text was updated successfully, but these errors were encountered: