Skip to content

Commit

Permalink
Add note that there is no warranty or support for generator code (#28797
Browse files Browse the repository at this point in the history
)

* 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 73a2e55)
  • Loading branch information
dedemorton authored and mergify-bot committed Nov 30, 2021
1 parent 0b67440 commit e3bf3b9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/devguide/create-metricset.asciidoc
Original file line number Diff line number Diff line change
@@ -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 <<creating-beat-from-metricbeat>>.
Expand Down
13 changes: 13 additions & 0 deletions docs/devguide/generator-support-note.asciidoc
Original file line number Diff line number Diff line change
@@ -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[]
2 changes: 2 additions & 0 deletions docs/devguide/modules-dev-guide.asciidoc
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e3bf3b9

Please sign in to comment.