Exemple #1
0
 public SpanPipelineTarget(IPipelineSource <IEnumerable <Span> > streamingSource, IServiceProvider serviceProvider, IOptions <LitePipelineOptions> options, ILogger <SpanPipelineTarget> logger)
 {
     _streamingSource = streamingSource;
     _options         = options.Value;
     _serviceProvider = serviceProvider;
     _logger          = logger;
 }
Exemple #2
0
 public LitePipelineService(IPipelineSource <IEnumerable <Span> > streamingSource, IEnumerable <IPipelineTarget> streamingTargets)
 {
     _streamingSource  = streamingSource;
     _streamingTargets = streamingTargets;
 }
 public ServicePipelineTarget(IPipelineSource <IEnumerable <Span> > streamingSource, IServiceStorage serviceStorage, ILogger <SpanPipelineTarget> logger)
 {
     _logger          = logger;
     _streamingSource = streamingSource;
     _serviceStorage  = serviceStorage;
 }
 public InMemorySpanProducer(IPipelineSource <IEnumerable <Span> > streamingSource)
 {
     _streamingSource = streamingSource ?? throw new ArgumentNullException(nameof(streamingSource));
 }
 public ILinearPipeline Build(IPipelineSource soruceUnit, IList<IPipelineIntermediate> intermediatesUnit, IPipelineSink sinkUnit)
 {
     var unitsList = GetNewLinearPipeline(soruceUnit, intermediatesUnit, sinkUnit);
     linker.Link(unitsList);
     return new LinearPipeline(unitsList);
 }