Skip to content

Conversation

@felixbarny
Copy link
Contributor

This improves the ingestion performance in Elasticsearch as it can leverage an optimized code path for date parsing.

See elastic/elasticsearch#132462

This is not a breaking change because we are using the date field type for metrics. Supporting a more granular date format, such as date_nanos doesn't seem sensible for metrics as it would cause a big storage overhead. Most other metrics data stores also don't support more granularity than milliseconds.

… as a number

This improves the ingestion performance in Elasticsearch as it can leverage an optimized code path for date parsing.

See elastic/elasticsearch#132462

This is not a breaking change because we are using the `date` field type for metrics. Supporting a more granular date format, such as `date_nanos` doesn't seem sensible for metrics as it would cause a big storage overhead. Most other metrics data stores also don't support more granularity than milliseconds.
Copy link
Contributor

@carsonip carsonip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks. code change lgtm. Just an issue with changelog

Co-authored-by: Carson Ip <[email protected]>
@atoulme atoulme merged commit 6aee7fa into open-telemetry:main Aug 6, 2025
185 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants