Summary: This diff fetches the additional data by calling the hook added in each plugins when the headless tries to export metrics directly out of the store rather than from the trace. I added `fetchMetadata` function which will be called while exporting the state as well as exporting the metrics. We do not need to fetch metadata in the case when the metrics are exported from the given trace. Reviewed By: passy Differential Revision: D15560129 fbshipit-source-id: 9b14340e565ce17d1825bc2d32520d7b0c2b2219
7.5 KiB
7.5 KiB