示例#1
0
        public void ConfigurePipelineExample3()
        {
            IActivityPipeline pipeline = ActivityPipelineDefaults.CreateForMaturePhase();

            pipeline
            .Processors
            .FindByName <FilterToExcludeAllSelectedActivityProcessor>(ActivityPipelineDefaults.ProcessorNames.FilterToExcludeDevelopmentLogs)
            .ExceptActivitySelector = ActivityProcessor.UseSelectors.ByName.StartsWith("ComputePi");

            ActivityInsights.SetPipeline(pipeline);
        }
示例#2
0
        public void ConfigurePipelineExample2()
        {
            IActivityPipeline pipeline = ActivityPipelineDefaults.CreateForDevelopmentPhase();

            ActivityInsights.SetPipeline(pipeline);
        }