Skip to main content

Java Agent v2.2.15

August 31, 2023

  • Feature kafka-clients-2.4.0 tracing

    whatap.conf
    weaving=kafka-clients-2.4.0
  • Feature Added the function to ignore java.sql.SQLException with specific error codes.

    whatap.conf
    # example
    ignore_sql_error_code_set=22001,2009
  • Feature Added the error stack display function in transactions: The first error stack is displayed when multiple errors occur in transactions.

    For more information about transaction error stacks, see the following.

    Transaction error stack
  • Changed Upon occurrence of java.sql.SQLException, modified the default value for display of error codes to true.

    whatap.conf
    # default
    trace_sql_errorcode_enabled=true
  • Changed To prioritize the custom exception, modified the default value of trace_exception_overwrite_enabled to true.

    whatap.conf
    # default
    trace_exception_overwrite_enabled=true
  • Changed Collected SQL parameters for the java.util.Date type.

  • Fixed Added handling for the cases where the log is null when using the Java agent's logsink function.