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

[elastic-agent] respect host configuration for http endpoint #25114

Merged
merged 2 commits into from
Apr 16, 2021

Conversation

simitt
Copy link
Contributor

@simitt simitt commented Apr 15, 2021

What does this PR do?

When http processes endpoint is enabled, do not hardcode http endpoint
to localhost, but respect configuration.

Why is it important?

Current implementation does not work for docker environments.

When http processes endpoint is enabled, do not hardcode http endpoint
to localhost. This would not work for docker environments.
@simitt simitt added bug v7.13.0 Team:Elastic-Agent Label for the Agent team labels Apr 15, 2021
@simitt simitt requested a review from michalpristas April 15, 2021 15:15
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Apr 15, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Apr 15, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #25114 updated

  • Start Time: 2021-04-15T18:51:05.253+0000

  • Duration: 60 min 4 sec

  • Commit: 2acfc6f

Test stats 🧪

Test Results
Failed 0
Passed 6740
Skipped 16
Total 6756

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 6740
Skipped 16
Total 6756

Copy link
Contributor

@ph ph left a comment

Choose a reason for hiding this comment

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

LGTM

@ph
Copy link
Contributor

ph commented Apr 15, 2021

@simitt Can you add an entry in x-pack/elastic-agent/changelog.next.asciidoc/

@ruflin
Copy link
Contributor

ruflin commented Apr 15, 2021

Lets do a follow up with the changelog entry to not have to run full CI again ...

@simitt
Copy link
Contributor Author

simitt commented Apr 15, 2021

@ruflin are you an reviewer with write access? Merging is blocked.
Screenshot 2021-04-15 at 20 51 27

@ruflin
Copy link
Contributor

ruflin commented Apr 15, 2021

@simitt Hope my 👍 worked so it can be merged.

@ph ph added the backport-v7.13.0 Automated backport with mergify label Apr 15, 2021
@ph
Copy link
Contributor

ph commented Apr 15, 2021

@simitt I just added the correct mergify tags so you don't have to backport manually.

@simitt simitt merged commit ff97e0e into elastic:master Apr 16, 2021
mergify bot pushed a commit that referenced this pull request Apr 16, 2021
When http processes endpoint is enabled, do not hardcode http endpoint
to localhost. This would not work for docker environments.

(cherry picked from commit ff97e0e)
simitt added a commit that referenced this pull request Apr 16, 2021
…#25121)

When http processes endpoint is enabled, do not hardcode http endpoint
to localhost. This would not work for docker environments.

(cherry picked from commit ff97e0e)

Co-authored-by: Silvia Mitter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v7.13.0 Automated backport with mergify bug Team:Elastic-Agent Label for the Agent team v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants