ethanolamine-containing compound metabolic process