Comments (5)
Please also share your Pinpoint agent properties.
With pinpoint.profiler.profiles.active=local
, you can see if uri stat logs are being sent as well.
from pinpoint.
Please also share your Pinpoint agent properties. With
pinpoint.profiler.profiles.active=local
, you can see if uri stat logs are being sent as well.
Java application configuration:
JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=
umask" JAVA_OPTS="-server -Xms512m -Xmx4096m -Xss512K -XX:PermSize=328m -XX:MaxPermSize=800m" export JAVA_OPTS="$JAVA_OPTS -javaagent:/home/pinpoint/pinpoint-agent-2.5.3/pinpoint-bootstrap-2.5.3.jar -Dpinpoint.agentId=test-agent -Dpinpoint.applicationName=test -Dpinpoint.profiler.profiles.active=local -Dpinpoint.config=/home/pinpoint/pinpoint-agent-2.5.3/profiles/local/pinpoint.config"
Some core configurations of pinpoint.config:
`
GRPC or THRIFT
profiler.transport.module=GRPC
gRPC Configuration
profiler.transport.grpc.collector.ip=localhost
Thrift Configuration
profiler.collector.ip=localhost
URI Stat
profiler.uri.stat.enable=true
profiler.uri.stat.spring.webmvc.enable=true
profiler.uri.stat.spring.webmvc.useuserinput=false
profiler.uri.stat.vertx.enable=true
profiler.uri.stat.vertx.useuserinput=false
profiler.uri.stat.spring.webflux.enable=true
profiler.uri.stat.spring.webflux.useuserinput=false
profiler.uri.stat.tomcat.useuserinput=false
`
Part of pinpoint.log:
11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.include= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jvm.vendor.name= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.hbase.client.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.memcached.async=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.agent.collector.ip=${profiler.transport.grpc.collector.ip} 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.agent.sender.maxtraceevent=0 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.elasticsearch.recordESVersion=false 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.kafka.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.spring.beans.mark.error=false 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.uri.stat.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.apache.httpclient4.cookie=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jdbc.informix.commit=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jvm.stat.collect.interval=5000 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.metadata.collector.ip=${profiler.transport.grpc.collector.ip} 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.uri.stat.vertx.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.vertx.bootstrap.main=io.vertx.core.Starter 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.resin.bootstrap.main= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.activemq.client.destination.exclude= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.server.excludemethod= 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.stat.sender.connect.timeout.millis=3000 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.lambda.expressions.support=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.mongo.collectjson=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.jvm.stat.collect.detailed.metrics=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.tcpdatasender.client.write.timeout=3000 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.rabbitmq.client.consumer.enable=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.reactor-netty.server.tracerequestparam=true 11-16 14:52:10.010 [ main] INFO c.n.p.p.DefaultAgent -- - profiler.transport.grpc.agent.sender.keepalive.timeout.millis=60000
from pinpoint.
It seems like agent config is correct.
Do you see any uri stat send success / fail logs on profiler?
from pinpoint.
try launching the web,collector using the following method:
java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-collector-starter-boot-2.5.3.jar --pinpoint.collector.type=ALL
java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-web-starter-boot-2.5.3.jar
or run in the background
nohup java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-collector-starter-boot-2.5.3.jar --pinpoint.collector.type=ALL >/dev/null 2>&1 &
nohup java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=your-zookeeper-address pinpoint-web-starter-boot-2.5.3.jar >/dev/null 2>&1 &
from pinpoint.
大佬这问题解决了吗 怎么解决的 能告知下吗感谢
from pinpoint.
Related Issues (20)
- Bump maven-source-plugin from 3.2.0 to 3.3.1
- Bump mvnw from 3.9.1 to 3.9.7
- Bump Ubuntu in workflow from 20.04 to 22.04
- Bump workflow action from v3 to v4
- Recognize the SpringBoot project in PinPoint as a regular Java application HOT 2
- k8s환경에서의 pinpoint-collector와 pinpoint-web을 hbase의 service를 바라보도록 설정하는법 HOT 5
- Can't create exceptiontrace tables with provided schema HOT 1
- Backport: Cleanup github workflow
- Explicitly add '/api' to the controller
- modify the pinpoint link in the body of the email alarm.
- Fix `RecentRunningFilter` to include shutdown agents in range
- How to change Pinpoint port 8080 HOT 6
- Can v2.3.3 & v3.0.x use the same hbase environment ? HOT 4
- one java application connect to different pinpoint servers
- No transactions show in Spring based java tomcat application hosted in AWS. HOT 2
- Use Spring ProblemDetail to describe exceptions
- [FeatureRequest] Upgrade the live demo to version v3.0
- Add WAL durability setting to collector
- Fix interceptor holder lazyloading HOT 1
- Fix MongoDB FindPublisherImpl method interceptor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinpoint.