java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.db.internal.SqlCommenterUtil

public final class SqlCommenterUtil extends Object
This class is internal and experimental. Its APIs are unstable and can change at any time. Its APIs (or a version of them) may be promoted to the public stable API in the future, but no guarantees are made.
  • Method Details

    • processQuery

      public static String processQuery(String query)
      Append comment containing tracing information at the end of the query. See sqlcommenter for the description of the algorithm.