Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Fitz (Joongsoo.Park)

    Hi. i'm joongsoo. I have a question about pinpoint internal code. (It may not be related to the pinpoint. sorry.)

    Pinpoint have interceptor for HttpUrlConnection.
    HttpUrlConnection is loaded by bootstrap classloader. but interceptor class is loaded by application classloader.

    So if inject "call interceptor method" bytecode to HttpUrlConnection class, it is not found interceptor class. => throw NoClassDefFoundError

    But pinpoint is not throw NoClassDefFoundError.
    My guess is that you load a class using a string in a similar way to Class.forName ().

    How did Pinpoint solve this problem?
    Am I misunderstanding pinpoint source code?

    Thank you.

    I think this link might help you (naver/pinpoint#6138)
    If you have more question. please ask me again.
    Thanks :)
    Fitz (Joongsoo.Park)
    Oh. It was a great help. Thank you!

    Hello, i have a problem with Inject class interceptor to classpath :

    2020-03-05 10:53:32 WARN Failed to load plugin class com.navercorp.pinpoint.plugin.jdbc.db2.interceptor.Db2ConnectionCreateInterceptor with classLoader com.ibm.ws.bootstrap.ExtClassLoader@e5d94cfc
    java.lang.ClassNotFoundException: com.navercorp.pinpoint.plugin.jdbc.db2.interceptor.Db2ConnectionCreateInterceptor
    at java.net.URLClassLoader.findClass(URLClassLoader.java:600)
    at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:243)
    at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:777)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:754)
    at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:134)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:731)
    at com.navercorp.pinpoint.profiler.instrument.classloading.URLClassLoaderHandler.injectClass(URLClassLoaderHandler.java:66)
    at com.navercorp.pinpoint.profiler.instrument.classloading.JarProfilerPluginClassInjector.injectClass(JarProfilerPluginClassInjector.java:57)

    help pleas :,c

    @koo-taejin @Xylus @RoySRose We are currently using PinPoint 1.8.5 in test and production environment. We want to upgrade/migrate to Pinpoint version 2.0.1. My thought on this is first run a new collector and web of version 2.0.1, agent of version 2.0.1 send data to collector of version 2.
    The collector and web of both versions share the same hbase cluster, would it be OK ?
    In the same transaction(same txId), the applications of different versions would it be problem ?
    Roy Kim
    Hello, @yjqg6666
    Actually, compatibility can be checked at the homepage
    @RoySRose already checked, but different from the table. agent 1.8.5 -> collector 1.8.5 -> same hbase -> web 1.8.5/web 2.0 , agent 2.0 -> collector 2.0 -> same hbase -> web 1.8.5/web 2.0. The two would be running for a period of time until the migration is complted.
    One transaction may be composed of some span data from agent 1.8 & collector 1.8 and some span data from agent 2.0 & collector 2.0, be viewed from web 1.8 or web 2.0 .
    Roy Kim
    @yjqg6666 There wasn't a structural change in the span data, so I don't think that will cause any problem.
    @RoySRose Ok, thanks.
    @RoySRose @Xylus Do you have any development document for Web UI v2(current default for v2.0.x).
    Hello! I'm running latest Pinpoint version from docker compose, and due the PHP version on the target systems being 5.6 I'm using the PHP agent 0.1 version..
    Would Pinpoint 2.0 still work with older agent ?
    hello, i'm new here.
    Hi, why does the pp-web 2.0.2 show the 'Delayed' in the 'realtime active thread chart'?

    Hello! I'm running latest Pinpoint version from docker compose, and due the PHP version on the target systems being 5.6 I'm using the PHP agent 0.1 version..
    Would Pinpoint 2.0 still work with older agent ?

    hello, pinpoint-php 0.2 for php5.6 is on the way

    Hello!I'm runing latest pp-web java version, and it showed the 'Delayed' in the 'realtime active thread chart'. How to solve it? Thx.
    @RoySRose @Xylus I want to record some configured request headers. I read the source code and found no annotation key for http request head. Could i use the annotation key id 50 for that?
    It would like (45, "http.cookie", VIEW_IN_RECORD_SET)
    Ryo Osive
    Can anyone help me with the setup of pinpoint apm with springboot app in intellij and pinpoint in docker on server
    I have deployed latest version of pinpoint collector and I installed hbase in same local host where collector is deployed.
    I am getting following error when I start tomcat server
    23-May-2020 12:13:49.043 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/share/apache-tomcat-9.0.35/webapps/pinpoint-collector-2.0.2]
    23-May-2020 12:13:54.201 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    2020-05-23T12:13:54.238 PinpointCollectorApplicationInitializer::ActiveProfile:release
    2020-05-23 12:13:56 WARN Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
    2020-05-23 12:13:57 WARN Unable to create ZooKeeper Connection
    java.net.UnknownHostException: {YOUR_RELEASE_ZOOKEEPER_ADDRESS}: Name or service not known
    at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
    at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
    at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
    at java.net.InetAddress.getAllByName(InetAddress.java:1193)
    at java.net.InetAddress.getAllByName(InetAddress.java:1127)
    at org.apache.hadoop.hbase.shaded.org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:61)
    at org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445)
    at org.apache.hadoop.hbase.shaded.org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
    at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.checkZk(RecoverableZooKeeper.java:141)
    at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.<init>(RecoverableZooKeeper.java:128)
    at org.apache.hadoop.hbase.zookeeper.ZKUtil.connect(ZKUtil.java:137)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:185)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:153)
    at org.apache.hadoop.hbase.client.ZooKeeperKeepAliveConnection.<init>(ZooKeeperKeepAliveConnection.java:43)
    at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getKeepAliveZooKeeperWatcher(ConnectionManager.java:1706)
    at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:104)
    at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.retrieveClusterId(ConnectionManager.java:916)
    at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:659)
    at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:637)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
    at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:218)
    at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:150)
    at com.navercorp.pinpoint.common.hbase.ConnectionFactoryBean.afterPropertiesSet(ConnectionFactoryBean.java:76)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689)
    @stevejobsmyguru java.net.UnknownHostException: {YOUR_RELEASE_ZOOKEEPER_ADDRESS}: Name or service not known
    @stevejobsmyguru change your config files in profiles/release/pinpoint-collector-{grpc-,}env.properties
    SRE CloudNative
    @yjqg6666 - Are we passing trace id via Http header and if yes then what was the key field being passed on the header
    Any insight would he highly helpful
    Hi all,
    Can anyone tell me , how to check a trace id is finished during the full process chain?

    Hi All

    please suggest if naver/pinpoint supports integration with apache hive.
    I have tried to integrate the pinpoint agent with apache hive metastore but the data collected in impartial i.e., no transactions are getting captured only , the heap used, file descriptors open and non heap are getting captured.
    In the inspect server tab service type detected is tomcat

    Yeji Lim
    I'm using pinpoint 2.0.4 version on production service. I recently switched sampling from 10% to 100% and had major db connection issue.
    Is there any guide when using such configuration? (ex. must-add configuration when using 100% sampling)
    Any tips would be appreciated!
    Prasad Chaudhari

    Hi. If have pinpoint data captured in EST time zone. When trying to view in IST time zone is not showing any data. any idea ? Is any UI option available to change and see this in user timezone ?

    Filed issue - pinpoint-apm/pinpoint#7453

    Roy Kim

    Can anyone tell me, how to check a trace id is finished during the full process chain?

    @jsuper I don't think you can through the current UI.

    please suggest if naver/pinpoint supports integration with apache hive.

    @abiwill https://pinpoint-apm.github.io/pinpoint/2.1.2/main.html#supported-modules

    switched sampling from 10% to 100% and had major db connection issue.

    @yayyz Currently, there isn't any guide on this. There would be so much data if you sample 100% database may not stand if there is so much traffic. For this to be possible, a feature that divides sampling rate with criteria must be added.

    If have pinpoint data captured in EST time zone.

    @ChaudhariPrasad I didn't realize we had this problem. Pinpoint is used in all timezones since Naver has subsidiaries all over the world. But since you've filed the issue, let's see if our FE dev willing to take a look at it.

    @RoySRose @koo-taejin Is there any info about the roadmap for PinPoint, like what features would come in the following releases?
    Hello guys, anyone know what's S.C S.N etc stands for "Transactions Per Second" ?
    @WayneCui pinpoint-apm/pinpoint#4514 I think this link am going to help you
    • am -> is
    @erinyees Thanks a lot :-)
    Semenov Artem
    Hello, I use pinpoint v2.2.0 for php application and https://github.com/marty-macfly/yii2-pinpoint-plugin
    I get such a service map. But I don't see the full route. Tell me which way to look.
    I see only first app span :(
    @Hijbk you could ask the question in pinpoint-c-agent gitter room. PHP/Python support are there.
    Hi, Is there any env variable to enable disable pinpoint java agent. For example in node, you can disable the agent by setting "PINPOINT_ENABLE=False".