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

Merge CW2023 changes #2751

Closed
wants to merge 13 commits into from
Closed

Merge CW2023 changes #2751

wants to merge 13 commits into from

Conversation

AlexanderYastrebov
Copy link
Member

Do not squash.

This branch is created by re-basing cw2023freeze over master and dropping 37a76cd in favor of zalando-incubator/kubernetes-on-aws#6579

AlexanderYastrebov and others added 13 commits November 27, 2023 12:13
Make lifo, lifoGroup and fifo filters backed error aware and remove
cleanup from the proxy.

Follow up on #1054, #1086 and #2239
Updates #1238

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
* separate argument tests from behaviour test
* use eskip to define filter configuration
* use TestFifo prefix for all test names

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
* feature: filter fifoWithBody that works similar to fifo(), but release deferred until body streaming to client was finished
* fix: fifo() and fifoWithBody() with canceled requests

Both filters did not check for canceled context from request before semaphore.Acquire, see golang/go#63615

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
* Don't allow more than one filter/predicate per yaml/json item

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
see also #2684

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
feature: routesrv enable profiling
feature: routesrv split supportListener for metrics and profiling from the main listener
feature: routesrv shutdown supportServer gracefully
test: routesrv shutdown main listener and supportListener
test: add more routesrv coverage to reach close to 80%
doc: add routesrv metrics and profiling docs

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
* feature: set Tag "skipper.route_id" to `route.Id` in all ingress spans including shunt and loopback routes

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Validate that network backends doesn't have paths

Include query params into validation

Include missing scheme, rename functions for consistant naming and ensure we only validate network backends.

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
Add a filter to set request header value from secret with optional
prefix and suffix.

It is similar to `bearerinjector` which is equivalent to
`setRequestHeaderFromSecret("Authorization", "/tokens/my-token", "Bearer ")`

For #1952

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
Support gzip encoding to reduce response size.

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
…ation header (#2747)

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
# HELP routesrv_backend_combined_duration_seconds Duration in seconds of a proxy backend combined.
# TYPE routesrv_backend_combined_duration_seconds histogram
routesrv_backend_combined_duration_seconds_bucket{version="v0.18.38-8",le="0.005"} 5
routesrv_backend_combined_duration_seconds_bucket{version="v0.18.38",le="0.01"} 5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version label would not be there if you drop the linking change.
We would need to tell how to create the version label @AlexanderYastrebov by prometheus relabel config

Copy link
Member Author

@AlexanderYastrebov AlexanderYastrebov Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to drop version label from the docs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'd need a proper PR that reverts 37a76cd and updates docs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created #2752 to address

@AlexanderYastrebov AlexanderYastrebov deleted the cw2023freeze-merge branch November 27, 2023 12:39
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