Skip to content

Revert "Add /liveness endpoint to elastic-agent (#4499)"#4583

Merged
cmacknz merged 1 commit intoelastic:mainfrom
cmacknz:revert-liveness-probe-to-fix-ess
Apr 16, 2024
Merged

Revert "Add /liveness endpoint to elastic-agent (#4499)"#4583
cmacknz merged 1 commit intoelastic:mainfrom
cmacknz:revert-liveness-probe-to-fix-ess

Conversation

@cmacknz
Copy link
Copy Markdown
Member

@cmacknz cmacknz commented Apr 16, 2024

This reverts commit 29ce53e.

We need this to fix 8.14.0-SNAPSHOT ESS deployments.

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 16, 2024

This pull request does not have a backport label. Could you fix it @cmacknz? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@cmacknz
Copy link
Copy Markdown
Member Author

cmacknz commented Apr 16, 2024

This is going to need to be force merged.

@cmacknz
Copy link
Copy Markdown
Member Author

cmacknz commented Apr 16, 2024

I am going to force merge this once the unit tests pass to ensure this compiles. I am not waiting for the integration tests since I know they won't pass.

@cmacknz
Copy link
Copy Markdown
Member Author

cmacknz commented Apr 16, 2024

Unit tests passed now, force merging.

@cmacknz cmacknz merged commit eca5bc7 into elastic:main Apr 16, 2024
@cmacknz cmacknz deleted the revert-liveness-probe-to-fix-ess branch April 16, 2024 14:54
@elastic-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

The SonarQube Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
42.9% 42.9% Coverage on New Code
0.0% 0.0% Duplication on New Code

See analysis details on SonarQube

fearful-symmetry added a commit to fearful-symmetry/elastic-agent that referenced this pull request Apr 16, 2024
fearful-symmetry added a commit that referenced this pull request Apr 24, 2024
* Reapply "Add `/liveness` endpoint to elastic-agent (#4499)" (#4583)

This reverts commit eca5bc7.

* add behavior to not disable http monitor on reload with nil config, add tests

* improve comments

* linter

* more linter...

* fix spelling

* check original config state when reloading config

* change behavior of config set from overrides

* fix tests

* add second test to make sure old behavior with hard-coded monitoring config still works

* rename method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants