From 2480758bf52a116ba54ea8de420cbff758d9dbc9 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Thu, 1 Nov 2018 10:53:33 +0100 Subject: [PATCH] Release metricbeat Kafka module as GA (#8854) --- CHANGELOG.asciidoc | 1 + metricbeat/docs/modules/kafka.asciidoc | 2 -- metricbeat/docs/modules/kafka/consumergroup.asciidoc | 2 -- metricbeat/docs/modules/kafka/partition.asciidoc | 2 -- metricbeat/docs/modules_list.asciidoc | 6 +++--- metricbeat/module/kafka/_meta/fields.yml | 2 +- metricbeat/module/kafka/consumergroup/_meta/fields.yml | 2 +- metricbeat/module/kafka/consumergroup/consumergroup.go | 3 --- metricbeat/module/kafka/fields.go | 2 +- metricbeat/module/kafka/partition/_meta/fields.yml | 2 +- metricbeat/module/kafka/partition/partition.go | 3 --- 11 files changed, 8 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 746336157e07..63f5a22b4542 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -184,6 +184,7 @@ https://github.com/elastic/beats/compare/v6.4.0...master[Check the HEAD diff] - Precalculate composed id fields for kafka dashboards. {pull}8504[8504] - Add Kafka dashboard. {pull}8457[8457] - Add untyped metric support to the prometheus module. {pull}8681[8681] +- Release Kafka module as GA. {pull}8854[8854] *Packetbeat* diff --git a/metricbeat/docs/modules/kafka.asciidoc b/metricbeat/docs/modules/kafka.asciidoc index c83a1f850e26..054d8cdb2bef 100644 --- a/metricbeat/docs/modules/kafka.asciidoc +++ b/metricbeat/docs/modules/kafka.asciidoc @@ -5,8 +5,6 @@ This file is generated! See scripts/docs_collector.py [[metricbeat-module-kafka]] == Kafka module -beta[] - This is the Kafka module. The default metricsets are `consumergroup` and `partition`. diff --git a/metricbeat/docs/modules/kafka/consumergroup.asciidoc b/metricbeat/docs/modules/kafka/consumergroup.asciidoc index 1614873779b7..9072a7c97b4f 100644 --- a/metricbeat/docs/modules/kafka/consumergroup.asciidoc +++ b/metricbeat/docs/modules/kafka/consumergroup.asciidoc @@ -5,8 +5,6 @@ This file is generated! See scripts/docs_collector.py [[metricbeat-metricset-kafka-consumergroup]] === Kafka consumergroup metricset -beta[] - include::../../../module/kafka/consumergroup/_meta/docs.asciidoc[] diff --git a/metricbeat/docs/modules/kafka/partition.asciidoc b/metricbeat/docs/modules/kafka/partition.asciidoc index b92b1145f82c..7801eaa16afd 100644 --- a/metricbeat/docs/modules/kafka/partition.asciidoc +++ b/metricbeat/docs/modules/kafka/partition.asciidoc @@ -5,8 +5,6 @@ This file is generated! See scripts/docs_collector.py [[metricbeat-metricset-kafka-partition]] === Kafka partition metricset -beta[] - include::../../../module/kafka/partition/_meta/docs.asciidoc[] diff --git a/metricbeat/docs/modules_list.asciidoc b/metricbeat/docs/modules_list.asciidoc index ae84778ab727..0d52dcf865a1 100644 --- a/metricbeat/docs/modules_list.asciidoc +++ b/metricbeat/docs/modules_list.asciidoc @@ -62,9 +62,9 @@ This file is generated! See scripts/docs_collector.py |<> beta[] |<> |image:./images/icon-no.png[No prebuilt dashboards] | .1+| .1+| |<> -|<> beta[] |image:./images/icon-yes.png[Prebuilt dashboards are available] | -.2+| .2+| |<> beta[] -|<> beta[] +|<> |image:./images/icon-yes.png[Prebuilt dashboards are available] | +.2+| .2+| |<> +|<> |<> beta[] |image:./images/icon-no.png[No prebuilt dashboards] | .2+| .2+| |<> beta[] |<> beta[] diff --git a/metricbeat/module/kafka/_meta/fields.yml b/metricbeat/module/kafka/_meta/fields.yml index e6b507c1449f..7a0a6fed1351 100644 --- a/metricbeat/module/kafka/_meta/fields.yml +++ b/metricbeat/module/kafka/_meta/fields.yml @@ -3,7 +3,7 @@ description: > Kafka module short_config: false - release: beta + release: ga fields: - name: kafka type: group diff --git a/metricbeat/module/kafka/consumergroup/_meta/fields.yml b/metricbeat/module/kafka/consumergroup/_meta/fields.yml index 62b437000cd8..0cea9183255d 100644 --- a/metricbeat/module/kafka/consumergroup/_meta/fields.yml +++ b/metricbeat/module/kafka/consumergroup/_meta/fields.yml @@ -2,7 +2,7 @@ type: group description: > consumergroup - release: beta + release: ga fields: - name: broker type: group diff --git a/metricbeat/module/kafka/consumergroup/consumergroup.go b/metricbeat/module/kafka/consumergroup/consumergroup.go index d4df02499f74..b45aae8cca20 100644 --- a/metricbeat/module/kafka/consumergroup/consumergroup.go +++ b/metricbeat/module/kafka/consumergroup/consumergroup.go @@ -21,7 +21,6 @@ import ( "fmt" "github.com/elastic/beats/libbeat/common" - "github.com/elastic/beats/libbeat/common/cfgwarn" "github.com/elastic/beats/libbeat/logp" "github.com/elastic/beats/metricbeat/mb" "github.com/elastic/beats/metricbeat/module/kafka" @@ -52,8 +51,6 @@ var debugf = logp.MakeDebug("kafka") // New creates a new instance of the MetricSet. func New(base mb.BaseMetricSet) (mb.MetricSet, error) { - cfgwarn.Beta("The kafka consumergroup metricset is beta") - opts := kafka.MetricSetOptions{ Version: "0.9.0.0", } diff --git a/metricbeat/module/kafka/fields.go b/metricbeat/module/kafka/fields.go index 80e88dd2b5b1..8ca7baf6837f 100644 --- a/metricbeat/module/kafka/fields.go +++ b/metricbeat/module/kafka/fields.go @@ -31,5 +31,5 @@ func init() { // Asset returns asset data func Asset() string { - return "eJy8WE1v4zYQvftXDHJyDlFP7UGHAm1SFEaL3UV292zQ4sgmTJFaknbW/35ByrIlSqQ+7ESnmJHeexwO3wz5BHs8pbAn+Z4sAAwzHFN4+M/+flgAUNSZYqVhUqTw5wIAwP0PCkkPHBcAeieVWWdS5GybQk64tqMKORKNKWzQWOCcIac6dQBPIEiBV1L7mFOJKWyVPJTnkR7mNkwTaqPkHtVluA8viFk9fzsEeJZCHwpU8K/9FFYil6og9gPYkSPCBlGAQkIhV7KA5fmzHRGUM7FtQZodQlbjOSmPSeMFfy7N+TDaGq7nw6VHEZ1SY1qMLnp5CKUKte4l2+PpTSpfyDg+Qo+oDNNILxS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S6H2OCj7bT2EpMqlyYj+ALTkgrBEFKCQUMiVzmJ8+2xJBORObBqTZIqQVnpNyn9Re8OdSnw+jjeFqPlx6FNEp1abF6KyTh1CqUOtOsh0eX6TyhQzjI/SAyjCN9EzRWjMjC5Ym9u/WurWpI7S/LI7DDHGgUlIlqaRtJi+ivTQOCixU0mYriDLMfps01m8s048KBhiNsrjZrTq44vFrkP0W7M8egVGQmcvY4sIu3EAZw34d5R58GzlABHW/StKkJa7ad74DjPaFEFDT3qontqdbHhXWU2oqFKbEIF3Au+T/Sdvwlm4G/Y4WigDEnA1i7jZgqtBwuWokyN/teNDjeuN0+BxjLH6A6/qr+hQnchtmFNfgxKtZb1TCeRMPr2qDNVzcsi8QMss0mkmF9Zz0JQYwYWTNmtbIxMZtpLiCHA3p5Df41xfW5N9rI/OLDAsElBgC2qj6Tu2k7ax/wyffznXXuZ3V/HcJRL08RiWlnKHoXotuM4zq+aA12wikJ1i3EnZF8IDC6NLcQjl4hWEN9IrHUtTyCeZl4DQaY+WVahNG7/t9ayu1H66pQhpQQcIc87VfziexMmFQCcK9ynEiqO/amF2MLtxdIOOLdsQzpuTpgTBO1hxPuLrqcjbsgKLWUY3MUYEvGEmP6YX1mwOuXM9vyXyZtbBx+jqCvjvgfkETytCE9bzUHuvFb9EKxcriAMHQOl5Uo0GVHAltta0DlPbq+OqAbas/L1vjVi9ZC5UOKyBKkeNECczlkoUHRnWYX2HBWerX7ltE4blE7g5DOB5CH0W66pO1lpIj8dN9oLKloMzmmgaWVQEApoGJlO8p0upAxsSDFVO9YtDWN5gvfz4Pmole9WTYq0zCCvd4gxKD7RPcYP0/nTumsk3J0KRb2xwMNbXIFUdU31XnS9O6DAlL82544HbHj7auoQeS07XBmGu260/jHpunZcpV3PWagkfV2b8AAAD///99e4I=" } diff --git a/metricbeat/module/kafka/partition/_meta/fields.yml b/metricbeat/module/kafka/partition/_meta/fields.yml index ae6049c6a836..12d355b9aa98 100644 --- a/metricbeat/module/kafka/partition/_meta/fields.yml +++ b/metricbeat/module/kafka/partition/_meta/fields.yml @@ -2,7 +2,7 @@ type: group description: > partition - release: beta + release: ga fields: - name: offset type: group diff --git a/metricbeat/module/kafka/partition/partition.go b/metricbeat/module/kafka/partition/partition.go index efb3a99105de..2e002e2ebcfd 100644 --- a/metricbeat/module/kafka/partition/partition.go +++ b/metricbeat/module/kafka/partition/partition.go @@ -24,7 +24,6 @@ import ( "github.com/Shopify/sarama" "github.com/elastic/beats/libbeat/common" - "github.com/elastic/beats/libbeat/common/cfgwarn" "github.com/elastic/beats/libbeat/logp" "github.com/elastic/beats/metricbeat/mb" "github.com/elastic/beats/metricbeat/mb/parse" @@ -52,8 +51,6 @@ var debugf = logp.MakeDebug("kafka") // New creates a new instance of the partition MetricSet. func New(base mb.BaseMetricSet) (mb.MetricSet, error) { - cfgwarn.Beta("The kafka partition metricset is beta") - opts := kafka.MetricSetOptions{ Version: "0.8.2.0", }