Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add index_types for OTEL logs and metrics #3148 #3929
Add index_types for OTEL logs and metrics #3148 #3929
Changes from all commits
99fdc87
77c4f7b
8c40a75
a40a374
50c8278
72e37d8
533e718
089f4d2
7fb2d71
0501260
cccaef8
a9d3718
a1ae0d1
f1f15c8
3fd61af
cc72c27
bebe21a
ddc2d65
61904af
70da8d0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are actually hex encoded 16 bytes values, hence 32 characters. You can shorten the length to this value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied from https://github.com/opensearch-project/opensearch-catalog/blame/8c8bf73a5239fb80792174eba4861b61076147cf/schema/observability/logs/logs-1.0.0.mapping#L93
FYI @YANG-DB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are actually hex encoded 8 bytes values, hence 16 characters. You can shorten the length to this value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copied from
https://github.com/opensearch-project/opensearch-catalog/blob/8c8bf73a5239fb80792174eba4861b61076147cf/schema/observability/logs/logs-1.0.0.mapping#L97
FYI @YANG-DB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we follow the pattern that from Simple Schema and add
"ignore_above": 256,
to these?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/opensearch-project/data-prepper/pull/3929/files#r1524383547