Skip to content

Conversation

@cratelyn
Copy link
Member

see #4180.

to make way for the use of request body metrics middleware, we use
further qualified paths to body_data::response::NewRecordBodyData. to
be consistent across the board, we apply this change to the request
counting middleware as well.

NB: this is based upon #4186.

Signed-off-by: katelyn martin kate@buoyant.io

@cratelyn cratelyn self-assigned this Sep 24, 2025
cratelyn added a commit that referenced this pull request Sep 24, 2025
our metrics layer is generic across an `N`-typed service factory.

this commit introduces types aliases that apply `X`-typed extractor
parameters to the `linkerd-http-prom` middleware, which are unaware of
a concrete metrics extractor.

we use this to reduce the complexity of the `layer()` function's
type signature.

see #4180.

NB: based upon #4188, and
#4186.

Signed-off-by: katelyn martin <kate@buoyant.io>
cratelyn added a commit that referenced this pull request Sep 24, 2025
our metrics layer is generic across an `N`-typed service factory.

this commit introduces types aliases that apply `X`-typed extractor
parameters to the `linkerd-http-prom` middleware, which are unaware of
a concrete metrics extractor.

we use this to reduce the complexity of the `layer()` function's
type signature.

see #4180.

NB: based upon #4188, and
#4186.

Signed-off-by: katelyn martin <kate@buoyant.io>
cratelyn added a commit that referenced this pull request Sep 24, 2025
this commit introduces an additional layer of telemetry to the inbound
proxy's http router.

either http and grpc metrics are used, depending upon the policy that
authorized a given request.

this is based upon #4174, which refactored the
request body telemetry middleware to be metrics agnostic.

see:
* #4188
* #4187
* #4186
* #4174
* #4165
* #4166
* #4127

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn marked this pull request as ready for review September 24, 2025 04:56
@cratelyn cratelyn requested a review from a team as a code owner September 24, 2025 04:56
cratelyn added a commit that referenced this pull request Sep 24, 2025
this commit introduces an additional layer of telemetry to the inbound
proxy's http router.

either http and grpc metrics are used, depending upon the policy that
authorized a given request.

this is based upon #4174, which refactored the
request body telemetry middleware to be metrics agnostic.

see:
* #4188
* #4187
* #4186
* #4174
* #4165
* #4166
* #4127

Signed-off-by: katelyn martin <kate@buoyant.io>
Base automatically changed from kate/http-prom.add-body-data-metrics-reexport to main September 24, 2025 18:04
@cratelyn cratelyn force-pushed the kate/app-inbound.prepare-metric-imports branch from 9ae9f11 to f5f14f1 Compare September 24, 2025 19:59
@cratelyn cratelyn enabled auto-merge (squash) September 24, 2025 20:01
@cratelyn cratelyn disabled auto-merge September 24, 2025 20:03
see #4180.

to make way for the use of request body metrics middleware, we use
further qualified paths to `body_data::response::NewRecordBodyData`. to
be consistent across the board, we apply this change to the request
counting middleware as well.

NB: this is based upon #4186.

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn force-pushed the kate/app-inbound.prepare-metric-imports branch from f5f14f1 to 0444b1d Compare September 24, 2025 20:04
cratelyn added a commit that referenced this pull request Sep 24, 2025
our metrics layer is generic across an `N`-typed service factory.

this commit introduces types aliases that apply `X`-typed extractor
parameters to the `linkerd-http-prom` middleware, which are unaware of
a concrete metrics extractor.

we use this to reduce the complexity of the `layer()` function's
type signature.

see #4180.

NB: based upon #4188, and
#4186.

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn cratelyn merged commit 4b8bbbe into main Sep 24, 2025
15 checks passed
@cratelyn cratelyn deleted the kate/app-inbound.prepare-metric-imports branch September 24, 2025 20:14
cratelyn added a commit that referenced this pull request Sep 24, 2025
our metrics layer is generic across an `N`-typed service factory.

this commit introduces types aliases that apply `X`-typed extractor
parameters to the `linkerd-http-prom` middleware, which are unaware of
a concrete metrics extractor.

we use this to reduce the complexity of the `layer()` function's
type signature.

see #4180.

NB: based upon #4188, and
#4186.

Signed-off-by: katelyn martin <kate@buoyant.io>
cratelyn added a commit that referenced this pull request Sep 24, 2025
this commit introduces an additional layer of telemetry to the inbound
proxy's http router.

either http and grpc metrics are used, depending upon the policy that
authorized a given request.

this is based upon #4174, which refactored the
request body telemetry middleware to be metrics agnostic.

see:
* #4188
* #4187
* #4186
* #4174
* #4165
* #4166
* #4127

Signed-off-by: katelyn martin <kate@buoyant.io>
cratelyn added a commit that referenced this pull request Sep 24, 2025
our metrics layer is generic across an `N`-typed service factory.

this commit introduces types aliases that apply `X`-typed extractor
parameters to the `linkerd-http-prom` middleware, which are unaware of
a concrete metrics extractor.

we use this to reduce the complexity of the `layer()` function's
type signature.

see #4180.

NB: based upon #4188, and
#4186.

Signed-off-by: katelyn martin <kate@buoyant.io>
cratelyn added a commit that referenced this pull request Sep 24, 2025
this commit introduces an additional layer of telemetry to the inbound
proxy's http router.

either http and grpc metrics are used, depending upon the policy that
authorized a given request.

this is based upon #4174, which refactored the
request body telemetry middleware to be metrics agnostic.

see:
* #4188
* #4187
* #4186
* #4174
* #4165
* #4166
* #4127

Signed-off-by: katelyn martin <kate@buoyant.io>
cratelyn added a commit that referenced this pull request Sep 26, 2025
this commit introduces an additional layer of telemetry to the inbound
proxy's http router.

either http and grpc metrics are used, depending upon the policy that
authorized a given request.

this is based upon #4174, which refactored the
request body telemetry middleware to be metrics agnostic.

see:
* #4189
* #4188
* #4187
* #4186
* #4174
* #4165
* #4166
* #4127

Signed-off-by: katelyn martin <kate@buoyant.io>
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