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

Clean up experimental and beta messages #7659

Merged
merged 1 commit into from
Jul 20, 2018
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
3 changes: 2 additions & 1 deletion heartbeat/beater/heartbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
"github.com/elastic/beats/heartbeat/config"
"github.com/elastic/beats/heartbeat/monitors"
"github.com/elastic/beats/heartbeat/scheduler"
"github.com/elastic/beats/libbeat/common/cfgwarn"
)

type Heartbeat struct {
Expand All @@ -38,7 +39,7 @@ type Heartbeat struct {
}

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error) {
logp.Warn("Beta: Heartbeat is beta software")
cfgwarn.Beta("Heartbeat is beta software")

config := config.DefaultConfig
if err := cfg.Unpack(&config); err != nil {
Expand Down
3 changes: 2 additions & 1 deletion libbeat/plugin/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"flag"
"strings"

"github.com/elastic/beats/libbeat/common/cfgwarn"
"github.com/elastic/beats/libbeat/logp"
)

Expand Down Expand Up @@ -54,7 +55,7 @@ func init() {

func Initialize() error {
if len(plugins.paths) > 0 {
logp.Warn("EXPERIMENTAL: loadable plugin support is experimental")
cfgwarn.Experimental("loadable plugin support is experimental")
}

for _, path := range plugins.paths {
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/ceph/osd_df/osd_df.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type MetricSet struct {
}

func New(base mb.BaseMetricSet) (mb.MetricSet, error) {
cfgwarn.Beta("The ceph osd_df metricset is experimental")
cfgwarn.Experimental("The ceph osd_df metricset is experimental")

http, err := helper.NewHTTP(base)
if err != nil {
Expand Down