-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error while sending traces using OpenSearch exporter #31039
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This is a known issue. OpenSearch ships with an index template that is used for indices with If you point exporter to an index with a different name, it should be able to index traces. |
@MaxKsyunz I've tried using the
|
It also fails for me, even with a different index name:
|
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Same issue |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
same error here |
Same problrm |
Component(s)
exporter/opensearch
Describe the issue you're reporting
Hello,
I am trying to send otel format application traces through an opentelemetry collector to an OpenSearch backend. I observed below errors on the otel collector logs and don't seem to be getting any traces on the opensearch side yet. I did not see any errors on the OpenSearch logs itself. Could anyone please help me with this?
2024-02-05T16:35:41.140Z warn [email protected]/batch_processor.go:258 Sender failed {"kind": "processor", "name": "batch", "pipeline": "traces", "error": "not retryable error: Permanent error: {\"type\":\"mapper_parsing_exception\",\"reason\":\"failed to parse\",\"caused_by\":{\"type\":\"class_cast_exception\",\"reason\":\"class org.opensearch.index.mapper.KeywordFieldMapper cannot be cast to class org.opensearch.index.mapper.ObjectMapper (org.opensearch.index.mapper.KeywordFieldMapper and org.opensearch.index.mapper.ObjectMapper are in unnamed module of loader 'app')\",\"caused_by\":null}}"}
Kindly excuse any incorrect indendation during copy paste of the config.
I'm on otel-contrib version 0.93.0 OpenSearch version 2.11.1
The text was updated successfully, but these errors were encountered: