Skip to content

Commit

Permalink
Disable Kafka metricsets based on Jolokia (elastic#20989)
Browse files Browse the repository at this point in the history
Kafka metricsets based on Jolokia require a different configuration to
the native metricsets. Disable the Jolokia ones by default,  if someone
wants to use them, they need to explicitly enable and configure them.
Reference configuration contains information about this.

(cherry picked from commit cce29d4)
  • Loading branch information
jsoriano committed Sep 9, 2020
1 parent 54e379c commit 2e497ec
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ field. You can revert this change by configuring tags for the module and omittin
- Fill cloud.account.name with accountID if account alias doesn't exist. {pull}20736[20736]
- Fix ec2 disk and network metrics to use Sum statistic method. {pull}20680[20680]
- The `elasticsearch/index` metricset only requests wildcard expansion for hidden indices if the monitored Elasticsearch cluster supports it. {pull}20938[20938]
- Disable Kafka metricsets based on Jolokia by default. They require a different configuration. {pull}20989[20989]

*Packetbeat*

Expand Down
1 change: 0 additions & 1 deletion metricbeat/docs/modules/kafka/broker.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ beta[]

include::../../../module/kafka/broker/_meta/docs.asciidoc[]

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

==== Fields

Expand Down
1 change: 0 additions & 1 deletion metricbeat/docs/modules/kafka/consumer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ beta[]

include::../../../module/kafka/consumer/_meta/docs.asciidoc[]

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

==== Fields

Expand Down
1 change: 0 additions & 1 deletion metricbeat/docs/modules/kafka/producer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ beta[]

include::../../../module/kafka/producer/_meta/docs.asciidoc[]

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

==== Fields

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kafka/broker/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default: true
default: false
input:
module: jolokia
metricset: jmx
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kafka/consumer/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default: true
default: false
input:
module: jolokia
metricset: jmx
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/kafka/producer/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default: true
default: false
input:
module: jolokia
metricset: jmx
Expand Down

0 comments on commit 2e497ec

Please sign in to comment.