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

Possible Unhandled 'error' event #5101

Closed
dermasmid opened this issue Oct 31, 2024 · 0 comments · Fixed by #5163
Closed

Possible Unhandled 'error' event #5101

dermasmid opened this issue Oct 31, 2024 · 0 comments · Fixed by #5163
Assignees
Labels
bug Something isn't working pkg:otlp-exporter-base priority:p1 Bugs which cause problems in end-user applications such as crashes, data inconsistencies, etc

Comments

@dermasmid
Copy link

What happened?

We are seeing Unhandled 'error' event which causes node to exit, its very hard to track where its coming from, but i think its coming from this SDK.

OpenTelemetry Setup Code

const traceExporter = new OTLPTraceExporter({ url: OTEL_URL + ':4317/v1/traces' });

package.json

"peerDependencies": {
    "@opentelemetry/api": ">=1.9.0",
    "@opentelemetry/exporter-metrics-otlp-grpc": ">=0.52.1",
    "@opentelemetry/exporter-trace-otlp-grpc": ">=0.52.1",
    "@opentelemetry/sdk-metrics": ">=1.25.1",
    "@opentelemetry/sdk-node": ">=0.52.1",
    "@opentelemetry/sdk-trace-node": ">=1.25.1"
}

Relevant log output

Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
    at WriteWrap.callbackTrampoline (node:internal/async_hooks:130:17)
@dermasmid dermasmid added bug Something isn't working triage labels Oct 31, 2024
dermasmid added a commit to Triple-Whale/opentelemetry-js that referenced this issue Oct 31, 2024
dermasmid added a commit to Triple-Whale/opentelemetry-js that referenced this issue Oct 31, 2024
dermasmid added a commit to Triple-Whale/opentelemetry-js that referenced this issue Oct 31, 2024
@pichlermarc pichlermarc self-assigned this Nov 6, 2024
@pichlermarc pichlermarc added priority:p1 Bugs which cause problems in end-user applications such as crashes, data inconsistencies, etc and removed triage labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pkg:otlp-exporter-base priority:p1 Bugs which cause problems in end-user applications such as crashes, data inconsistencies, etc
Projects
None yet
2 participants