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

No error when http fails #841

Merged
merged 4 commits into from
May 14, 2024
Merged

No error when http fails #841

merged 4 commits into from
May 14, 2024

Conversation

mattdurham
Copy link
Collaborator

PR Description

Fail early if the port is not available for any reason. Originally I was going to try and handle the error through the scheduler but that was going to touch a lot of code and introduce a larger change for something that does not allow recovery.

Additional credit to @mrashad10 for initially working on this issue.

Which issue(s) this PR fixes

Fixes #694

PR Checklist

  • CHANGELOG.md updated

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com>
@mattdurham mattdurham marked this pull request as ready for review May 14, 2024 14:52
@mattdurham mattdurham enabled auto-merge (squash) May 14, 2024 14:52
@mattdurham mattdurham merged commit 4ca3f84 into main May 14, 2024
18 checks passed
@mattdurham mattdurham deleted the no_error_when_http_fails branch May 14, 2024 14:57
@rfratto rfratto added the backport-to-agent PR should be backported to the agent repo. label May 14, 2024
erikbaranowski pushed a commit that referenced this pull request May 21, 2024
* Fail if we see the port is not available

* Update changelog

* cleanup message

* Update CHANGELOG.md

Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com>

---------

Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com>
(cherry picked from commit 4ca3f84)
rfratto pushed a commit to rfratto/alloy that referenced this pull request May 30, 2024
* Fail if we see the port is not available

* Update changelog

* cleanup message

* Update CHANGELOG.md

Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com>

---------

Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com>
(cherry picked from commit 4ca3f84)
rfratto added a commit that referenced this pull request May 30, 2024
* Fix panic when component ID contains `/` in `otelcomponent.MustNewType(ID)` (#858)

Signed-off-by: Weifeng Wang <qclaogui@gmail.com>
(cherry picked from commit 7bae89c)

* No error when http fails (#841)

* Fail if we see the port is not available

* Update changelog

* cleanup message

* Update CHANGELOG.md

Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com>

---------

Co-authored-by: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com>
(cherry picked from commit 4ca3f84)

* fix panic loki source docker (#875)

(cherry picked from commit 4fb1df9)

* clustering: fix ipv6 advertise addresses (#869)

Signed-off-by: Matthew Penner <me@matthewp.io>
(cherry picked from commit 3df2cd0)

* otelcol: decouple otel/alloy component IDs (#882)

Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com>
(cherry picked from commit d018e6e)

* updates with latest snowflake prometheus exporter (fixes null issues) (#939)

* updates with latest snowflake prometheus exporter (fixes null issues)

* Update CHANGELOG.md

Co-authored-by: William Dumont <william.dumont@grafana.com>

---------

Co-authored-by: William Dumont <william.dumont@grafana.com>
(cherry picked from commit 551d407)

* feat(vcs): bubble up SSH key conversion error for better debugging experience (#943)

* feat(vcs): bubble up SSH key conversion error for better debugging experience

Signed-off-by: hainenber <dotronghai96@gmail.com>

* chore: refactor code to be more succinct

Signed-off-by: hainenber <dotronghai96@gmail.com>

---------

Signed-off-by: hainenber <dotronghai96@gmail.com>
(cherry picked from commit 037893f)

* prepare changelog for 1.1.1 (#958)

This includes all bugfixes found in main to date except for #703, which
is a more involved change that should probably wait for a minor release.

(cherry picked from commit 3bceb1a)

---------

Co-authored-by: Weifeng Wang <qclaogui@gmail.com>
Co-authored-by: mattdurham <mattdurham@ppog.org>
Co-authored-by: William Dumont <william.dumont@grafana.com>
Co-authored-by: Matthew Penner <me@matthewp.io>
Co-authored-by: Paschalis Tsilias <tpaschalis@users.noreply.github.com>
Co-authored-by: Stefan Kurek <stefan.kurek@observiq.com>
Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to-agent PR should be backported to the agent repo. frozen-due-to-age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No error logs when the HTTP server cannot start
4 participants