Hi there,
we did this for one of our projects and it is indeed a bit complicated. What you need to do (sorry in advance for being a bit short on time right now):
- Retrieve the "GlimpseRuntime" object from the HttpContext (-> e.g. HttpContext.Current.Application.Get("__GlimpseRuntime"))
- Then publish an ITimelineMessage to the MessageBroker: GlimpseRuntime.Configuration.MessageBroker.Publish(timelineMessage)
- To populate the properties of your ITimelineMessage implementation you might also need Glimpse's ExecutionTimer (-> HttpContext.Current.Application.Get("__GlimpseTimer"))
Hope this helps a bit at least :)