I use @jmandzik/apollo-server-plugin-server-timing
on my Apollo 2 server to add Server Timing headers to the GraphQL responses, but trying to upgrade to the latest Apollo version I noticed the plugin is not compatible, is there any alternative available?
You can try out GraphOS with a free cloud router which will report operation metrics for you.
You should take a look at the usage reporting plugin if you want to build something yourself similar to the legacy plugin you mentioned - ApolloServerPluginUsageReporting
; this would show you how you could get the timing information you need. That plugin was originally built to report metrics to GraphOS.
Thanks, it looks like a lot of work. Being Server Timing headers a standard browser feature I would love to see this supported directly by Apollo to be fair.