Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Always report Pod UID in the `pod` metricset. {pull}12345[12345]
- Add Vsphere Virtual Machine operating system to `os` field in Vsphere virtualmachine module. {pull}12391[12391]
- Add validation for elasticsearch and kibana modules' metricsets when xpack.enabled is set to true. {pull}12386[12386]
- Add CockroachDB module. {pull}12465[12465]
Comment thread
jsoriano marked this conversation as resolved.
Outdated

*Packetbeat*

Expand Down
10 changes: 10 additions & 0 deletions x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@ metricbeat.modules:
hosts: ["localhost:5000"]
enabled: true

#----------------------------- Cockroachdb Module -----------------------------
- module: cockroachdb
metricsets: ['status']
period: 10s
hosts: ['localhost:8080']

# This module uses the Prometheus collector metricset, all
# the options for this metricset are also available here.
#metrics_path: /_status/vars

#-------------------------------- Consul Module --------------------------------
- module: consul
metricsets:
Expand Down
8 changes: 8 additions & 0 deletions x-pack/metricbeat/module/cockroachdb/_meta/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- module: cockroachdb
metricsets: ['status']
period: 10s
hosts: ['localhost:8080']

# This module uses the Prometheus collector metricset, all
# the options for this metricset are also available here.
#metrics_path: /_status/vars
7 changes: 7 additions & 0 deletions x-pack/metricbeat/module/cockroachdb/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This module periodically fetches metrics from CockroachDB.

[float]
=== Compatibility

The CockroachDB `status` metricset is compatible with any CockroachDB version
exposing metrics in Prometheus format.
3 changes: 3 additions & 0 deletions x-pack/metricbeat/module/cockroachdb/module.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: cockroachdb
metricsets:
- status
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The CockroachDB `status` metricset collects metrics exposed by the
https://www.cockroachlabs.com/docs/v2.1/monitoring-and-alerting.html#prometheus-endpoint[Prometheus endpoint]
of CockroachDB.

Large diffs are not rendered by default.

Loading