-
Notifications
You must be signed in to change notification settings - Fork 129
Support system tests otel input #2885
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b161cb5
Update index template name
mrodm 6469ae4
Remove outdated log message
mrodm fdb23e9
Extract function to create kibana policies
mrodm 2147b14
Revert "Extract function to create kibana policies"
mrodm 8ae0043
Update package datastream - integration policy
mrodm eb1450b
Add otel as suffic for dataset
mrodm 6fe40eb
Keep package datastream / integration policy with the previous values
mrodm 2bfebb8
Enable system test for httpcheck package
mrodm 82f082f
httpcheck - Added field definitions
mrodm 0a5db1b
httpcheck - replace string by keyword type
mrodm 81df3a5
Merge upstream/main into support-system-tests-otel-input
mrodm 68d15da
Update comments
mrodm fcc9f71
Skip some OTEL fields - to be validated
mrodm c70169d
Update index template and data stream names for system tests
mrodm 947cb6a
Skip validation per fields in OTEL collector input
mrodm cc93829
Remove skip fields for OTEL
mrodm e9b5e34
Merge upstream/main into support-system-tests-otel-input
mrodm ff0213c
Skip dynamic templates without match condition
mrodm 928852e
Replace stringInArray
mrodm d812670
Validate dataset fields also in OTEL
mrodm d0664a8
Remove duplicated assignment
mrodm 4d347ff
Remove unnecessary else block
mrodm 93e382b
Merge upstream/main into support-system-tests-otel-input
mrodm 40fb639
Add warning message
mrodm 93bd856
Update test package
mrodm 5bd82b4
Add OTEL option when validating fields in transform
mrodm 9d8778d
Remove all field definitions
mrodm dbc6b32
Restore base-fields field definitions
mrodm 4d9935a
Remove skip test
mrodm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
test/packages/parallel/httpcheck/_dev/test/system/test-local-config.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,7 @@ | ||
| skip: | ||
| reason: Not supported system tests with input type otelcol. | ||
| link: https://github.com/elastic/elastic-package/issues/2835 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
| service: web | ||
| vars: | ||
| period: 1s | ||
| endpoints: | ||
| - http://{{Hostname}}:{{Port}} | ||
| assert: | ||
| min_count: 150 | ||
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.
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.
Could input packages contain transforms ?
I think they cannot, so probably this validation based on fields for transforms could be kept as it is without disabling anything. WDYT ?
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.
They cannot contain transforms. So yeah, I guess that transform tests will be a noop even if not explicitly disabled.
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.
Ok, for input package there would not be any issue.
I was thinking if it should be kept that
fields.WithOTELValidationoption, if at some point integrations packages start using OTEL collector inputs.WDYT ? Would it be better to keep it or remove it ? @jsoriano
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.
Yes, please, keep it. When we support integrations with OTel inputs there is no reason to think that they won't support transforms.