# Tracing
Tracing offers field-level performance monitoring for your GraphQL server.
# Setup
Register the service provider Nuwave\Lighthouse\Tracing\TracingServiceProvider
,
see registering providers in Laravel (opens new window).
# Drivers
Lighthouse tracing is implemented though drivers, this allows supporting different tracing formats.
Lighthouse includes the following drivers:
Nuwave\Lighthouse\Tracing\ApolloTracing\ApolloTracing::class
(default) which implements Apollo Tracing response format (opens new window)Nuwave\Lighthouse\Tracing\FederatedTracing\FederatedTracing::class
which implements Apollo Federated tracing (opens new window)
# Federated tracing
Federated tracing driver requires google/protobuf
to be installed.
For better performance you can also install the protobuf
php extension.