Skip to content

Commit

Permalink
optimize: 优化微服务流量监控生产者路径前缀标识 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
magestacks committed Apr 23, 2023
1 parent 0aada34 commit fbf098e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private static String buildKey(StackTraceElement stackTraceElement) {
if (sendMethodName.indexOf("$") != -1) {
sendMethodName = sendMethodName.substring(0, sendMethodName.indexOf("$"));
}
String key = new StringBuilder("/Provide/").append(sendClass).append("/").append(sendMethodName).toString();
String key = new StringBuilder("/Producer/").append(sendClass).append("/").append(sendMethodName).toString();
FlowMonitorRuntimeContext.BUILD_KEY_THREADLOCAL.set(key);
return key;
}
Expand Down

0 comments on commit fbf098e

Please sign in to comment.