Expand pinpoint query function
Support pinpoint precise search
You can query the request list by application, agent_id, request path, exec range, time range, Exception, as shown in the following figure:
Support to click Transaction ID to directly link to pinpoint request.
JDK 8
-
Need to configure
hbase.propertiesinpinpoint-search-webmodule, same aspinpoint-webconfiguration。 -
Need to configure
pinpoint.propertiesinpinpoint-search-webmodule-
pinpointWebUrlpinpointWebUrlConfigure your pinpoint web host address, for example:http://localhost:9000 -
historyconfigurepinpoint-webHTML5 History mode,history = trueTransaction ID url will not have#:http://localhost:9000/transactionList/TestApp@STAND_ALONE/5m/2020-04-12-11-19-48/192.168.2.2%5E1586661708402%5E54-1586661847211-39 -
query.limitConfigure the maximum number of queries -
hbase.num.parallel.threadsconfigures the number of threads for multi-threaded queries
-
mvn clean package -Dmaven.test.skip=true
Build and generate pinpoint-search-web-1.0.0-SNAPSHOT.war
In order to support Pinpoint server-side search, a simple modification of Pinpoint is required
- Modify pinpoint-collector module Class com.navercorp.pinpoint.collector.dao.hbase.HbaseApplicationTraceIndexDao
Add the code in the red box to the insert method, as shown below:
- Modify pinpoint-web module Class com.navercorp.pinpoint.web.mapper.TransactionIdMapper
Modify the red box in the mapRow method and add exception handling
- Modify pinpoint-web module Class com.navercorp.pinpoint.web.mapper.TraceIndexScatterMapper3
Modify the red box in the mapRow method and add exception handling
- Class com.navercorp.pinpoint.web.mapper.TraceIndexScatterMapper2
- Class com.navercorp.pinpoint.web.mapper.TraceIndexScatterMapper
Do the same
- In
pinpointproject recompilepinpoint-webandpinpoint-collectortwo modules
mvn clean package -Dmaven.test.skip=true -pl web -am
mvn clean package -Dmaven.test.skip=true -pl collector -am
pinpoint1.6.x - pinpoint2.0.x
Apache License
github issues
QQ Group : 1045635366





