Tuesday, January 07, 2014

New release – Tx (LINQ to Logs and Traces)

Inline image 1

We are proud to announce the release of Tx (LINQ to Logs and Traces), an open source project to help with the debugging of software from logs/traces, and the building of real-time monitoring and alerting systems.  

This tool is code that has been used within Microsoft, for example, by the Windows Communication Foundation (WCF) and the ServiceBus teams. With this release, the Tx code is now available for use in your own projects.  

Tx allows the use of Language Integrated Query (LINQ) queries on raw event sources. LINQ is a Microsoft .NET Framework component that adds native data querying capabilities using any of the supported .NET languages.  

Tx enables the use of Reactive Extensions (Rx) on real event sources and provides support for multiplexed event sequences (a singletx multiplexed sequence as you might find in a typical logs sequence containing events of different types in order of occurrence). Using Tx, it is possible to hide the heterogeneity of event sources and thus provide a single query across multiple sources. Such queries use the same API for both real-time and past history.  

When working on historical log/trace files. multiple queries can be performed with a single read. For example, a single pass over a file can count all "Warning" events, match "Begin" and "End" events, and calculate the average duration of each activity. This functionality is extremely useful when working with large files as it is possible to perform the same real-time queries efficiently over historical data to gain additional insights. 

Read more: Codeplex