open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
2.95k stars 2.29k forks source link

Sample config from sumologic extension doesn't work #32375

Closed dmolenda-sumo closed 5 months ago

dmolenda-sumo commented 5 months ago

Component(s)

extension/sumologic

What happened?

Description

I try tu run collector with this config: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/sumologicextension#example-config. It didn't start correctly.

Steps to Reproduce

Try tu run collector with this config: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/sumologicextension#example-config

extensions:
  sumologic:
    installation_token: <token>
    collector_name: my_collector
    time_zone: Europe/Warsaw

receivers:
  hostmetrics:
    collection_interval: 30s
    scrapers:
      load:

processors:

exporters:
  sumologic:
    auth:
      authenticator: sumologic # Specify the name of the authenticator extension

service:
  extensions: [sumologic]
  pipelines:
    metrics:
      receivers: [hostmetrics]
      processors: []
      exporters: [sumologic]

Expected Result

Collector should start

Actual Result

Error:

Error: invalid configuration: exporters::sumologic: endpoint is not set
2024/04/15 11:27:02 collector server run finished with error: invalid configuration: exporters::sumologic: endpoint is not set

Collector version

latest

Environment information

Environment

OS: darwin/amd64 Compiler(if manually compiled): go version go1.21.7

OpenTelemetry Collector configuration

extensions:
  sumologic:
    installation_token: <token>
    collector_name: my_collector
    time_zone: Europe/Warsaw

receivers:
  hostmetrics:
    collection_interval: 30s
    scrapers:
      load:

processors:

exporters:
  sumologic:
    auth:
      authenticator: sumologic # Specify the name of the authenticator extension

service:
  extensions: [sumologic]
  pipelines:
    metrics:
      receivers: [hostmetrics]
      processors: []
      exporters: [sumologic]

Log output

Error: invalid configuration: exporters::sumologic: endpoint is not set
2024/04/15 11:27:02 collector server run finished with error: invalid configuration: exporters::sumologic: endpoint is not set

Additional context

No response

github-actions[bot] commented 5 months ago

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

sumo-drosiek commented 5 months ago

Exporter has not been fully moved yet, therefore it's not supported on it's end yet

crobert-1 commented 5 months ago

Removing needs triage based on code owner's response and opened PR.