Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add release tag to metricset templates #10657

Merged
merged 2 commits into from
Feb 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ The list below covers the major changes between 7.0.0-alpha2 and master only.
- Introduce ILM and IndexManagment support to beat.Settings. {pull}10347[10347]
- Introduce ILM and IndexManagement support to beat.Settings. {pull}10347[10347]
- Generating index pattern on demand instead of shipping them in the packages. {pull}10478[10478]
- Metricset generator generates beta modules by default now. {pull}10657[10657]
3 changes: 1 addition & 2 deletions metricbeat/scripts/module/fields.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
- key: {module}
title: "{module}"
release: beta
description: >
experimental[]

{module} module
fields:
- name: {module}
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/scripts/module/metricset/metricset.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type MetricSet struct {
// New creates a new instance of the MetricSet. New is responsible for unpacking
// any MetricSet specific configuration options if there are any.
func New(base mb.BaseMetricSet) (mb.MetricSet, error) {
cfgwarn.Experimental("The {module} {metricset} metricset is experimental.")
cfgwarn.Beta("The {module} {metricset} metricset is beta.")

config := struct{}{}
if err := base.Module().UnpackConfig(&config); err != nil {
Expand Down