Fix process into documentation to include garbage collectors
See gh-45631
This commit is contained in:
@@ -110,7 +110,12 @@ class InfoEndpointDocumentationTests extends MockMvcEndpointDocumentationTests {
|
||||
fieldWithPath("memory.nonHeap.used").description("The number of bytes currently being used."),
|
||||
fieldWithPath("memory.nonHeap.committed").description("The number of bytes committed for JVM use."),
|
||||
fieldWithPath("memory.nonHeap.max")
|
||||
.description("The maximum number of bytes that can be used by the JVM (or -1)."));
|
||||
.description("The maximum number of bytes that can be used by the JVM (or -1)."),
|
||||
fieldWithPath("memory.garbageCollectors").description("Details for garbage collectors."),
|
||||
fieldWithPath("memory.garbageCollectors[].name").description("Name of of the garbage collector."),
|
||||
fieldWithPath("memory.garbageCollectors[].collectionCount")
|
||||
.description("Total number of collections that have occurred."));
|
||||
|
||||
}
|
||||
|
||||
private ResponseFieldsSnippet javaInfo() {
|
||||
|
||||
Reference in New Issue
Block a user