Skip to content

Commit f7eeaef

Browse files
authored
update skywalking version to 8.8.0 ,update ojdbc version to ojdbc8 12… (#28)
1 parent a2b8011 commit f7eeaef

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

aliyun-ons-1.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/ons/v1/MessageConcurrentlyConsumeInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public Object afterMethod(EnhancedInstance objInst, Method method, Object[] allA
3434
if (status == ConsumeConcurrentlyStatus.RECONSUME_LATER) {
3535
AbstractSpan activeSpan = ContextManager.activeSpan();
3636
activeSpan.errorOccurred();
37-
Tags.STATUS_CODE.set(activeSpan, status.name());
37+
Tags.MQ_STATUS.set(activeSpan, status.name());
3838
}
3939
ContextManager.stopSpan();
4040
return ret;

aliyun-ons-1.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/ons/v1/MessageOrderlyConsumeInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public Object afterMethod(EnhancedInstance objInst, Method method, Object[] allA
3535
if (status == ConsumeOrderlyStatus.SUSPEND_CURRENT_QUEUE_A_MOMENT) {
3636
AbstractSpan activeSpan = ContextManager.activeSpan();
3737
activeSpan.errorOccurred();
38-
Tags.STATUS_CODE.set(activeSpan, status.name());
38+
Tags.MQ_STATUS.set(activeSpan, status.name());
3939
}
4040
ContextManager.stopSpan();
4141
return ret;

aliyun-ons-1.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/ons/v1/OnSuccessInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allAr
4444
SendStatus sendStatus = ((SendResult) allArguments[0]).getSendStatus();
4545
if (sendStatus != SendStatus.SEND_OK) {
4646
activeSpan.errorOccurred();
47-
Tags.STATUS_CODE.set(activeSpan, sendStatus.name());
47+
Tags.MQ_STATUS.set(activeSpan, sendStatus.name());
4848
}
4949
ContextManager.continued(enhanceInfo.getContextSnapshot());
5050
}

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<properties>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22-
<skywalking.version>8.3.0</skywalking.version>
22+
<skywalking.version>8.8.0</skywalking.version>
2323
<shade.package>org.apache.skywalking.apm.dependencies</shade.package>
2424
<shade.net.bytebuddy.source>net.bytebuddy</shade.net.bytebuddy.source>
2525
<shade.net.bytebuddy.target>${shade.package}.${shade.net.bytebuddy.source}</shade.net.bytebuddy.target>
@@ -70,8 +70,8 @@
7070
<groupId>org.apache.maven.plugins</groupId>
7171
<artifactId>maven-compiler-plugin</artifactId>
7272
<configuration>
73-
<source>1.6</source>
74-
<target>1.6</target>
73+
<source>1.8</source>
74+
<target>1.8</target>
7575
</configuration>
7676
</plugin>
7777
<plugin>

resin-3.x-plugin/src/main/java/io/skywalking/apm/plugin/resin/v3/ResinV3Interceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class ResinV3Interceptor implements InstanceMethodsAroundInterceptor {
6060
AbstractSpan span = ContextManager.activeSpan();
6161

6262
if (response.getStatusCode() >= 400) {
63-
Tags.STATUS_CODE.set(span, Integer.toString(response.getStatusCode()));
63+
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatusCode());
6464
span.errorOccurred();
6565
}
6666
ContextManager.stopSpan();

resin-4.x-plugin/src/main/java/io/skywalking/apm/plugin/resin/v4/ResinV4Interceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public Object afterMethod(EnhancedInstance objInst, Method method, Object[] allA
6161
AbstractSpan span = ContextManager.activeSpan();
6262

6363
if (response.getStatus() >= 400) {
64-
Tags.STATUS_CODE.set(span, Integer.toString(response.getStatus()));
64+
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
6565
span.errorOccurred();
6666
}
6767
ContextManager.stopSpan();

0 commit comments

Comments
 (0)