Skip to content

Commit b24f147

Browse files
davewaltervitreuz
andauthored
Merge pull request #856 from cloudfoundry/app-log-rate-limiting
Add ops-file to enable app log rate limiting [finishes #170267485](https://www.pivotaltracker.com/story/show/170267485) Co-authored-by: Sebastian Vidrio <[email protected]>
2 parents da48c31 + 1a5d855 commit b24f147

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

operations/experimental/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ This is the README for Experimental Ops-files. To learn more about `cf-deploymen
2626
| [`add-system-metrics-agent-windows2019.yml`](add-system-metrics-agent-windows2019.yml) | Add agent to windows2019 Diego cells for the purpose of egressing system metrics | | **NO** |
2727
| [`disable-interpolate-service-bindings.yml`](disable-interpolate-service-bindings.yml) | Disables the interpolation of CredHub service credentials by Cloud Controller. | | **NO** |
2828
| [`disable-uaa-client-redirect-uri-legacy-matching-mode.yml`](disable-uaa-client-redirect-uri-legacy-matching-mode.yml) | Disables legacy (non-exact) matching of redirect URIs in the UAA. | | **NO** |
29+
| [`enable-app-log-rate-limiting.yml`](enable-app-log-rate-limiting.yml) | Enable rate limiting for number of logs generated by the application. | Introduces variable `app_log_rate_limit`. | **NO** |
2930
| [`enable-bpm-garden.yml`](enable-bpm-garden.yml) | Enables the [BOSH Process Manager](https://github.com/cloudfoundry-incubator/bpm-release) for Garden. | This ops file **cannot** be deployed in conjunction with `enable-oci-phase-1.yml`. | **NO** |
3031
| [`enable-containerd-for-processes.yml`](enable-containerd-for-processes.yml) | Configure Garden to run processes via containerd. | This ops file **cannot** be deployed in conjunction with `rootless-containers.yml`. | **YES** |
3132
| [`enable-iptables-logger.yml`](enable-iptables-logger.yml) | Enables iptables logger. | | **YES** |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- type: replace
3+
path: /instance_groups/name=diego-cell/jobs/name=rep/properties/diego/executor/max_log_lines_per_second?
4+
value: ((app_log_rate_limit))

units/tests/experimental_test/operations.yml

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ add-system-metrics-agent-windows2019.yml:
3131
add-system-metrics-agent.yml: {}
3232
disable-interpolate-service-bindings.yml: {}
3333
disable-uaa-client-redirect-uri-legacy-matching-mode.yml: {}
34+
enable-app-log-rate-limiting.yml:
35+
vars:
36+
- app_log_rate_limit=100
3437
enable-bpm-garden.yml: {}
3538
enable-containerd-for-processes.yml: {}
3639
enable-iptables-logger.yml: {}

0 commit comments

Comments
 (0)