Skip to content

Instrument WebFlux.fn to record the URI pattern tag on http.server.requests metric #12757

@wilkinsona

Description

@wilkinsona

@dharezlak raised this on Gitter. The problem is that, when using WebFlux.fn, the best matching pattern attribute isn't set. This causes MetricsWebFilter to create a unique URI tag for every unique URI rather than creating one tag per pattern.

@bclozel suspects that it won't be possible to set the best matching pattern attribute in the WebFlux.fn case, so we probably need to explore making the tagging smarter somehow.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions