public class RestHighLevelClientInstrumentation extends ClassEnhancePluginDefine
RestHighLevelClientInstrumentation enhance the constructor method without argument in
org.elasticsearch.client.RestHighLevelClient by org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.RestHighLevelClientConInterceptor
also enhance the performRequestAndParseEntity method in org.elasticsearch.client.RestHighLevelClient
by org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.IndicesClientCreateMethodsInterceptor,
also enhance the get getAsync search searchAsync index indexAsync update updateAsync method in
org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.RestHighLevelClientGetMethodsInterceptor
org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.RestHighLevelClientSearchMethodsInterceptor
org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.RestHighLevelClientIndexMethodsInterceptor
org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.RestHighLevelClientUpdateMethodsInterceptor,
also enhance the indices method in org.elasticsearch.client.RestHighLevelClient by
org.apache.skywalking.apm.plugin.elasticsearch.v6.interceptor.RestHighLevelClientIndicesMethodsInterceptor| Modifier and Type | Field and Description |
|---|---|
static String |
ENHANCE_CLASS |
CONTEXT_ATTR_NAME| Constructor and Description |
|---|
RestHighLevelClientInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
StaticMethodsInterceptPoint[] |
getStaticMethodsInterceptPoints() |
enhancedefine, isBootstrapInstrumentation, witnessClassespublic static final String ENHANCE_CLASS
protected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefinepublic ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefinepublic StaticMethodsInterceptPoint[] getStaticMethodsInterceptPoints()
getStaticMethodsInterceptPoints in class AbstractClassEnhancePluginDefineCopyright © 2020 The Apache Software Foundation. All rights reserved.