Elastic Stack 8.13.3
Java agent:apm-agent-attach-cli-1.52.0.jar
How does apm-agent obtain dependencies? Why can't this DB get the dependency name?
Elastic Stack 8.13.3
Java agent:apm-agent-attach-cli-1.52.0.jar
How does apm-agent obtain dependencies? Why can't this DB get the dependency name?
Which db are you using?
MySQL
Here's my db config
spring:
  datasource:
    url: jdbc:mysql://xx:xx/xxxxx?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
    driver-class-name: com.mysql.jdbc.Driver
    username: xxxxx
    password: xxxxxx
    type: com.zaxxer.hikari.HikariDataSource
    hikari:
      pool-name: DatebookHikariCP
      minimum-idle: 5
      maximum-pool-size: 30
      idle-timeout: 600000
      max-lifetime: 1800000
      connection-timeout: 30000
      connection-test-query: SELECT 1 FROM dual
            Best guess is that the Hikari driver is returning something we're not recognizing. If you can put together a reproducible test case that we can run, we'll have a look at it
Sorry, I can't provide reproducible test cases.
I observed for a while and found that one of the apps could detect the DB information when it started monitoring, but after a while it became unknown. You can see that the monitoring curve in the picture is a connection.
![]()
The agent logs don't have much useful information
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.