/scripts/hbase-create.hbase
to hbase shell.git clone $PINPOINT_GIT_REPOSITORY
./mvnw clean install -DskipTests=true
(or ./mvnw.cmd
for Windows)$AGENT_PATH
).-javaagent:$AGENT_PATH/pinpoint-bootstrap-$VERSION.jar
JVM argument to attach the agent to a java application.-Dpinpoint.agentId
and -Dpinpoint.applicationName
command-line arguments.-Dpinpoint.container
command-line argument.-Dprofiler.sampling.type=PERCENT
and -Dprofiler.sampling.percent.sampling-rate=100
command-line arguments.$HBASE_HOME/bin/hbase shell hbase-create.hbase
./mvnw install -DskipTests=true
./mvnw install -Prelease -DskipTests=true
$PINPOINT_PATH
.java -jar -Dpinpoint.zookeeper.address=localhost pinpoint-collector-boot-2.2.1.jar
collector.receiver.base.port
(agent's profiler.collector.tcp.port - default: 9994/TCP)collector.receiver.stat.udp.port
(agent's profiler.collector.stat.port - default: 9995/UDP)collector.receiver.span.udp.port
(agent's profiler.collector.span.port - default: 9996/UDP)collector.receiver.grpc.agent.port
(agent's profiler.transport.grpc.agent.collector.port, profiler.transport.grpc.metadata.collector.port - default: 9991/TCP)collector.receiver.grpc.stat.port
(agent's profiler.transport.grpc.stat.collector.port - default: 9992/TCP)collector.receiver.grpc.span.port
(agent's profiler.transport.grpc.span.collector.port - default: 9993/TCP)hbase.client.host
(default: localhost)hbase.client.port
(default: 2181)collector/src/main/resources/profiles/
.-D
option. For example,java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=localhost -Dhbase.client.port=1234 pinpoint-collector-boot-2.2.1.jar
--spring.config.additional-location
option. For example,./config/collector.properties
, and list the configuration values you want to override. >spring.profiles.active=releasepinpoint.zookeeper.address=localhostcollector.receiver.grpc.agent.port=9999collector.receiver.stat.udp.receiveBufferSize=1234567
java -jar pinpoint-collector-boot-2.2.1.jar --spring.config.additional-location=./config/collector.properties
spring.profiles.active
value as described in the previous section.pinpoint-collector
module.collector/src/main/resources/profiles
with a profile name.pinpoint-collector
module and configure spring.profiles.active
as described in the previous section.java -jar -Dpinpoint.zookeeper.address=localhost pinpoint-web-boot-2.2.1.jar
hbase.client.host
(default: localhost)hbase.client.port
(default: 2181)web/src/main/resources/profiles/
.-D
option. For example,java -jar -Dspring.profiles.active=release -Dpinpoint.zookeeper.address=localhost -Dhbase.client.port=1234 pinpoint-web-boot-2.2.1.jar
--spring.config.additional-location
option. For example,./config/web.properties
, and list the configuration values you want to override. >spring.profiles.active=releasepinpoint.zookeeper.address=localhostcluster.zookeeper.sessiontimeout=10000
java -jar pinpoint-web-boot-2.2.1.jar --spring.config.additional-location=./config/web.properties
spring.profiles.active
value as described in the previous section.pinpoint-web
module.web/src/main/resources/profiles
with a profile name.pinpoint-web
module and configure spring.profiles.active
as described in the previous section.$AGENT_PATH
.Note that you may change the agent's log level by modifying the log4j.xml located in the profiles/$PROFILE/log4j.xml directory above.
-javaagent:$AGENT_PATH/pinpoint-bootstrap-$VERSION.jar
-Dpinpoint.agentId
- uniquely identifies the application instance in which the agent is running on-Dpinpoint.applicationName
- groups a number of identical application instances as a single service-Dprofiler.sampling.type=PERCENT
- sampler type-Dprofiler.sampling.percent.sampling-rate=100
- support from 100% to 0.01%-Dpinpoint.container
in addition to the 2 required command-line arguments above when launching the agent.profiler.collector.ip
(default: 127.0.0.1)profiler.collector.tcp.port
(collector's collector.receiver.base.port - default: 9994/TCP)profiler.collector.stat.port
(collector's collector.receiver.stat.udp.port - default: 9995/UDP)profiler.collector.span.port
(collector's collector.receiver.span.udp.port - default: 9996/UDP)profiler.transport.grpc.collector.ip
(default: 127.0.0.1)profiler.transport.grpc.agent.collector.port
(collector's collector.receiver.grpc.agent.port - default: 9991/TCP)profiler.transport.grpc.metadata.collector.port
(collector's collector.receiver.grpc.agent.port - default: 9991/TCP)profiler.transport.grpc.stat.collector.port
(collector's collector.receiver.grpc.stat.port - default: 9992/TCP)profiler.transport.grpc.span.collector.port
(collector's collector.receiver.grpc.span.port - default: 9993/TCP)-Dkey=value
to Java System Properties-Dpinpoint.profiler.profiles.active=release or local
pinpoint.profiler.profiles.active=release
in $PINPOINT_AGENT_DIR/pinpoint-root.configrelease
-Dpinpoint.profiler.profiles.active=MyProfile
-Dpinpoint.config=$MY_EXTERNAL_CONFIG_PATH
cluster.enable
cluster.zookeeper.address
cluster.zookeeper.sessiontimeout
cluster.listen.ip
cluster.listen.port
cluster.enable
cluster.web.tcp.port
cluster.zookeeper.address
cluster.zookeeper.sessiontimeout
cluster.zookeeper.retry.interval
cluster.connect.address