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

Mark Golang module and metricsets as beta #6711

Merged
merged 2 commits into from
Apr 4, 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
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