GraphQL

Helios' instrumentation of GraphQL enables developers to visualize, troubleshoot and test their applicative flows that include GraphQL operations.

GraphQL APIs are supported out of the box, as the underlying queries are simple HTTP requests.

Tracing & visualization

A GraphQL endpoint will show as a list of all the observed GraphQL queries and mutations. For example, the following operations represent a single GraphQL HTTP route:

HTTP attributes and data are available for GraphQL, just like other HTTP based operations:

12861286

Operation details for GraphQL

Notice that the request will be either a query or a mutation, depending on whether you're getting or changing data. The response will include the retrieved data, structured according to the corresponding query.

Flow replay

It's easy to replay flows triggered by GraphQL requests directly from the traces in Helios.

13471347

1-click to generate flow replay code

Test generation

GraphQL operations can be included in end-to-end tests generated in Helios. GraphQL spans in any trace can be configured and set as validation checkpoints when generating test code.

16521652

E2E tests including GraphQL operations configured as validation checkpoints


Did this page help you?