-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed as not planned
Closed as not planned
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytheme: observabilityAn issue related to observability and tracingAn issue related to observability and tracing
Description
The DefaultClientRequestObservationConvention class defines a value for client.name label entry that will be the target host the request will be sent to or the literal "none".
I think the label key should be "target.host" because the value it may contain refers to the target host and not to any other feature of the client.
Lines 136 to 141 in 15364cf
| protected KeyValue clientName(ClientRequestObservationContext context) { | |
| if (context.getCarrier() != null && context.getCarrier().getURI().getHost() != null) { | |
| return KeyValue.of(LowCardinalityKeyNames.CLIENT_NAME, context.getCarrier().getURI().getHost()); | |
| } | |
| return CLIENT_NAME_NONE; | |
| } |
Maybe this name could be changed in the future to clarify the semantics of the contents of that pair?
Thanks for the time to read this
JordiMartinezVicent
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytheme: observabilityAn issue related to observability and tracingAn issue related to observability and tracing