Skip to content

Conversation

@phananh1010
Copy link
Owner

Disables the index.dimensions tsid creation optimization If dynamic templates are used to define dimensions.
There are edge cases that would lead us to include more fields into the tsid than we should (see code comments and tests).

While there may be ways we could try to only fall back in these problematic cases, it seems better to just always fall back in dynamic templates that define dimensions are involved. Otherwise, it'll be very hard to explain and debug this. For OTel metrics, we're not using dynamic templates to define dimensions, only passthrough fields.

Addresses elastic#132566 (comment)

BASE=e89c613dc36998037d5915f79c1cc92e9c249e76
HEAD=d2b174cfb1581cc6bf445eee1962a2a8a9918cb4
Branch=main
@phananh1010
Copy link
Owner Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. What shall we delve into next?

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant