public async Task Capture_Span_When_Delete_File_Share()
        {
            await using var scope = await FileShareScope.CreateShare(_environment.StorageAccountConnectionString);

            await _agent.Tracer.CaptureTransaction("Delete Azure File Share", ApiConstants.TypeStorage, async() =>
            {
                var deleteResponse = await scope.ShareClient.DeleteAsync();
            });

            AssertSpan("Delete", scope.ShareName);
        }
        public async Task Capture_Span_When_Create_File_Share_File()
        {
            await using var scope = await FileShareScope.CreateDirectory(_environment.StorageAccountConnectionString);

            var fileName = Guid.NewGuid().ToString();
            var client   = scope.DirectoryClient.GetFileClient(fileName);

            await _agent.Tracer.CaptureTransaction("Create Azure File Share File", ApiConstants.TypeStorage, async() =>
            {
                await client.CreateAsync(1024);
            });

            AssertSpan("Create", $"{scope.ShareName}/{scope.DirectoryName}/{fileName}");
        }
        public async Task Capture_Span_When_Delete_File_Share_Directory()
        {
            await using var scope = await FileShareScope.CreateShare(_environment.StorageAccountConnectionString);

            var directoryName  = Guid.NewGuid().ToString();
            var client         = scope.ShareClient.GetDirectoryClient(directoryName);
            var createResponse = await client.CreateAsync();

            await _agent.Tracer.CaptureTransaction("Delete Azure File Share Directory", ApiConstants.TypeStorage, async() =>
            {
                var deleteResponse = await client.DeleteAsync();
            });

            AssertSpan("Delete", $"{scope.ShareName}/{directoryName}");
        }
        public async Task Capture_Span_When_UploadRange_File_Share_File()
        {
            await using var scope = await FileShareScope.CreateDirectory(_environment.StorageAccountConnectionString);

            var fileName = Guid.NewGuid().ToString();
            var client   = scope.DirectoryClient.GetFileClient(fileName);

            var bytes          = Encoding.UTF8.GetBytes("temp file");
            var createResponse = await client.CreateAsync(bytes.Length);

            await _agent.Tracer.CaptureTransaction("Delete Azure File Share File", ApiConstants.TypeStorage, async() =>
            {
                await using var stream = new MemoryStream(bytes);
                var response           = await client.UploadRangeAsync(new HttpRange(0, bytes.Length), stream);
            });