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

Extra spans when exporting with gPRC protocol #276

Open
ralf0131 opened this issue Jan 3, 2025 · 0 comments
Open

Extra spans when exporting with gPRC protocol #276

ralf0131 opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ralf0131
Copy link

ralf0131 commented Jan 3, 2025

Describe the bug

When exporting trace data to Jaeger using gRPC protocol, there is an span generated every 5 seconds.

Steps to reproduce

Using the official demo: https://github.com/alibaba/opentelemetry-go-auto-instrumentation/blob/main/example/demo/README.md

Config the go application to export with gprc protocol:

OTEL_EXPORTER_OTLP_PROTOCOL=grpc OTEL_EXPORTER_OTLP_ENDPOINT="http://127.0.0.1:4317" OTEL_EXPORTER_OTLP_INSECURE=true OTEL_SERVICE_NAME=demo REDIS_ADDR=localhost:6379 REDIS_PASSWORD=xxx MYSQL_DSN="xxx@tcp(127.0.0.1:3306)/test" ./demo

Expected behavior

Traces are exported to Jeager.

Actual behavior

Traces are exported to Jaeger, but with additional spans

image

opentelemetry-go-auto-instrumentation version

lastest

Environment

Go:
go version go1.22.9 (Red Hat 1.22.9-1.0.1.al8) linux/amd64
OS:
Alibaba Cloud Linux release 3 (OpenAnolis Edition)

Additional context

No response

@ralf0131 ralf0131 added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant