Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AspNetInstrumentation"/> class.
 /// </summary>
 /// <param name="options">Configuration options for ASP.NET instrumentation.</param>
 public AspNetInstrumentation(AspNetInstrumentationOptions options)
 {
     this.httpInListener = new HttpInListener(options);
 }
 public AspNetCoreInstrumentation(HttpInListener httpInListener)
 {
     this.diagnosticSourceSubscriber = new DiagnosticSourceSubscriber(httpInListener, null);
     this.diagnosticSourceSubscriber.Subscribe();
 }