Add discoveryWriter to http ingestion processor chain

This adds the discoveryWriter to the http ingestion processor chain.

This is the first step to being able to search for metric names.