未验证 提交 03b45d2f 编写于 作者: A Ax1an 提交者: GitHub

Fix some comments and documentation (#6534)

上级 a01e846c
......@@ -28,8 +28,9 @@ import static net.bytebuddy.matcher.ElementMatchers.named;
import static org.apache.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
/**
* {@link CallableInstrumentation} define that the mysql-2.x plugin intercepts the following methods in the
* com.mysql.jdbc.CallableStatement 1. execute 2. executeQuery 3. executeUpdate
* {@link CallableInstrumentation} define that the mysql-5.x plugin intercepts the following methods in the
* com.mysql.jdbc.CallableStatement class:
* 1. execute 2. executeQuery 3. executeUpdate
*/
public class CallableInstrumentation extends AbstractMysqlInstrumentation {
private static final String ENHANCE_CLASS = "com.mysql.jdbc.CallableStatement";
......
......@@ -30,9 +30,9 @@ import net.bytebuddy.description.method.MethodDescription;
import net.bytebuddy.matcher.ElementMatcher;
/**
* {@link PreparedStatementInstrumentation} define that the mysql-2.x plugin intercepts the following methods in the
* com.mysql.jdbc.JDBC42PreparedStatement, com.mysql.jdbc.PreparedStatement and com.mysql.cj.jdbc.PreparedStatement
* class: 1. execute 2. executeQuery 3. executeUpdate 4. executeLargeUpdate 5. addBatch
* {@link PreparedStatementInstrumentation} define that the mysql-5.x plugin intercepts the following methods in the
* com.mysql.jdbc.PreparedStatement class:
* 1. execute 2. executeQuery 3. executeUpdate 4. executeLargeUpdate
*/
public class PreparedStatementInstrumentation extends AbstractMysqlInstrumentation {
......
......@@ -28,8 +28,9 @@ import static net.bytebuddy.matcher.ElementMatchers.named;
import static org.apache.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
/**
* {@link CallableInstrumentation} define that the mysql-2.x plugin intercepts the following methods in the
* com.mysql.jdbc.CallableStatement 1. execute 2. executeQuery 3. executeUpdate
* {@link CallableInstrumentation} define that the mysql-6.x plugin intercepts the following methods in the
* com.mysql.jdbc.cj.CallableStatement class:
* 1. execute 2. executeQuery 3. executeUpdate
*/
public class CallableInstrumentation extends AbstractMysqlInstrumentation {
private static final String ENHANCE_CLASS = "com.mysql.jdbc.cj.CallableStatement";
......
......@@ -28,9 +28,9 @@ import static net.bytebuddy.matcher.ElementMatchers.named;
import static org.apache.skywalking.apm.agent.core.plugin.match.NameMatch.byName;
/**
* {@link PreparedStatementInstrumentation} define that the mysql-2.x plugin intercepts the following methods in the
* com.mysql.jdbc.JDBC42PreparedStatement, com.mysql.jdbc.PreparedStatement and com.mysql.cj.jdbc.PreparedStatement
* class: 1. execute 2. executeQuery 3. executeUpdate 4. executeLargeUpdate 5. addBatch
* {@link PreparedStatementInstrumentation} define that the mysql-6.x plugin intercepts the following methods in the
* com.mysql.cj.jdbc.PreparedStatement class:
* 1. execute 2. executeQuery 3. executeUpdate 4. executeLargeUpdate
*/
public class PreparedStatementInstrumentation extends AbstractMysqlInstrumentation {
......
......@@ -25,7 +25,7 @@ Alarm rule is constituted by following keys
- **Include names**. The following entity names are included in this rule. Please follow [Entity name define](#entity-name).
- **Exclude names**. The following entity names are excluded in this rule. Please follow [Entity name define](#entity-name).
- **Include names regex**. Provide a regex to include the entity names. If both setting the include name list and include name regex, both rules will take effect.
- **Exclude names regex**. Provide a regex to exclude the exclude names. If both setting the exclude name list and exclude name regex, both rules will take effect.
- **Exclude names regex**. Provide a regex to exclude the entity names. If both setting the exclude name list and exclude name regex, both rules will take effect.
- **Include labels**. The following labels of the metric are included in this rule.
- **Exclude labels**. The following labels of the metric are excluded in this rule.
- **Include labels regex**. Provide a regex to include labels. If both setting the include label list and include label regex, both rules will take effect.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册