Skip to content

Dinner sample fails to export data to the collector #142

@NicFontana

Description

@NicFontana

Hi,

I am trying out the Dinner sample following this guide in the documentation, but when I run the executable I got this failure logged in the terminal:

2024-03-14T14:00:13+0100 trace OTel : process.command_line=.build/arm64-apple-macosx/release/onboarding process.executable.name=onboarding process.executable.path=.build/arm64-apple-macosx/release/onboarding process.owner=niccolo.fontana process.pid=33126 service.name=DinnerService telemetry.sdk.language=swift telemetry.sdk.name=opentelemetry telemetry.sdk.version=0.7.0 [OpenTelemetry] Detected resource
2024-03-14T14:00:13+0100 trace OTel : process.command_line=.build/arm64-apple-macosx/release/onboarding process.executable.name=onboarding process.executable.path=.build/arm64-apple-macosx/release/onboarding process.owner=niccolo.fontana process.pid=33126 service.name=ChoppingService-1 telemetry.sdk.language=swift telemetry.sdk.name=opentelemetry telemetry.sdk.version=0.7.0 [OpenTelemetry] Detected resource
2024-03-14T14:00:13+0100 trace OTel : process.command_line=.build/arm64-apple-macosx/release/onboarding process.executable.name=onboarding process.executable.path=.build/arm64-apple-macosx/release/onboarding process.owner=niccolo.fontana process.pid=33126 service.name=ChoppingService-2 telemetry.sdk.language=swift telemetry.sdk.name=opentelemetry telemetry.sdk.version=0.7.0 [OpenTelemetry] Detected resource
2024-03-14T14:00:17+0100 trace OtlpGRPCSpanExporter : batch-size=1 [OtlpGRPCSpanExporting] Exporting batch of spans
2024-03-14T14:00:18+0100 trace OtlpGRPCSpanExporter : batch-size=1 [OtlpGRPCSpanExporting] Exporting batch of spans
2024-03-14T14:00:18+0100 trace OtlpGRPCSpanExporter : batch-size=1 [OtlpGRPCSpanExporting] Exporting batch of spans
2024-03-14T14:00:18+0100 trace OtlpGRPCSpanExporter : batch-size=1 [OtlpGRPCSpanExporting] Exporting batch of spans
2024-03-14T14:00:19+0100 trace OtlpGRPCSpanExporter : batch-size=1 [OtlpGRPCSpanExporting] Exporting batch of spans
2024-03-14T14:00:24+0100 trace OtlpGRPCSpanExporter : batch-size=1 [OtlpGRPCSpanExporting] Exporting batch of spans
2024-03-14T14:00:24+0100 trace OtlpGRPCSpanExporter : batch-size=1 [OtlpGRPCSpanExporting] Exporting batch of spans
2024-03-14T14:00:26+0100 debug OtlpGRPCSpanExporter : error=unavailable (14): Connection was shutdown by the user [OtlpGRPCSpanExporting] Failed to export batch
2024-03-14T14:00:26+0100 debug OtlpGRPCSpanExporter : error=unavailable (14): Connection was shutdown by the user [OtlpGRPCSpanExporting] Failed to export batch
2024-03-14T14:00:26+0100 debug OtlpGRPCSpanExporter : error=unavailable (14): Connection was shutdown by the user [OtlpGRPCSpanExporting] Failed to export batch
2024-03-14T14:00:26+0100 debug OtlpGRPCSpanExporter : error=unavailable (14): Connection was shutdown by the user [OtlpGRPCSpanExporting] Failed to export batch
2024-03-14T14:00:26+0100 debug OtlpGRPCSpanExporter : error=unavailable (14): Connection was shutdown by the user [OtlpGRPCSpanExporting] Failed to export batch
2024-03-14T14:00:26+0100 debug OtlpGRPCSpanExporter : error=unavailable (14): Connection was shutdown by the user [OtlpGRPCSpanExporting] Failed to export batch
2024-03-14T14:00:26+0100 debug OtlpGRPCSpanExporter : error=unavailable (14): Connection was shutdown by the user [OtlpGRPCSpanExporting] Failed to export batch

Is there anything I should check out to confirm everything is properly set up?

I am running it on

  • macOS Sonoma 14.3.1
  • Swift 5.9
  • Xcode 15.2

Thank you.

Metadata

Metadata

Assignees

Labels

area/documentationImprovements or additions to documentation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions