Пример #1
0
        public void ExportDifferentSampledSpans()
        {
            var span1    = CreateSampledEndedSpan(SpanName1);
            var span2    = CreateSampledEndedSpan(SpanName2);
            var exported = spanExporter.WaitForExport(2);

            Assert.Equal(2, exported.Count());
            Assert.Contains(span1, exported);
            Assert.Contains(span2, exported);
        }