Skip to content

Commit

Permalink
Update missed markdown file that referenced old method of using
Browse files Browse the repository at this point in the history
dynamic-delay filter

Signed-off-by: Nathan Perry <[email protected]>
  • Loading branch information
Nathan Perry committed May 17, 2022
1 parent 2716668 commit 372e889
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/root/examples/HEADER_BASED_LATENCY.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ Another use-case is tracking request-arrival time deltas using a feature of the
http_filters:
- name: time-tracking
typed_config:
"@type": type.googleapis.com/nighthawk.server.ResponseOptions
emit_previous_request_delta_in_response_header: x-origin-request-receipt-delta
"@type": type.googleapis.com/nighthawk.server.TimeTrackingConfiguration
experimental_response_options:
emit_previous_request_delta_in_response_header: x-origin-request-receipt-delta
- name: test-server
typed_config:
"@type": type.googleapis.com/nighthawk.server.ResponseOptions
Expand Down
5 changes: 3 additions & 2 deletions source/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ static_resources:
http_filters:
- name: dynamic-delay
typed_config:
"@type": type.googleapis.com/nighthawk.server.ResponseOptions
static_delay: 0.5s
"@type": type.googleapis.com/nighthawk.server.DynamicDelayConfiguration
experimental_response_options:
static_delay: 0.5s
- name: test-server # before envoy.router because order matters!
typed_config:
"@type": type.googleapis.com/nighthawk.server.ResponseOptions
Expand Down

0 comments on commit 372e889

Please sign in to comment.