@@ -122,23 +122,23 @@ protected MetricsVerifier createMetricsVerifier() {
122122 "jvm.memory.nonheap.committed" ,
123123 metric ->
124124 metric
125- .hasDescription ("current non-heap usage " )
125+ .hasDescription ("current non-heap size " )
126126 .hasUnit ("By" )
127127 .isGauge ()
128128 .hasDataPointsWithoutAttributes ())
129129 .add (
130130 "jvm.memory.nonheap.init" ,
131131 metric ->
132132 metric
133- .hasDescription ("current non-heap usage " )
133+ .hasDescription ("initial non-heap size " )
134134 .hasUnit ("By" )
135135 .isGauge ()
136136 .hasDataPointsWithoutAttributes ())
137137 .add (
138138 "jvm.memory.nonheap.max" ,
139139 metric ->
140140 metric
141- .hasDescription ("current non-heap usage " )
141+ .hasDescription ("max non-heap size " )
142142 .hasUnit ("By" )
143143 .isGauge ()
144144 .hasDataPointsWithoutAttributes ())
@@ -154,23 +154,23 @@ protected MetricsVerifier createMetricsVerifier() {
154154 "jvm.memory.pool.committed" ,
155155 metric ->
156156 metric
157- .hasDescription ("current memory pool usage " )
157+ .hasDescription ("current memory pool size " )
158158 .hasUnit ("By" )
159159 .isGauge ()
160160 .hasDataPointsWithAttributes (memoryAttributes ))
161161 .add (
162162 "jvm.memory.pool.init" ,
163163 metric ->
164164 metric
165- .hasDescription ("current memory pool usage " )
165+ .hasDescription ("initial memory pool size " )
166166 .hasUnit ("By" )
167167 .isGauge ()
168168 .hasDataPointsWithAttributes (memoryAttributes ))
169169 .add (
170170 "jvm.memory.pool.max" ,
171171 metric ->
172172 metric
173- .hasDescription ("current memory pool usage " )
173+ .hasDescription ("max memory pool size " )
174174 .hasUnit ("By" )
175175 .isGauge ()
176176 .hasDataPointsWithAttributes (memoryAttributes ))
0 commit comments