From e3bf3b9099af9e755f33b134dd07545ded3f230c Mon Sep 17 00:00:00 2001 From: DeDe Morton Date: Mon, 29 Nov 2021 17:31:52 -0800 Subject: [PATCH] Add note that there is no warranty or support for generator code (#28797) * 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) --- 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 ff32ac2d5a44..90ee6d5b05f6 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. If you want to create your own Beat that uses Metricbeat as a library, see <>. diff --git a/docs/devguide/generator-support-note.asciidoc b/docs/devguide/generator-support-note.asciidoc new file mode 100644 index 000000000000..25579798ed28 --- /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 ead805eaed82..943daf8023ea 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