-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix incorrect usage of hints builder when exposed port is a substring of the hint #19052
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
1 similar comment
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
6dd7beb
to
05187fe
Compare
jenkins run the tests please |
Pinging @elastic/siem (Team:SIEM) |
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.
Thanks for this fix! I have added an small suggestion for a test case, let me know what you think.
@ChrsMark could you also take a look to this change? Thanks! |
Pinging @elastic/integrations-platforms (Team:Platforms) |
603aeeb
to
de74e23
Compare
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.
Looks good.
ok to test |
jenkins run the tests please |
21efb1f
to
9070b0e
Compare
jenkins run the tests please |
9070b0e
to
6c07c5f
Compare
… of the hint (elastic#19052) This PR makes sure that if a user exposes port 80 and has 8080 on the metric hint, then we don't use that port to do the autodiscover as the port could be exposed on another container. (cherry picked from commit 138a23a)
…ngs-archive * upstream/master: Fix minor spelling error in Jenkinsfile (elastic#19153) [CI] fail if not possible to install python3 (elastic#19164) [Elastic Agent] Improved mage demo experience (elastic#18445) [yum] Clear cached data and add retry loop (elastic#19182) fix lint job by updating NOTICE (elastic#19161) Fix tags for coredns/envoyproxy (elastic#19134) Disable host.* fields by default for CrowdStrike module (elastic#19132) Allow host.* fields to be disabled in Zeek module (elastic#19113) Rename to management.Manager, add UpdateStatus to Manager interface. (elastic#19114) Edit Elastic Agent docs (elastic#19146) [JJBB] create job definition for the golang-crossbuild project (elastic#19162) Fix incorrect usage of hints builder when exposed port is a substring of the hint (elastic#19052) Add basic cloudfoundry integration tests (elastic#19018)
… of the hint (#19052) (#19163) This PR makes sure that if a user exposes port 80 and has 8080 on the metric hint, then we don't use that port to do the autodiscover as the port could be exposed on another container. (cherry picked from commit 138a23a) Co-authored-by: Vijay Samuel <vjsamuel@ebay.com>
… of the hint (elastic#19052) This PR makes sure that if a user exposes port 80 and has 8080 on the metric hint, then we don't use that port to do the autodiscover as the port could be exposed on another container.
Type of change - Bug
What does this PR do?
This PR makes sure that if a user exposes port
80
and has8080
on the metric hint, then we dont use that port to do the autodiscover as the port could be exposed on another containerWhy is it important?
This is important as this impacts what container metadata gets appended to the metric.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases