-
Notifications
You must be signed in to change notification settings - Fork 2
feat: improve HTTP health checks #40
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
48d15b1
feat: Detect failing RPC method and use it for health checks
sanbotto af78020
Update gitignore
sanbotto 089d5b2
Update to go 1.26 + use hardened image
sanbotto 811ee01
Include native make commands
sanbotto 5958357
fix(health): persist health status when block or sync probe calls har…
sanbotto f9ce588
fix(store): return a copy from mock GetEndpointStatus to avoid a data…
sanbotto 6238852
fix(store): stop expiring custom probe state after 24h
sanbotto 393924c
fix(health): bind custom probe methods to their chain type
sanbotto 432e96f
fix(health): track prior health checks separately per protocol
sanbotto cc7303f
fix(server): make custom probe capture atomic and context-bounded
sanbotto 8d3c1c2
fix(store): return a copy from mock GetCustomProbeState too
sanbotto ecece26
Set bash as shell
sanbotto a96520a
Configure locales and fix valkey-tools install
sanbotto d7d2f3b
Make sure GOOS and GOARCH aren't set for native builds
sanbotto 1151318
Fix shell name
sanbotto 2e35716
Improve the installation of valkey-tools
sanbotto 24474d1
Update README
sanbotto fa35d38
Install gzip, required by locale-gen
sanbotto 74e3f79
Add docstrings
sanbotto efb8044
Improve how GOOS and GOARCH are unset
sanbotto 06cf6c9
Update Prometheus TSDB path
sanbotto dc4d96b
fix(health): stop using t.Fatalf inside test server goroutines
sanbotto 1d39054
fix(health): serialize per-endpoint status writes to prevent lost upd…
sanbotto 1f291e2
fix(health): only stamp LastXHealthCheck for protocols the endpoint has
sanbotto a6d2700
fix(health): don't fail health on a skipped-slot getBlock response
sanbotto dbb94fc
fix(server): skip custom probe capture when ephemeral checks are disa…
sanbotto 4656916
fix(store): reject sub-second ttl in TryAcquireCustomProbeGate
sanbotto 8aadf65
fix(health): read health-transition inputs inside the status lock
sanbotto 3260460
fix: record the timestamp after the probes complete
sanbotto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,3 +48,6 @@ configs/endpoints.json | |
|
|
||
| # Local benchmarks | ||
| benchmarks/ | ||
|
|
||
| # Misc | ||
| *.bak | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.