Configure the Service Pipeline
The service pipeline is what enables the configurations set in the
          receivers:, processors:, and
          exporters: sections.
You must verify that all previously noted exporters, receivers, and processors are
          included in the service:pipelines: sections.
service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [resource, batch]
      exporters: [otlphttp]