Skip to content

Commit

Permalink
Mark Golang module and metricsets as beta (#6711)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin authored and jsoriano committed Apr 4, 2018
1 parent 1a25c91 commit 90af715
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di
- Set all metricsets as default metricsets in uwsgi module. {pull}6688[6688]
- Mark kubernetes.event metricset as beta. {pull}6715[6715]
- Set all metricsets as default metricsets in couchbase module. {pull}6683[6683]
- Mark Golang module and metricsets as beta. {pull}6711[6711]
- Mark system.raid metricset as beta. {pull}6710[6710]
- Mark http.server metricset as beta. {pull}6712[6712]
- Mark metricbeat logstash module and metricsets as beta. {pull}6713[6713]
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/modules/golang.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This file is generated! See scripts/docs_collector.py
[[metricbeat-module-golang]]
== Golang module

experimental[]
beta[]

The golang module collects metrics by submitting HTTP GET requests to https://golang.org/pkg/expvar/[golang-expvar-api].

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/modules/golang/expvar.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This file is generated! See scripts/docs_collector.py
[[metricbeat-metricset-golang-expvar]]
=== Golang expvar metricset

experimental[]
beta[]

include::../../../module/golang/expvar/_meta/docs.asciidoc[]

Expand Down
2 changes: 1 addition & 1 deletion metricbeat/docs/modules/golang/heap.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This file is generated! See scripts/docs_collector.py
[[metricbeat-metricset-golang-heap]]
=== Golang heap metricset

experimental[]
beta[]

include::../../../module/golang/heap/_meta/docs.asciidoc[]

Expand Down
6 changes: 3 additions & 3 deletions metricbeat/docs/modules_list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ This file is generated! See scripts/docs_collector.py
.3+| |<<metricbeat-metricset-etcd-leader,leader>> beta[]
|<<metricbeat-metricset-etcd-self,self>> beta[]
|<<metricbeat-metricset-etcd-store,store>> beta[]
|<<metricbeat-module-golang,Golang>> experimental[] |
.2+| |<<metricbeat-metricset-golang-expvar,expvar>> experimental[]
|<<metricbeat-metricset-golang-heap,heap>> experimental[]
|<<metricbeat-module-golang,Golang>> beta[] |
.2+| |<<metricbeat-metricset-golang-expvar,expvar>> beta[]
|<<metricbeat-metricset-golang-heap,heap>> beta[]
|<<metricbeat-module-graphite,Graphite>> beta[] |
.1+| |<<metricbeat-metricset-graphite-server,server>> beta[]
|<<metricbeat-module-haproxy,HAProxy>> |
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/golang/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
description: >
Golang module
short_config: false
release: experimental
release: beta
settings: ["ssl"]
fields:
- name: golang
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/golang/expvar/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
type: group
description: >
expvar
release: experimental
release: beta
fields:
- name: cmdline
type: keyword
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/golang/expvar/expvar.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type MetricSet struct {
// Part of new is also setting up the configuration by processing additional
// configuration entries if needed.
func New(base mb.BaseMetricSet) (mb.MetricSet, error) {
cfgwarn.Experimental("The golang expvar metricset is experimental")
cfgwarn.Beta("The golang expvar metricset is beta")

config := struct {
Namespace string `config:"expvar.namespace" validate:"required"`
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/golang/heap/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
type: group
description: >
The golang program heap information exposed by expvar.
release: experimental
release: beta
fields:
- name: cmdline
type: keyword
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/golang/heap/heap.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type MetricSet struct {
// Part of new is also setting up the configuration by processing additional
// configuration entries if needed.
func New(base mb.BaseMetricSet) (mb.MetricSet, error) {
cfgwarn.Experimental("The golang heap metricset is experimental")
cfgwarn.Beta("The golang heap metricset is beta")

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

0 comments on commit 90af715

Please sign in to comment.