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

Configure gorouter keep alive probe interval #159

Conversation

tlwr
Copy link
Contributor

@tlwr tlwr commented Oct 28, 2019

A short explanation of the proposed change:

In cloudfoundry/gorouter#258 we customised and made configurable the endpoint_keep_alive_probe_interval property in gorouter.

This commit allows the user to configure the endpoint_keep_alive_probe_interval using the router.keep_alive_probe_interval property, and adds a default so documentation is clear.

In order to confirm that my template logic was correct I added some tests.

I am on my work Macbook Air, so I have not run all the tests, I have only run bundle exec rspec as my changes is limited to the gorouter job spec.

Mentions

@KauzClay @angelachin are the two people mentioned in cloudfoundry/gorouter#258

Links to any other associated PRs

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the develop branch

  • I have run all the unit tests using scripts/run-unit-tests

  • I have run Routing Acceptance Tests and Routing Smoke Tests on bosh lite

  • I have run CF Acceptance Tests on bosh lite

In cloudfoundry/gorouter#258 we customised and
made configurable the endpoint_keep_alive_probe_interval property in
gorouter.

This commit allows the user to configure the
endpoint_keep_alive_probe_interval using the
router.keep_alive_probe_interval property, and adds a default so
documentation is clear.

In order to confirm that my logic was correct I added some tests

Signed-off-by: Toby Lorne <toby.lornewelch-richards@digital.cabinet-office.gov.uk>
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/169406312

The labels on this github issue will be updated when the story is started.

@KauzClay KauzClay merged commit c38e805 into cloudfoundry:develop Oct 28, 2019
@KauzClay
Copy link
Contributor

@tlwr Thanks for contributing!!

stefanlay added a commit to stefanlay/routing-release that referenced this pull request Mar 3, 2021
This change addresses issue cloudfoundry#159.

It exposes the new gorouter config properties per_request_metrics_reporting,
send_http_start_stop_server_event and send_http_start_stop_client_event
in the gorouter job spec. This properties can be used to reduce the number
of metric events the gorouter sends per request.
ameowlia pushed a commit that referenced this pull request Mar 4, 2021
This change addresses issue #159.

It exposes the new gorouter config properties per_request_metrics_reporting,
send_http_start_stop_server_event and send_http_start_stop_client_event
in the gorouter job spec. This properties can be used to reduce the number
of metric events the gorouter sends per request.
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.

3 participants