Closed ylazebnyk closed 3 years ago
When filter is null or returns true activity is created, when filter returns false activity is not created. Resolves #8
builder.Subscribe(new DiagnosticsActivityEventSubscriber(new InstrumentationOptions { Filter = e => new[] { "getLastError", "isMaster", "buildinfo" }.All(x => !x.Equals(e.CommandName)) }));
Thanks! I'm going to make a slight name change after merge, to match the Activity API.
Activity
When filter is null or returns true activity is created, when filter returns false activity is not created. Resolves #8