Exemplo n.º 1
0
        async Task RunForWebRtcNativeLogMessages(
            IEnumerableAsync <CDL.Message[]> input,
            string outputFileName,
            CancellationToken cancellation,
            ICodepathTracker templatesTracker,
            XAttribute contentsEtagAttr
            )
        {
            timeSeriesTypesAccess.CheckForCustomConfigUpdate();

            ICombinedParser parser = new TimeSeriesCombinedParser(timeSeriesTypesAccess.GetMetadataTypes());

            await parser.FeedLogMessages(input);

            foreach (var ts in parser.GetParsedTimeSeries())
            {
                ts.DataPoints = Analytics.TimeSeries.Filters.RemoveRepeatedValues.Filter(ts.DataPoints).ToList();
            }

            TimeSeriesPostprocessorOutput.SerializePostprocessorOutput(
                parser.GetParsedTimeSeries(),
                parser.GetParsedEvents(),
                outputFileName,
                timeSeriesTypesAccess);
        }
Exemplo n.º 2
0
        async Task RunForWebRtcNativeLogMessages(
            IEnumerableAsync <CDL.Message[]> input,
            string outputFileName,
            CancellationToken cancellation,
            ICodepathTracker templatesTracker,
            XAttribute contentsEtagAttr
            )
        {
            timeSeriesTypesAccess.CheckForCustomConfigUpdate();

            ICombinedParser parser = new TimeSeriesCombinedParser(timeSeriesTypesAccess.GetMetadataTypes());

            await parser.FeedLogMessages(input);

            TimeSeriesPostprocessorOutput.SerializePostprocessorOutput(
                parser.GetParsedTimeSeries(),
                parser.GetParsedEvents(),
                outputFileName,
                timeSeriesTypesAccess);
        }
Exemplo n.º 3
0
 ICombinedParser IModel.CreateParser()
 {
     timeSeriesTypesAccess.CheckForCustomConfigUpdate();
     return(new TimeSeriesCombinedParser(timeSeriesTypesAccess.GetMetadataTypes()));
 }