Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't decode "opensearch" component #26560

Closed
confiq opened this issue Sep 11, 2023 · 3 comments
Closed

can't decode "opensearch" component #26560

confiq opened this issue Sep 11, 2023 · 3 comments
Labels
bug Something isn't working exporter/opensearch

Comments

@confiq
Copy link

confiq commented Sep 11, 2023

Component(s)

exporter/opensearch

Description

Since 0.84.0 we've implemented opensearch component , I'm very excited to use it, so I tried it on my machine ™️.

Steps to Reproduce

run helm:

helm upgrade -i test open-telemetry/opentelemetry-collector --values values-otel.yaml

Collector version

0.84.0

OpenTelemetry Collector configuration

config:
  exporters:
    opensearch/trace:
      traces_index: trace_index  
  service:
    pipelines:
      traces:
        receivers: [ otlp ]
        exporters: [ opensearch/trace ]
        processors: [ batch ]

Log output

Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "opensearch" for id: "opensearch/trace" (valid values: [tencentcloud_logservice awsxray azuredataexplorer clickhouse googlecloudpubsub mezmo prometheus pulsar sentry alibabacloud_logservice awss3 cassandra sapm splunk_hec awskinesis dynatrace logicmonitor loadbalancing logzio opencensus otlphttp awsemf dataset jaeger_thrift kafka parquet sumologic otlp carbon f5cloud googlecloud influxdb jaeger prometheusremotewrite awscloudwatchlogs coralogix file instana signalfx skywalking azuremonitor datadog googlemanagedprometheus tanzuobservability zipkin logging elasticsearch loki])
2023/09/11 09:42:26 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "opensearch" for id: "opensearch/trace" (valid values: [tencentcloud_logservice awsxray azuredataexplorer clickhouse googlecloudpubsub mezmo prometheus pulsar sentry alibabacloud_logservice awss3 cassandra sapm splunk_hec awskinesis dynatrace logicmonitor loadbalancing logzio opencensus otlphttp awsemf dataset jaeger_thrift kafka parquet sumologic otlp carbon f5cloud googlecloud influxdb jaeger prometheusremotewrite awscloudwatchlogs coralogix file instana signalfx skywalking azuremonitor datadog googlemanagedprometheus tanzuobservability zipkin logging elasticsearch loki])

Additional context

I did some research and it seems that excluded it from versions.yaml so in theory this just needs to be excluded from excluded-modules. If this is right direction, I can make the PR for this.

@confiq confiq added bug Something isn't working needs triage New item requiring triage labels Sep 11, 2023
@github-actions
Copy link
Contributor

Pinging code owners:

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

@codeboten
Copy link
Contributor

The opensearch exporter is not shipped with the collector contrib distribution yet. See open-telemetry/opentelemetry-collector-releases#391 for more details.

@confiq
Copy link
Author

confiq commented Sep 12, 2023

ohh, I see it's still WIP.

I think #24668 is very relevant, i'm closing this issue.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/opensearch
Projects
None yet
Development

No branches or pull requests

2 participants