Dynamically Defined Events in EventSource V4.6

In a previous blog I talked about the second of three interesting features of the new Version of V4.6 .NET EventSource, namely Rich Data Payloads. In this blog I would like to talk about the last one:  Dynamically Defined Events. Note that .like the Rich Data Payloads, this feature is fully available in the EventSource…

9

Rich Payload Data in EventSource V4.6.

In a previous blog I talked about the first of three interesting features of the new Version of V4.6 .NET EventSource, naming Activity tracking. In this blog I would like to talk about one of the other two: EventSoruce Rich Data Payloads. Note that .unlike the Activity support, this feature is fully available in the EventSource…

19

EventSource Activity Support Demo Code

In yesterday’s blog post, wrote a summary of the new support in .NET V4.6 for Activities.   In particular it points you EventSource Activity Specification, which describes the feature in detail. I explained why you should care (if you are instrumenting server applications, you care), and outlined the basics of using the feature. In short, in a world…

26

Exploring EventSource Activity (correlation and causation) Features

In this post we will be going over the New EventSource Activity support introduced in .NET version 4.6.   If you use EventSource in a server (concurrent) environment, you will want to read this post. What are Activities? If you have been using EventSource in sever scenarios you probably have wanted what I am calling ‘Activity’ support.   …

15

Version 1.1.24 of the EventSource NuGet Package marked as STABLE

As some of you may know, since last August, there has been a Prelease version of EventSource 1.1 available on Nuget.   It has been stable for the last 5 months or so, so we have gone ahead and marked the 1.1.24 version as stable. For those of you unfamiliar with EventSource, it is a logging system…

40

More on using EventSources with XPERF or WPR

In my introduction to EventSource blog, I showed a simple example of using EventSource to log ETW information. In that example I used the PerfView tool to collect and display the information.   It is also possible to do the same using the XPERF or WPR tools (part of the WIndows Performance Toolkit) and in this…

15

TraceEvent Nuget package has moved from Prelease to Stable

Back in August in this blog enty, I announced that the TraceEvent Library Nuget Package and the TraceEvent Library Samples Nuget Package have been published at www.nuget.org as Prerelease software.  Well I just updated this to be a stable version (version 1.0.5).   For those who don’t already know, TraceEvent is a library for parsing data that comes from Event…

6

TraceEvent ETW Library published as a NuGet Package

I am happy to report that the TraceEvent Library Nuget Package and the TraceEvent Library Samples Nuget Package have been published at www.nuget.org.   If you look for them be sure to set the filtering to include ‘prerelease’ or you will not see them.    You can see this blog entry for the formal announcement of the…

19

WPR/WPA Support for Viewing System.Diagnostics.Tracing.EventSource

Up until now, when I have demonstrated how to use the System.Diagnostics.Tracing.EventSource to generate events, I have been using the PerfView tool to turn on the EventSources as well as view the resulting events.   This is because PerfView was on the ‘cutting edge’ of what I will call ‘registration free’ ETW that EventSources use.    Well…

1

The EventSource NuGet package and support for the Windows Event Log (Channel Support)

One of the more common questions we get about the System.Diagnostics.Tracing.EventSource class is whether it can be used to log message to the Windows Event Log (that is can be viewed with eventvwr.exe).   This EventLog support is also called ‘Channel support’ because that is the official name for a ‘stream of events’ in the Windows…

40