Skip to content

Ignore trailing slash should not apply to single character URIs #20536

@rworsnop

Description

@rworsnop

The fix for #18207 chops off the trailing slash of URIs sent in the "http.server.requests" metric.
It's doing it for root URLs, too - meaning that "/" becomes "".
CloudWatch does not like this. It responds with:

The parameter MetricData.member.19.Dimensions.member.5.Value is required. (Service: AmazonCloudWatch; Status Code: 400; Error Code: MissingParameter; Request ID: 2c440f89-401b-4c8f-bd7c-0b1051ee4a0a)

Would it make sense to leave the root URI alone?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions