Skip to content

Allow metric_type without type for external fields#637

Merged
jsoriano merged 3 commits intoelastic:mainfrom
jsoriano:allow-empty-type-with-external
Oct 5, 2023
Merged

Allow metric_type without type for external fields#637
jsoriano merged 3 commits intoelastic:mainfrom
jsoriano:allow-empty-type-with-external

Conversation

@jsoriano
Copy link
Copy Markdown
Member

@jsoriano jsoriano commented Oct 5, 2023

What does this PR do?

Allow the use of metric_type without defining a type.

Why is it important?

To be able to define TSDB related settings for external fields.

Checklist

Related issues

@jsoriano jsoriano requested a review from a team as a code owner October 5, 2023 12:18
@jsoriano jsoriano self-assigned this Oct 5, 2023
mrodm
mrodm previously approved these changes Oct 5, 2023
Copy link
Copy Markdown
Contributor

@mrodm mrodm left a comment

Choose a reason for hiding this comment

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

👍

Not related to this PR , but probably these comments about the patches are interchanged ?

https://github.com/elastic/package-spec/pull/637/files#diff-597fca231266301a0cab81c834b4b5550312d08821397b66ca01963a42295261R560-R562

Should this comment

removing requirement of object_type and minimum fields when type is object

be related to this item /items/allOf/7

@jsoriano
Copy link
Copy Markdown
Member Author

jsoriano commented Oct 5, 2023

👍

Not related to this PR , but probably these comments about the patches are interchanged ?

https://github.com/elastic/package-spec/pull/637/files#diff-597fca231266301a0cab81c834b4b5550312d08821397b66ca01963a42295261R560-R562

Should this comment

removing requirement of object_type and minimum fields when type is object

be related to this item /items/allOf/7

Right, I probably messed this up when adding this change. Thanks!

@jsoriano jsoriano requested a review from mrodm October 5, 2023 14:16
@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

cc @jsoriano

@jsoriano jsoriano merged commit d0c66e8 into elastic:main Oct 5, 2023
@jsoriano jsoriano deleted the allow-empty-type-with-external branch October 5, 2023 15:02
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.

Mixing 'external: ecs' with metric_type

3 participants