Skip to content

Sample config from sumologic extension doesn't work #32375

Closed
@dmolenda-sumo

Description

@dmolenda-sumo

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions