Damien Mathieu
Damien Mathieu
Also (because I expect `tranOpts` doesn't have Trace and Span set), it seems an inactive tracer, even without apmotel would still be creating those traces/spans with 0 IDs, which would...
> If I understand you right, it's not a behavior of APM Otel bridge but Opentelemetry library inself? No, it's a behavior of the APM agent. The tracing bridge implements...
I don't understand. Since the APM Tracer is invalid, there won't be any data to see in Kibana. Also, the zero-value trace ID is already the behavior of the APM...
OpenTelemetry doesn't generate valid trace IDs if no tracer were configured. You can see its behavior in the specs: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#behavior-of-the-api-in-the-absence-of-an-installed-sdk And in the API. No tracer provider being defined means...
Nobody is working on this yet. We do welcome PRs though.
apmgin calls apmhttp to create the transaction, and then sets it as `c.Request`: https://github.com/elastic/apm-agent-go/blob/538be9b793d63fa0705e6f8a5c6a22a4d2e3dc57/module/apmgin/middleware.go#L74-L76 On its end, apmhttp, when creating the transaction, calls `StartTransaction` and sets the new context onto...
Could you provide a code sample which reproduces this issue?
I'm sorry, but I'm unable to reproduce your issue with the code you provided. ``` package main import ( "fmt" "os" postgres "go.elastic.co/apm/module/apmgormv2/v2/driver/postgres" "gorm.io/gorm" ) func Conn() (*gorm.DB, error) {...
Thank you for this issue. I just renamed it to have a more meaningful (and less clickbait-y) title.
I wouldn't expect the collector to support this before the end of the summer though.