lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Sending tracing to Apollo Studio

Open benkingcode opened this issue 5 years ago • 2 comments

I can see that Lighthouse has runtime support for tracing. Is there any way to push this data to Apollo Studio?

benkingcode avatar Nov 30 '20 11:11 benkingcode

Any movement on this, there is a settled standard now from Apollo: FTV1. I would be happy to pick this up.

andrewmclagan avatar Feb 20 '22 22:02 andrewmclagan

@andrewmclagan feel free to create a pull request.

This can probably be integrated in the tracing module, see https://github.com/nuwave/lighthouse/tree/master/src/Tracing. It should be an optional feature that is activated through a configuration option in lighthouse.php. We have to be careful to report in a way that does not negatively impact reliability (what if Apollo Studio goes down?) or response time (push data after sending the response).

spawnia avatar Feb 21 '22 08:02 spawnia