forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Metricbeat] Update Ceph module to support new API (elastic#16254)
* add new ceph metricsets * adjust system tests (cherry picked from commit 273c6a8)
- Loading branch information
Showing
99 changed files
with
2,636 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-ceph-mgr_cluster_disk]] | ||
=== Ceph mgr_cluster_disk metricset | ||
|
||
beta[] | ||
|
||
include::../../../module/ceph/mgr_cluster_disk/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-ceph,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/ceph/mgr_cluster_disk/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-ceph-mgr_cluster_health]] | ||
=== Ceph mgr_cluster_health metricset | ||
|
||
beta[] | ||
|
||
include::../../../module/ceph/mgr_cluster_health/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-ceph,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/ceph/mgr_cluster_health/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-ceph-mgr_osd_perf]] | ||
=== Ceph mgr_osd_perf metricset | ||
|
||
beta[] | ||
|
||
include::../../../module/ceph/mgr_osd_perf/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-ceph,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/ceph/mgr_osd_perf/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-ceph-mgr_osd_pool_stats]] | ||
=== Ceph mgr_osd_pool_stats metricset | ||
|
||
beta[] | ||
|
||
include::../../../module/ceph/mgr_osd_pool_stats/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-ceph,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/ceph/mgr_osd_pool_stats/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-ceph-mgr_osd_tree]] | ||
=== Ceph mgr_osd_tree metricset | ||
|
||
beta[] | ||
|
||
include::../../../module/ceph/mgr_osd_tree/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-ceph,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/ceph/mgr_osd_tree/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-ceph-mgr_pool_disk]] | ||
=== Ceph mgr_pool_disk metricset | ||
|
||
beta[] | ||
|
||
include::../../../module/ceph/mgr_pool_disk/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-ceph,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/ceph/mgr_pool_disk/_meta/data.json[] | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ARG CEPH_VERSION | ||
FROM ceph/daemon:${CEPH_VERSION} | ||
|
||
RUN yum -q install -y jq && yum clean all && rm -fr /var/cache/yum | ||
|
||
# Wait for the health endpoint to have monitors information | ||
ADD healthcheck.sh / | ||
HEALTHCHECK --interval=1s --retries=300 CMD /healthcheck.sh | ||
|
||
EXPOSE 5000 8003 9283 | ||
|
||
ENV NETWORK_AUTO_DETECT 4 | ||
ENV CEPH_DAEMON demo | ||
ENV CEPH_DEMO_UID beats | ||
ENV CEPH_DEMO_BUCKET beats | ||
ENV CEPH_DEMO_ACCESS_KEY demo | ||
ENV CEPH_DEMO_SECRET_KEY demo | ||
|
||
CMD ["demo"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
- module: ceph | ||
metricsets: | ||
- mgr_cluster_health | ||
period: 10s | ||
hosts: [ "https://localhost:8003" ] | ||
#username: "user" | ||
#password: "secret" | ||
|
||
- module: ceph | ||
metricsets: | ||
- mgr_cluster_disk | ||
- mgr_cluster_health | ||
- mgr_osd_disk | ||
- mgr_osd_perf | ||
# - mgr_osd_pool_stats | ||
# - mgr_osd_tree | ||
period: 1m | ||
hosts: [ "https://localhost:8003" ] | ||
#username: "user" | ||
#password: "secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.