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

feat(remote): Implement lazy distributed feature #307

Merged
merged 2 commits into from
Jul 29, 2022
Merged

feat(remote): Implement lazy distributed feature #307

merged 2 commits into from
Jul 29, 2022

Conversation

TwiN
Copy link
Owner

@TwiN TwiN commented Jul 29, 2022

This is an experimental feature and it may be removed or updated in a breaking manner at any time. Use at your own risk.

Basically, all it does it retrieve the endpoint statuses from another remote host before returning the endpoint statuses. You may specify an endpoint prefix to prefix the name of all endpoints coming from a given remote instance with a string.

remote:
  instances:
    - endpoint-prefix: "myremoteinstance-"
      url: "https://status.example.org/api/v1/endpoints/statuses"

Relevant: #64

TwiN added 2 commits July 28, 2022 19:35
THIS IS AN EXPERIMENTAL FEATURE/IMPLEMENTATION, AND IT MAY BE REMOVED IN THE FUTURE.

Note that for now, it will be an undocumented feature.
@codecov-commenter
Copy link

Codecov Report

Merging #307 (15e6107) into master (7daf2b5) will decrease coverage by 0.74%.
The diff coverage is 44.08%.

@@            Coverage Diff             @@
##           master     #307      +/-   ##
==========================================
- Coverage   84.58%   83.84%   -0.75%     
==========================================
  Files          54       54              
  Lines        3770     3812      +42     
==========================================
+ Hits         3189     3196       +7     
- Misses        449      480      +31     
- Partials      132      136       +4     
Impacted Files Coverage Δ
client/client.go 73.07% <ø> (ø)
config/config.go 76.37% <22.22%> (-2.82%) ⬇️
controller/handler/endpoint_status.go 42.57% <40.84%> (-13.31%) ⬇️
controller/handler/handler.go 82.75% <66.66%> (ø)
controller/controller.go 95.45% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7daf2b5...15e6107. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants