# Tracing
Tracing offers field-level performance monitoring for your GraphQL server.
# Setup
Add the service provider to your config/app.php
'providers' => [
\Nuwave\Lighthouse\Tracing\TracingServiceProvider::class,
],
# 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.