Effect CommunityEC
Effect Community5mo ago
1 reply
znkode

Custom Span Naming for AtomHttpApi Queries and Mutations

Is it possible to wrap queries and mutations created with AtomHttpApi with a custom span. The root span is currently http.client METHOD which is created by the internal HttpApiClient I assume. It would be nice to create a root span with a custom name or maybe create a span from the group name and endpoint name. Something like this:

AtomApiClient.query("users", "me", { spanName: "CurrentUser" })
Was this page helpful?