propogate name and transport for prometheus receiver and exporter (#2680)
propogate name and transport for prometheus receiver and exporter (#2680)

Signed-off-by: yeya24 <730e4ef81dca03ba0c5a00c612d6b33341278a96@gmail.com>
open-telemetry/opentelemetry-collector-contrib,open-telemetry/opentelemetry-collector-contrib,open-telemetry/opentelemetry-collector,open-telemetry/opentelemetry-collector,open-telemetry/opentelemetry-collector