-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[exporter/elasticsearch] OTel mode @timestamp
precision causes TSDB version conflict
#35546
Labels
Comments
carsonip
added
bug
Something isn't working
needs triage
New item requiring triage
labels
Oct 2, 2024
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
/label -needs-triage |
andrzej-stencel
pushed a commit
that referenced
this issue
Oct 7, 2024
…lict_engine_exception error (#35548) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Add hint in error logs for TSDB version_conflict_engine_exception error **Link to tracking Issue:** <Issue number if applicable> Fixes #35546 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
ghost
pushed a commit
to sematext/opentelemetry-collector-contrib
that referenced
this issue
Oct 9, 2024
…lict_engine_exception error (open-telemetry#35548) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> Add hint in error logs for TSDB version_conflict_engine_exception error **Link to tracking Issue:** <Issue number if applicable> Fixes open-telemetry#35546 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component(s)
exporter/elasticsearch
What happened?
Description
When sending high traffic of metrics to Elasticsearch 8.16 using OTel mapping mode, it is possible to get error logs.
It affects OTel mapping mode because the built-in otel-data plugin in ES will use TSDB and
date
@timestamp
. In general, it affects cases where metrics is sent to TSDB where mapping@timestamp
not of typedate_nanos
.This is due to ES 8.16 grouping metrics in milliseconds as opposed to nanoseconds in elasticsearchexporter. This is a misalignment between ES and elasticsearchexporter, but the fix should go into ES.
Steps to Reproduce
In ES dev tools,
Expected Result
No error
Actual Result
2nd metric not indexed
Collector version
v0.109.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: