You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resource and scope schema URLs are no longer included in metric documents when using otel mapping mode.
This appears to be a regression introduced in #37509
Steps to Reproduce
Configure the Elasticsearch exporter with mapping::mode: otel
Send some metrics that have a resource and scope schema URL
Expected Result
The resultant Elasticsearch metric documents should have fields resource.schema_url and scope.schema_url.
Actual Result
There are no *.schema_url fields in the metric documents.
Collector version
v0.120.0
Environment information
Environment
OS: Ubuntu 24.04
Compiler: go 1.24.0
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered:
#### Description
Fix grouping of metrics so schema URL is included in documents.
#### Link to tracking issue
Fixes#38045
#### Testing
Added a unit test covering schema URL in otel-mode metric grouping.
#### Documentation
N/A
Component(s)
exporter/elasticsearch
What happened?
Description
Resource and scope schema URLs are no longer included in metric documents when using
otel
mapping mode.This appears to be a regression introduced in #37509
Steps to Reproduce
mapping::mode: otel
Expected Result
The resultant Elasticsearch metric documents should have fields
resource.schema_url
andscope.schema_url
.Actual Result
There are no
*.schema_url
fields in the metric documents.Collector version
v0.120.0
Environment information
Environment
OS: Ubuntu 24.04
Compiler: go 1.24.0
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: