Sending metrics data to trace log

Component: Metrics | Nuget: NServiceBus.Metrics (Version: 1.x)
Target NServiceBus Version: 6.x
  1. Run the solution in the Visual Studio debugger. A console application will start
  2. Press the 'enter' key to send a message
  3. Check the debug output window for metric information being written to the trace log

Send metric data to Trace Log

Edit
var metricsOptions = endpointConfiguration.EnableMetrics();
metricsOptions.EnableMetricTracing(TimeSpan.FromSeconds(5));

Last modified