GraphQL Business Transactions

GraphQL is a query and schema definition language that allows servers to expose an API over a HTTP endpoint. You specify the required data in the request payload and send all the requests from the client to a server endpoint.

Warning: Splunk AppDynamics supports GraphQL when used with the graphql-http or the @apollo/server module, view GraphQL HTTP Server Middleware.
  1. On the server side, you define a schema that describes the data and available operations on said data.
  2. Then, you invoke operations defined by the schema to retrieve data (through URL requests that receive GraphQL queries) and mutate it.
In the current model, the Node.js Agent identifies an individual Business Transaction from the various requests coming to the server, but the agent does not capture the request payload.

GraphQL Business Transactions determines the business transaction through the incoming endpoint and incoming GraphQL payload, allowing further visibility into the GraphQL Node.js applications. Every GraphQL query that matches this URL is aggregated into one Business Transaction. With GraphQL Business Transactions, the Node.js Agent can be configured in the Controller to identify if an incoming business transaction matches a specific URI (for example, starting with /QL and split that transaction with an operation into multiple transactions.