public class SpringHttpClientAttributesGetter extends Object implements io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesGetter<org.springframework.cloud.sleuth.http.HttpClientRequest,org.springframework.cloud.sleuth.http.HttpClientResponse>
| Constructor and Description |
|---|
SpringHttpClientAttributesGetter() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getHttpRequestHeader(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest,
String name) |
String |
getHttpRequestMethod(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest) |
List<String> |
getHttpResponseHeader(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest,
org.springframework.cloud.sleuth.http.HttpClientResponse httpClientResponse,
String name) |
Integer |
getHttpResponseStatusCode(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest,
org.springframework.cloud.sleuth.http.HttpClientResponse httpClientResponse,
Throwable error) |
String |
getUrlFull(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest) |
public String getHttpRequestMethod(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest)
getHttpRequestMethod in interface io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesGetter<org.springframework.cloud.sleuth.http.HttpClientRequest,org.springframework.cloud.sleuth.http.HttpClientResponse>public List<String> getHttpRequestHeader(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest, String name)
getHttpRequestHeader in interface io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesGetter<org.springframework.cloud.sleuth.http.HttpClientRequest,org.springframework.cloud.sleuth.http.HttpClientResponse>public Integer getHttpResponseStatusCode(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest, org.springframework.cloud.sleuth.http.HttpClientResponse httpClientResponse, Throwable error)
getHttpResponseStatusCode in interface io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesGetter<org.springframework.cloud.sleuth.http.HttpClientRequest,org.springframework.cloud.sleuth.http.HttpClientResponse>public List<String> getHttpResponseHeader(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest, org.springframework.cloud.sleuth.http.HttpClientResponse httpClientResponse, String name)
getHttpResponseHeader in interface io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesGetter<org.springframework.cloud.sleuth.http.HttpClientRequest,org.springframework.cloud.sleuth.http.HttpClientResponse>public String getUrlFull(org.springframework.cloud.sleuth.http.HttpClientRequest httpClientRequest)
getUrlFull in interface io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesGetter<org.springframework.cloud.sleuth.http.HttpClientRequest,org.springframework.cloud.sleuth.http.HttpClientResponse>Copyright © 2023 Pivotal Software, Inc.. All rights reserved.