Skip to content

Commit

Permalink
Fix description of jmx options (#10454)
Browse files Browse the repository at this point in the history
* Fix description of jmx option

* Update conf.yaml.example

* Update process_name_regex

* Apply suggestions
  • Loading branch information
yzhan289 authored Oct 20, 2021
1 parent 6a548c1 commit 106a41a
Show file tree
Hide file tree
Showing 15 changed files with 120 additions and 30 deletions.
10 changes: 8 additions & 2 deletions activemq/datadog_checks/activemq/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions cassandra/datadog_checks/cassandra/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,19 @@
This requires the JDK to be installed and the path to tools.jar to be set below.
Note: It needs to be set when process_name_regex parameter is set
e.g. .*process_name.*
Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
This option is supported in Java 8 and below.
value:
type: string

- name: tools_jar_path
description: |
The tool.jar path to be used with the `process_name_regex` parameter,
for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
The tools.jar path to be used with the `process_name_regex` parameter,
for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
This option is supported in Java 8 and below.
value:
type: string

Expand Down
10 changes: 8 additions & 2 deletions hazelcast/datadog_checks/hazelcast/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions hive/datadog_checks/hive/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions hivemq/datadog_checks/hivemq/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions hudi/datadog_checks/hudi/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions ignite/datadog_checks/ignite/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions kafka/datadog_checks/kafka/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions presto/datadog_checks/presto/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions solr/datadog_checks/solr/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions sonarqube/datadog_checks/sonarqube/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down
10 changes: 8 additions & 2 deletions tomcat/datadog_checks/tomcat/data/conf.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ instances:
## This requires the JDK to be installed and the path to tools.jar to be set below.
## Note: It needs to be set when process_name_regex parameter is set
## e.g. .*process_name.*
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# process_name_regex: <PROCESS_NAME_REGEX>

## @param tools_jar_path - string - optional
## The tool.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-11-openjdk-amd64/lib/tools.jar
## The tools.jar path to be used with the `process_name_regex` parameter,
## for example: /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
##
## Note: tools.jar was removed in Java 9: https://openjdk.java.net/jeps/220.
## This option is supported in Java 8 and below.
#
# tools_jar_path: <TOOLS_JAR_PATH>

Expand Down

0 comments on commit 106a41a

Please sign in to comment.