HarryFQ opened a new issue #6521:
URL: https://github.com/apache/skywalking/issues/6521
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [x] Question or discussion
- [ ] Bug
- [ ] Requirement
- [ ] Feature or performance improvement
___
### 1. Question
Does your online system use pinpoint? Are you still worried about the
compatibility of skywalking and pinpoint?
### 2. skywalking and pinpoint compatibility test
#### 2.1 The test steps are as follows
1. Configuration
2. Call statistics on skywalking and pinpoint interfaces respectively
1. Run pinpoint alone
2. Run pinpoint and skywalking at the same time
3. Result analysis
#### 2.2 Details of running pinpoint alone
1. Version Information
2. pinpoint1.8.4, hbase
2. Configuration
1. Pinpoint is deployed using the default configuration.
3. Application agent Configuration
```
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/app/spring-boot/gc_logs/delay-queue/java_dump1.hprof
-Xloggc:/app/spring-boot/gc_logs/delay-queue/gc1.log -XX:+PrintGCDetails
-XX:+PrintHeapAtGC -XX:+PrintGCDateStamps -XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent -XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=3 -XX:GCLogFileSize=5M
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1026
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-javaagent:/app/jvmagent/jmx_prometheus_javaagent-0.12.0.jar=12345:/app/jvmagent/config.yaml
-server -Xms4096m -Xmx4096m -Xmn2g -Xss256K -XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=512m -XX:CMSInitiatingOccupancyFraction=75
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseCMSInitiatingOccupancyOnly
-Xbootclasspath/a:/app/pinpoint-agent-boot/fcbox-trace-util.jar
-javaagent:/app/pinpoint-agent-boot/pinp
oint-bootstrap-1.8.4.jar -Dpinpoint.agentId=$APP_NAME`echo $MY_POD_IP|awk -F
'.' '{print $3}'` -Dpinpoint.applicationName=$APP_NAME -jar
/app/war/delay-queue/pkg/delay-queue.jar
```
##### 2. Application startup information
The following pictures are screenshots of pinpoint and skywalking startup,
as well as screenshots of abnormal source code.

##### 3. Application request statistics
1. The test case calls the test service interface 5000 times per minute, and
then counts the individual running status of pinpoint.
1. Initial state

2. Statistics start
the first time

the second time

the third time

#### 2.3Details of running pinpoint and skywalking at the same time
1. Version Information
1. skywalking8.3,kafka2.1.4,es7.6.2
2. pinpoint1.8.4, hbase
2. Configuration
1. skywalking deploys using kubernetes default configuration.
2. Pinpoint is deployed using the default configuration.
3. Application agent Configuration
```
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/app/spring-boot/gc_logs/delay-queue/java_dump1.hprof
-Xloggc:/app/spring-boot/gc_logs/delay-queue/gc1.log -XX:+PrintGCDetails
-XX:+PrintHeapAtGC -XX:+PrintGCDateStamps -XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent -XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=3 -XX:GCLogFileSize=5M
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1026
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-javaagent:/app/jvmagent/jmx_prometheus_javaagent-0.12.0.jar=12345:/app/jvmagent/config.yaml
-server -Xms4096m -Xmx4096m -Xmn2g -Xss256K -XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=512m -XX:CMSInitiatingOccupancyFraction=75
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseCMSInitiatingOccupancyOnly
-Xbootclasspath/a:/app/pinpoint-agent-boot/fcbox-trace-util.jar
-javaagent:/app/pinpoint-agent-boot/pinp
oint-bootstrap-1.8.4.jar -Dpinpoint.agentId=$APP_NAME`echo $MY_POD_IP|awk -F
'.' '{print $3}'` -Dpinpoint.applicationName=$APP_NAME
-javaagent:/app/skywalking/agent/skywalking-agent.jar
-Dskywalking.collector.backend_service=skywalking-oap.skywalking.svc.cluster.local:11800
-Dskywalking.agent.service_name=$APP_NAME
-Dskywalking.agent.instance_name=$APP_NAME`echo $MY_POD_IP|awk -F '.' '{print
$3}'`
-Dskywalking.plugin.kafka.bootstrap_servers=10.216.58.167:9092,10.216.58.168:9092,10.216.58.169:9092
-jar /app/war/delay-queue/pkg/delay-queue.jar
```
##### 2. Application startup information
The following pictures are screenshots of pinpoint and skywalking startup,
as well as screenshots of abnormal source code.



##### 3. Application request statistics
1. The test case calls 5000 test service interfaces every minute, and then
counts whether the two tests are the same.
1. Initial state


2. Statistics start
the first time


the second time



#### 3. conclusion
Only from the final statistical results, the two are compatible with each
other. Although there is a type mismatch in the second startup log, you will
find that it is because the pinpoint type does not match. This is because both
of them use bytecode enhancement technology, and from the source code document.
It can be understood that there are problems with using the same technology.
The processing above the source code is only to capture the exception and print
it out in debug form. Generally, bytecode enhancement technology does not
appear in our business logic.
___
### Bug
- Which version of SkyWalking, OS, and JRE?
- Which company or project?
- What happened?
If possible, provide a way to reproduce the error. e.g. demo application,
component version.
___
### Requirement or improvement
- Please describe your requirements or improvement suggestions.
skywalking8.3,pinpoint1.8.4
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]