You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently experiencing a strange issue which I've not been able to figure out: some of our spans are wrongly attributed the "parent service" tag instead of the defined "ecto service tag". On datadog, this is causing issues because we end up with spans of the wrong type (db in this case) being attributed to a service which is supposed to only deal with traces of type web. Here is an example trace showing the query span being attributed to the identity-api service instead of identity-ecto:
I noticed that this only seems to happen for "error spans" with a Postgrex.Error; all other spans are correctly attributed to identity-ecto already.
We're using the telemetry integration, i.e. our tracer is configured this way:
My best guess is that it's using default options from your MyTracer when it shouldn't be. Let me see if I can figure out if that's the case and whether we can do something about it. 😅
Hello,
We're currently experiencing a strange issue which I've not been able to figure out: some of our spans are wrongly attributed the "parent service" tag instead of the defined "ecto service tag". On datadog, this is causing issues because we end up with spans of the wrong type (
db
in this case) being attributed to a service which is supposed to only deal with traces of typeweb
. Here is an example trace showing thequery
span being attributed to theidentity-api
service instead ofidentity-ecto
:I noticed that this only seems to happen for "error spans" with a
Postgrex.Error
; all other spans are correctly attributed toidentity-ecto
already.We're using the telemetry integration, i.e. our tracer is configured this way:
Any ideas, what might be causing this?
We're currently using these library versions:
The text was updated successfully, but these errors were encountered: