Screw a drain cover over the end of the tubing as it approaches daylight to keep critters out.
Installing underground drainage for gutters.
Buried or underground roof drainage downspout defects clogging overflowing holes corrosion leaks that cause wet basements or crawl areas proper installation of buried downspout extensions proper installation of french drains seepage pits at flat sites gutter downspout defects cause wet basements crawl areas questions answers about installing maintaining repairing buried roof.
Adjust the t connector so that the top side with the drain is flush with the ground.
Something that can be very damaging to the foundation of a home is exterior water.
Rainfall runoff from the downspout will first fill the hole you filled with pea gravel.