zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.
https://go-zero.dev
MIT License
29.34k stars 3.96k forks source link

otlphttp batcher bug #4455

Open MYHZ79 opened 1 week ago

MYHZ79 commented 1 week ago

hi there

with this config:

Telemetry:
  Name: gateway-api
  Endpoint: http://localhost:8080/v1/traces
  Sampler: 1.0
  Batcher: otlphttp

i get this error: {"@timestamp":"2024-11-09T17:35:00.118+03:30","caller":"trace/agent.go:148","content":"[otel] error: traces export: parse \"http://http:%2F%2Flocalhost:8080%2Fv1%2Ftraces/v1/traces\": invalid port \":8080%2Fv1%2Ftraces\" after host","level":"error"} go-zero v1.7.3 i am using coroot as my APM