Skip to content

HTTP client observations miss uri keyvalue for "/" requests #29879

Closed
@angelasindic

Description

@angelasindic

Affects: Spring Framework 6.0.4

Problem

After upgrading including webflux version 6.0.4, the URI tag from the http.client.requests metrics are always none when making web client calls.

After the web client is called several times, the output from the metrics/http.client.request endpoint looks like this

Screenshot 2023-01-24 at 11 42 00

Steps to reproduce

  1. Create a Srping Boot 3.0.2 application with reactive web.
  2. Add org.springframework.boot:spring-boot-starter-actuator and io.micrometer:micrometer-registry-prometheus dependencies.
  3. Create a simple get endpoint that calls a webclient and perform several get requests.
  4. Check the metrics/http.client.request endpoint, look at the uri tag that has value "none"

I created a simple demo project to reproduce the issue here.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingtype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions