superfly / fly_postgres_elixir

Library for working with local read-replica postgres databases and performing writes through RPC calls to other nodes in the primary Fly.io region.
https://hex.pm/packages/fly_postgres
Apache License 2.0
104 stars 10 forks source link

opentelemetry_ecto does not write traces when using fly_postgres #28

Open smashedtoatoms opened 2 years ago

smashedtoatoms commented 2 years ago

I attempted to add opentelemetry_ecto to a project using fly_postgres and am getting no errors, but also no traces. When I am not using fly_postgres, I get the traces I expect. My hope is that this is easy to get working; however, if that is not the case, if you could give me an idea of how to approach adding the functionality I would appreciate it immensely. Thanks so much.

brainlid commented 2 years ago

There is additional discussion here: community.fly.io

v0.3.0 was released today. There is nothing in it to specifically deal with traces, but now I have a better base to experiment from.

I don't yet know what's required to support this.