Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
山不在高_有仙则灵
SkyWalking
提交
079f53e2
S
SkyWalking
项目概览
山不在高_有仙则灵
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
12
Star
0
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
079f53e2
编写于
10月 20, 2017
作者:
A
ascrutae
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix redis, memcached and resttemplate plugin woks incorrect
上级
71e68b38
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
5 deletion
+5
-5
apm-sniffer/apm-sdk-plugin/jedis-2.x-plugin/src/main/java/org/skywalking/apm/plugin/jedis/v2/RedisMethodMatch.java
.../org/skywalking/apm/plugin/jedis/v2/RedisMethodMatch.java
+1
-1
apm-sniffer/apm-sdk-plugin/spring-plugins/resttemplate-4.x-plugin/src/main/java/org/skywalking/apm/plugin/spring/resttemplate/async/FutureGetInterceptor.java
...lugin/spring/resttemplate/async/FutureGetInterceptor.java
+1
-1
apm-sniffer/apm-sdk-plugin/spring-plugins/resttemplate-4.x-plugin/src/main/java/org/skywalking/apm/plugin/spring/resttemplate/async/define/ResponseExtractorFutureInstrumentation.java
.../async/define/ResponseExtractorFutureInstrumentation.java
+1
-1
apm-sniffer/apm-sdk-plugin/spymemcached-2.x-plugin/src/main/java/org/skywalking/apm/plugin/spymemcached/v2/define/MemcachedInstrumentation.java
...ugin/spymemcached/v2/define/MemcachedInstrumentation.java
+2
-2
未找到文件。
apm-sniffer/apm-sdk-plugin/jedis-2.x-plugin/src/main/java/org/skywalking/apm/plugin/jedis/v2/RedisMethodMatch.java
浏览文件 @
079f53e2
...
...
@@ -39,7 +39,7 @@ public enum RedisMethodMatch {
.
or
(
named
(
"zrangeByScore"
)).
or
(
named
(
"smove"
)).
or
(
named
(
"lset"
))
.
or
(
named
(
"decrBy"
)).
or
(
named
(
"pttl"
)).
or
(
named
(
"scan"
))
.
or
(
named
(
"zrank"
)).
or
(
named
(
"blpop"
)).
or
(
named
(
"rpoplpush"
))
.
or
(
named
(
"zremrangeByLex"
)).
or
(
named
(
"get
Default
"
)).
or
(
named
(
"lpop"
))
.
or
(
named
(
"zremrangeByLex"
)).
or
(
named
(
"get"
)).
or
(
named
(
"lpop"
))
.
or
(
named
(
"persist"
)).
or
(
named
(
"scriptExists"
)).
or
(
named
(
"georadius"
))
.
or
(
named
(
"set"
)).
or
(
named
(
"srandmember"
)).
or
(
named
(
"incr"
)).
or
(
named
(
"setbit"
))
.
or
(
named
(
"hexists"
)).
or
(
named
(
"expireAt"
)).
or
(
named
(
"pexpire"
)).
or
(
named
(
"zcard"
))
...
...
apm-sniffer/apm-sdk-plugin/spring-plugins/resttemplate-4.x-plugin/src/main/java/org/skywalking/apm/plugin/spring/resttemplate/async/FutureGetInterceptor.java
浏览文件 @
079f53e2
...
...
@@ -32,7 +32,7 @@ public class FutureGetInterceptor implements InstanceMethodsAroundInterceptor {
public
void
beforeMethod
(
EnhancedInstance
objInst
,
Method
method
,
Object
[]
allArguments
,
Class
<?>[]
argumentsTypes
,
MethodInterceptResult
result
)
throws
Throwable
{
Object
[]
cacheValues
=
(
Object
[])
objInst
.
getSkyWalkingDynamicField
();
ContextManager
.
createLocalSpan
(
"future/get
Default
:"
+
((
URI
)
cacheValues
[
0
]).
getPath
());
ContextManager
.
createLocalSpan
(
"future/get:"
+
((
URI
)
cacheValues
[
0
]).
getPath
());
}
@Override
...
...
apm-sniffer/apm-sdk-plugin/spring-plugins/resttemplate-4.x-plugin/src/main/java/org/skywalking/apm/plugin/spring/resttemplate/async/define/ResponseExtractorFutureInstrumentation.java
浏览文件 @
079f53e2
...
...
@@ -48,7 +48,7 @@ public class ResponseExtractorFutureInstrumentation extends ClassInstanceMethods
private
static
final
String
ADD_CALLBACK_INTERCEPTOR
=
"org.skywalking.apm.plugin.spring.resttemplate.async.ResponseCallBackInterceptor"
;
private
static
final
String
ENHANCE_CLASS
=
"org.springframework.web.client.AsyncRestTemplate$ResponseExtractorFuture"
;
private
static
final
String
GET_METHOD_INTERCEPTOR
=
"org.skywalking.apm.plugin.spring.resttemplate.async.FutureGetInterceptor"
;
private
static
final
String
GET_METHOD_NAME
=
"get
Default
"
;
private
static
final
String
GET_METHOD_NAME
=
"get"
;
@Override
protected
ConstructorInterceptPoint
[]
getConstructorsInterceptPoints
()
{
...
...
apm-sniffer/apm-sdk-plugin/spymemcached-2.x-plugin/src/main/java/org/skywalking/apm/plugin/spymemcached/v2/define/MemcachedInstrumentation.java
浏览文件 @
079f53e2
...
...
@@ -33,7 +33,7 @@ import static org.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
/**
* {@link MemcachedInstrumentation} presents that skywalking intercept all constructors and methods of
* {@link net.spy.memcached.MemcachedClient}.
*
{@link XMemcachedConstructorWithInetSocketAddressListArgInterceptor}
intercepts the constructor with
*
<code>org.skywalking.apm.plugin.spymemcached.v2.MemcachedConstructorWithInetSocketAddressListArgInterceptor</code>
intercepts the constructor with
* argument {@link java.net.InetSocketAddress}.
*
* @author IluckySi
...
...
@@ -75,7 +75,7 @@ public class MemcachedInstrumentation extends ClassInstanceMethodsEnhancePluginD
return
named
(
"touch"
).
or
(
named
(
"append"
)).
or
(
named
(
"prepend"
)).
or
(
named
(
"asyncCAS"
))
.
or
(
named
(
"cas"
)).
or
(
named
(
"add"
)).
or
(
named
(
"set"
)).
or
(
named
(
"replace"
))
.
or
(
named
(
"asyncGet"
)).
or
(
named
(
"asyncGets"
)).
or
(
named
(
"gets"
)).
or
(
named
(
"getAndTouch"
))
.
or
(
named
(
"get
Default
"
)).
or
(
named
(
"asyncGetBulk"
)).
or
(
named
(
"asyncGetAndTouch"
))
.
or
(
named
(
"get"
)).
or
(
named
(
"asyncGetBulk"
)).
or
(
named
(
"asyncGetAndTouch"
))
.
or
(
named
(
"getBulk"
)).
or
(
named
(
"getStats"
)).
or
(
named
(
"incr"
))
.
or
(
named
(
"decr"
)).
or
(
named
(
"asyncIncr"
)).
or
(
named
(
"asyncDecr"
))
.
or
(
named
(
"delete"
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录