Skip to content
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

Logshints #83

Merged
merged 28 commits into from Apr 15, 2024
Merged

Logshints #83

merged 28 commits into from Apr 15, 2024

Conversation

gizas
Copy link
Contributor

@gizas gizas commented Mar 14, 2024

Continuation of #81

We enhance the autodiscovery checks for supported hints to check multiple data_streams (in case of agent) and multiple metrcisets (in case of beats)

@gizas gizas marked this pull request as ready for review March 27, 2024 16:16
@gizas gizas requested a review from a team as a code owner March 27, 2024 16:16
@gizas gizas requested review from belimawr and rdner March 27, 2024 16:16
"co.elastic.hints/package": "apache",
"co.elastic.hints/data_streams": "access,error",
"co.elastic.hints/access.period": "5m",
"co.elastic.hints/access.streams": "stdout", // On purpose this added with typo
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm having a hard time understanding the typo here. As it is a test, it would be easier to understand if the typo is very clear.

My suggestion is that instead of using a common mistake, like instead of using 'stream'/'streams', you can use 'stream'/'streamsssss'. Something that even on a quick glance anyone can notice why it is a typo.

Copy link
Contributor

Choose a reason for hiding this comment

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

The same applies to the other ones on this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you @belimawr , done in aa4dbf3

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@belimawr can you please have another look?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for the delay @gizas for some reason I didn't get the email for this ping :/

utils/hints.go Outdated Show resolved Hide resolved
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

@gizas gizas merged commit da16120 into main Apr 15, 2024
3 checks passed
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.

None yet

5 participants