From 7ad2204e8f7f65470675ac16f11f1e03ab774c0d Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 29 Nov 2021 18:24:34 -0800 Subject: [PATCH] Add note that there is no warranty or support for generator code (#28797) (#29188) * Add note that there is no warranty or support for generator code * Remove tagged region because it's no longer used (cherry picked from commit 73a2e5533839a692206272783f5be6652b8a1a5d) Co-authored-by: DeDe Morton --- docs/devguide/create-metricset.asciidoc | 2 ++ docs/devguide/generator-support-note.asciidoc | 13 +++++++++++++ docs/devguide/modules-dev-guide.asciidoc | 2 ++ 3 files changed, 17 insertions(+) create mode 100644 docs/devguide/generator-support-note.asciidoc diff --git a/docs/devguide/create-metricset.asciidoc b/docs/devguide/create-metricset.asciidoc index a1540be2384..fd60e25dd3a 100644 --- a/docs/devguide/create-metricset.asciidoc +++ b/docs/devguide/create-metricset.asciidoc @@ -1,6 +1,8 @@ [[creating-metricsets]] === Creating a Metricset +include::generator-support-note.asciidoc[tag=metricset-generator] + A metricset is the part of a Metricbeat module that fetches and structures the data from the remote service. Each module can have multiple metricsets. In this guide, you learn how to create your own metricset. diff --git a/docs/devguide/generator-support-note.asciidoc b/docs/devguide/generator-support-note.asciidoc new file mode 100644 index 00000000000..25579798ed2 --- /dev/null +++ b/docs/devguide/generator-support-note.asciidoc @@ -0,0 +1,13 @@ +// tag::metricset-generator[] +IMPORTANT: Elastic provides no warranty or support for the code used to generate +metricsets. The generator is mainly offered as guidance for developers who want +to create their own data shippers. + +// end::metricset-generator[] + +// tag::filebeat-generator[] +IMPORTANT: Elastic provides no warranty or support for the code used to generate +modules and filesets. The generator is mainly offered as guidance for developers +who want to create their own data shippers. + +// end::filebeat-generator[] \ No newline at end of file diff --git a/docs/devguide/modules-dev-guide.asciidoc b/docs/devguide/modules-dev-guide.asciidoc index 0936438900e..03b3179c596 100644 --- a/docs/devguide/modules-dev-guide.asciidoc +++ b/docs/devguide/modules-dev-guide.asciidoc @@ -1,6 +1,8 @@ [[filebeat-modules-devguide]] == Creating a New Filebeat Module +include::generator-support-note.asciidoc[tag=filebeat-generator] + This guide will walk you through creating a new Filebeat module. All Filebeat modules currently live in the main