BeelineInstrumentation
, org.springframework.http.client.ClientHttpRequestInterceptor
public class BeelineRestTemplateInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor, BeelineInstrumentation
Constructor | Description |
---|---|
BeelineRestTemplateInterceptor(Tracer tracer) |
Modifier and Type | Method | Description |
---|---|---|
org.springframework.boot.web.client.RestTemplateCustomizer |
customizer() |
|
String |
getName() |
A simple human-readable name to identify a particular instrumentation.
|
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution) |
public BeelineRestTemplateInterceptor(Tracer tracer)
public String getName()
BeelineInstrumentation
getName
in interface BeelineInstrumentation
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException
intercept
in interface org.springframework.http.client.ClientHttpRequestInterceptor
IOException
public org.springframework.boot.web.client.RestTemplateCustomizer customizer()
Copyright © 2019–2020 Honeycomb. All rights reserved.