public override void ConsumeBuffered(WorkloadEvent evt)
        {
            if (analyzer == null)
            {
                analyzer = new WorkloadAnalyzer()
                {
                    Interval       = UploadIntervalSeconds / 60,
                    ConnectionInfo = this.ConnectionInfo
                };
            }

            analyzer.Add(evt);
        }
Exemple #2
0
        public override void ConsumeBuffered(WorkloadEvent evt)
        {
            if (analyzer == null)
            {
                analyzer = new WorkloadAnalyzer()
                {
                    Interval            = UploadIntervalSeconds / 60,
                    ConnectionInfo      = this.ConnectionInfo,
                    MaximumWriteRetries = this.MaximumWriteRetries,
                    TruncateTo1024      = this.SqlNormalizerTruncateTo1024,
                    TruncateTo4000      = this.SqlNormalizerTruncateTo4000
                };
            }

            analyzer.Add(evt);
        }