Collect Minifprofiler results when available

Hi, I’m the author of the Glimpse Miniprofiler plugin but latest changes in how things work, I’m no longer able to log Miniprofiler data properly because Glimpse collects it before the request is finished.
The idea I have in mind is to collect Miniprofiler data when it’s ready and then publish a message to Glimpse broker. Once in the broker it’s easy to get those messages and show the information on Glimpse.
The problem is that I don’t find a proper way to intercept the Miniprofiler data when it’s ready. One option is to have a global filter that handles request end but that would add a dependency on MVC and I’d prefer it to be agnostic and only depend on Miniprofiler.dll.
Any clues?