Skip to content
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