-
Notifications
You must be signed in to change notification settings - Fork 961
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reference doc update for system (#4598)
Co-authored-by: Jonatan Ivanov <jonatan.ivanov@gmail.com>
- Loading branch information
1 parent
afccf81
commit be6743f
Showing
6 changed files
with
60 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[[overview]] | ||
= System Metrics | ||
|
||
Micrometer provides several binders for system monitoring: | ||
|
||
* <<system-disk, Disk Space Metrics>> | ||
* <<system-file, File Descriptor Metrics>> | ||
* <<system-processor, Processor Metrics>> | ||
* <<system-uptime, Uptime Metrics>> | ||
|
||
[[system-disk]] | ||
== System Disk Space Metrics | ||
|
||
[source,java,subs=+attributes] | ||
----- | ||
// Usage example | ||
include::{include-core-test-java}/io/micrometer/core/instrument/binder/system/DiskSpaceMetricsTest.java[tags=example, indent=0] | ||
----- | ||
|
||
[[system-file]] | ||
== System File Descriptor Metrics | ||
|
||
[source,java,subs=+attributes] | ||
----- | ||
// Usage example | ||
include::{include-core-test-java}/io/micrometer/core/instrument/binder/system/FileDescriptorMetricsTest.java[tags=example, indent=0] | ||
----- | ||
|
||
[[system-processor]] | ||
== System Processor Metrics | ||
|
||
[source,java,subs=+attributes] | ||
----- | ||
// Instrumentation setup | ||
include::{include-core-test-java}/io/micrometer/core/instrument/binder/system/ProcessorMetricsTest.java[tags=setup, indent=0] | ||
// Usage example | ||
include::{include-core-test-java}/io/micrometer/core/instrument/binder/system/ProcessorMetricsTest.java[tags=example, indent=0] | ||
----- | ||
|
||
[[system-uptime]] | ||
== System Uptime Metrics | ||
|
||
[source,java,subs=+attributes] | ||
----- | ||
// Usage example | ||
include::{include-core-test-java}/io/micrometer/core/instrument/binder/system/UptimeMetricsTest.java[tags=example, indent=0] | ||
----- |
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
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