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

[WIP] go http based memory profiling metric set #2573

Closed
wants to merge 10 commits into from
Closed
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
612 changes: 612 additions & 0 deletions metricbeat/docs/fields.asciidoc

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions metricbeat/docs/modules/goprof.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
////
This file is generated! See scripts/docs_collector.py
////

[[metricbeat-module-goprof]]
== goprof Module

This is the goprof Module.



[float]
=== Example Configuration

The goprof module supports the standard configuration options that are described
in <<configuration-metricbeat>>. Here is an example configuration:

[source,yaml]
----
metricbeat.modules:
#- module: goprof
#metricsets: ["memstats", "memprof"]
#enabled: true
#period: 30s
#hosts: ["localhost:6060"]
----

[float]
=== Metricsets

The following metricsets are available:

* <<metricbeat-metricset-goprof-memprof,memprof>>

* <<metricbeat-metricset-goprof-memstats,memstats>>

include::goprof/memprof.asciidoc[]

include::goprof/memstats.asciidoc[]

19 changes: 19 additions & 0 deletions metricbeat/docs/modules/goprof/memprof.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
////
This file is generated! See scripts/docs_collector.py
////

[[metricbeat-metricset-goprof-memprof]]
include::../../../module/goprof/memprof/_meta/docs.asciidoc[]


==== Fields

For a description of each field in the metricset, see the
<<exported-fields-goprof,exported fields>> section.

Here is an example document generated by this metricset:

[source,json]
----
include::../../../module/goprof/memprof/_meta/data.json[]
----
19 changes: 19 additions & 0 deletions metricbeat/docs/modules/goprof/memstats.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
////
This file is generated! See scripts/docs_collector.py
////

[[metricbeat-metricset-goprof-memstats]]
include::../../../module/goprof/memstats/_meta/docs.asciidoc[]


==== Fields

For a description of each field in the metricset, see the
<<exported-fields-goprof,exported fields>> section.

Here is an example document generated by this metricset:

[source,json]
----
include::../../../module/goprof/memstats/_meta/data.json[]
----
7 changes: 7 additions & 0 deletions metricbeat/etc/beat.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ metricbeat.modules:
#vars_path: /debug/vars


#------------------------------- goprof Module -------------------------------
#- module: goprof
#metricsets: ["memstats", "memprof"]
#enabled: true
#period: 30s
#hosts: ["localhost:6060"]

#------------------------------- haproxy Module ------------------------------
#- module: haproxy
#metricsets: [stat, info]
Expand Down
7 changes: 7 additions & 0 deletions metricbeat/etc/beat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,11 @@ metricbeat.modules:
period: 10s
processes: ['.*']

#------------------------------- goprof Module -------------------------------
#- module: goprof
#metricsets: ["memstats", "memprof"]
#enabled: true
#period: 30s
#hosts: ["localhost:6060"]


Loading