look like a check valve. No idea why the cap would have a hole.
Edit I take that back. If it is a check valve, to keep air in the tank then that tiny hole is relieve pressure in the head line.
If it leaks after pump shut down, the check valve is leaking.