apm-agent-java icon indicating copy to clipboard operation
apm-agent-java copied to clipboard

More native support for calling and implementing the GraphQL APIs

Open michaelhyatt opened this issue 4 years ago • 1 comments

When implementing a GraphQL API, there should be a way to create separate transactions dynamically for each Resolver method. At the moment, the agent creates one transaction for all the calls to GraphQL API. I understand it is possible to use @CaptureTransaction annotations, but it requires not having an active transaction in flight, which needs the autodiscovery to be switched off, and that is not ideal.

When invoking a GraphQL API from Java, the Spans should contain the GraphQL expression similar to how JDBC calls are being represented in the UI with their respective SQL statement visible. GraphQL expression is visible in the request but requires capturing request bodies, which has performance impact.

michaelhyatt avatar Jul 20 '20 23:07 michaelhyatt

we need GrqphQL framework support ex) dgs

Choi-JinHwan avatar Mar 10 '22 08:03 Choi-JinHwan