You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-cloud/spring-cloud-concept-metrics.md
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,43 +86,68 @@ The following tables show the available metrics and details.
86
86
>[!div class="mx-tdCol2BreakAll"]
87
87
>| Name | Spring Actuator Metric Name | Unit | Details |
88
88
>|----|----|----|------------|
89
-
>| tomcat.global.error<br><br>Tomcat Global Error (deprecated) | tomcat.global.error | Count | Number of errors occurs of processed requests |
89
+
>| TomcatErrorCount<br><br>Tomcat Global Error (deprecated) | tomcat.global.error | Count | Number of errors occurs of processed requests |
90
+
>| tomcat.global.error | tomcat.global.error | Count | Number of errors occurs of processed requests |
90
91
91
92
### Performance
92
93
>[!div class="mx-tdCol2BreakAll"]
93
94
>| Name | Spring Actuator Metric Name | Unit | Details |
94
95
>|----|----|----|------------|
95
-
>| system.cpu.usage <br><br>System CPU Usage Percentage (deprecated) | system.cpu.usage | Percent | Recent CPU usage for the whole system. This value is a double in the [0.0,1.0] interval. A value of 0.0 means that all CPUs were idle during the recent period of time observed, while a value of 1.0 means that all CPUs were actively running 100% of the time during the recent period being observed.|
96
+
>| SystemCpuUsagePercentage<br><br>System CPU Usage Percentage (deprecated) | system.cpu.usage | Percent | Recent CPU usage for the whole system. This value is a double in the [0.0,1.0] interval. A value of 0.0 means that all CPUs were idle during the recent period of time observed, while a value of 1.0 means that all CPUs were actively running 100% of the time during the recent period being observed.|
97
+
>| system.cpu.usage | system.cpu.usage | Percent | Recent CPU usage for the whole system. This value is a double in the [0.0,1.0] interval. A value of 0.0 means that all CPUs were idle during the recent period of time observed, while a value of 1.0 means that all CPUs were actively running 100% of the time during the recent period being observed.|
96
98
>| AppCpuUsagePercentage<br><br>App CPU Usage Percentage (deprecated) | App CPU Usage Percentage | Percent | Recent CPU usage for the Java Virtual Machine process. This value is a double in the [0.0,1.0] interval. A value of 0.0 means that none of the CPUs were running threads from the JVM process during the recent period of time observed, while a value of 1.0 means that all CPUs were actively running threads from the JVM 100% of the time during the recent period being observed. Threads from the JVM include the application threads as well as the JVM internal threads.|
99
+
>| process.cpu.usage | App CPU Usage Percentage | Percent | Recent CPU usage for the Java Virtual Machine process. This value is a double in the [0.0,1.0] interval. A value of 0.0 means that none of the CPUs were running threads from the JVM process during the recent period of time observed, while a value of 1.0 means that all CPUs were actively running threads from the JVM 100% of the time during the recent period being observed. Threads from the JVM include the application threads as well as the JVM internal threads.|
97
100
>| AppMemoryCommitted<br><br>App Memory Assigned (deprecated)) | jvm.memory.committed | Bytes | Represents the amount of memory that is guaranteed to be available for use by the JVM. The JVM may release memory to the system and committed could be less than init. committed will always be greater than or equal to used. |
101
+
>| jvm.memory.committed | jvm.memory.committed | Bytes | Represents the amount of memory that is guaranteed to be available for use by the JVM. The JVM may release memory to the system and committed could be less than init. committed will always be greater than or equal to used. |
98
102
>| AppMemoryUsed <br><br>App Memory Used (deprecated) | jvm.memory.used | Bytes | Represents the amount of memory currently used in bytes. |
103
+
>| jvm.memory.used | jvm.memory.used | Bytes | Represents the amount of memory currently used in bytes. |
99
104
>| AppMemoryMax<br><br>App Memory Max (deprecated) | jvm.memory.max | Bytes | Represents the maximum amount of memory that can be used for memory management. The amount of used and committed memory will always be less than or equal to max if max is defined. A memory allocation may fail if it attempts to increase the used memory such that used > committed even if used <= max would still be true (for example, when the system is low on virtual memory). |
105
+
>| jvm.memory.max | jvm.memory.max | Bytes | Represents the maximum amount of memory that can be used for memory management. The amount of used and committed memory will always be less than or equal to max if max is defined. A memory allocation may fail if it attempts to increase the used memory such that used > committed even if used <= max would still be true (for example, when the system is low on virtual memory). |
100
106
>| MaxOldGenMemoryPoolBytes<br><br>Max Available Old Generation Data Size(deprecated) | jvm.gc.max.data.size | Bytes | The peak memory usage of the old generation memory pool since the Java virtual machine was started. |
107
+
>| jvm.gc.max.data.size | jvm.gc.max.data.size | Bytes | The peak memory usage of the old generation memory pool since the Java virtual machine was started. |
101
108
>| OldGenMemoryPoolBytes<br><br>Old Generation Data Size (deprecated) | jvm.gc.live.data.size | Bytes | Size of old generation memory pool after a full GC. |
109
+
>| jvm.gc.live.data.size | jvm.gc.live.data.size | Bytes | Size of old generation memory pool after a full GC. |
102
110
>| OldGenPromotedBytes<br><br>Promote to Old Generation Data Size (deprecated) | jvm.gc.memory.promoted | Bytes | Count of positive increases in the size of the old generation memory pool before GC to after GC. |
111
+
>| jvm.gc.memory.promoted | jvm.gc.memory.promoted | Bytes | Count of positive increases in the size of the old generation memory pool before GC to after GC. |
103
112
>| YoungGenPromotedBytes<br><br>Promote to Young Generation Data Size (deprecated) | jvm.gc.memory.allocated | Bytes | Incremented for an increase in the size of the young generation memory pool after one GC to before the next. |
113
+
>| jvm.gc.memory.allocated | jvm.gc.memory.allocated | Bytes | Incremented for an increase in the size of the young generation memory pool after one GC to before the next. |
104
114
>| GCPauseTotalCount<br><br>GC Pause Count (deprecated) | jvm.gc.pause (total-count) | Count | Total GC count after this JMV started, including Young and Old GC. |
115
+
>| jvm.gc.pause.total.count | jvm.gc.pause (total-count) | Count | Total GC count after this JMV started, including Young and Old GC. |
105
116
>| GCPauseTotalTime<br><br>GC Pause Total Time (deprecated) | jvm.gc.pause (total-time) | Milliseconds | Total GC time consumed after this JMV started, including Young and Old GC. |
117
+
>| jvm.gc.pause.total.time | jvm.gc.pause (total-time) | Milliseconds | Total GC time consumed after this JMV started, including Young and Old GC. |
118
+
>| tomcat.threads.config.max ||||
119
+
>| tomcat.threads.current ||||
120
+
106
121
107
122
### Request
108
123
>[!div class="mx-tdCol2BreakAll"]
109
124
>| Name | Spring Actuator Metric Name | Unit | Details |
110
125
>|----|----|----|------------|
111
126
>| TomcatSentBytes<br><br>Tomcat Total Sent Bytes (deprecated) | tomcat.global.sent | Bytes | Amount of data Tomcat web server sent |
127
+
>| tomcat.global.sent | tomcat.global.sent | Bytes | Amount of data Tomcat web server sent |
112
128
>| TomcatReceivedBytes<br><br>Tomcat Total Received Bytes (deprecated) | tomcat.global.received | Bytes | Amount of data Tomcat web server received |
129
+
>| tomcat.global.received | tomcat.global.received | Bytes | Amount of data Tomcat web server received |
113
130
>| TomcatRequestTotalTime<br><br>Tomcat Request Total Time (deprecated) | tomcat.global.request (total-time) | Milliseconds | Total time of Tomcat web server to process the requests |
114
131
>| TomcatRequestTotalCount<br><br>Tomcat Request Total Count (deprecated) | tomcat.global.request (total-count) | Count | Total count of Tomcat web server processed requests |
132
+
>| tomcat.global.request.total.count | tomcat.global.request (total-count) | Count | Total count of Tomcat web server processed requests |
115
133
>| TomcatRequestMaxTime<br><br>Tomcat Request Max Time (deprecated) | tomcat.global.request.max | Milliseconds | Maximum time of Tomcat web server to process a request |
134
+
>| tomcat.global.request.max | tomcat.global.request.max | Milliseconds | Maximum time of Tomcat web server to process a request |
116
135
117
136
### Session
118
137
>[!div class="mx-tdCol2BreakAll"]
119
138
>| Name | Spring Actuator Metric Name | Unit | Details |
120
139
>|----|----|----|------------|
121
140
>| TomcatSessionActiveMaxCount<br><br>Tomcat Session Max Active Count (deprecated) | tomcat.sessions.active.max | Count | Maximum number of sessions that have been active at the same time |
141
+
>| tomcat.sessions.active.max | tomcat.sessions.active.max | Count | Maximum number of sessions that have been active at the same time |
122
142
>| TomcatSessionAliveMaxTime<br><br>Tomcat Session Max Alive Time (deprecated) | tomcat.sessions.alive.max | Milliseconds | Longest time (in seconds) that an expired session had been alive |
143
+
>| tomcat.sessions.alive.max | tomcat.sessions.alive.max | Milliseconds | Longest time (in seconds) that an expired session had been alive |
123
144
>| TomcatSessionCreatedCount<br><br>Tomcat Session Created Count (deprecated) | tomcat.sessions.created | Count | Number of sessions that have been created |
145
+
>| tomcat.sessions.created | tomcat.sessions.created | Count | Number of sessions that have been created |
124
146
>| TomcatSessionExpiredCount<br><br>Tomcat Session Expired Count (deprecated) | tomcat.sessions.expired | Count | Number of sessions that have expired |
147
+
>| tomcat.sessions.expired | tomcat.sessions.expired | Count | Number of sessions that have expired |
125
148
>| TomcatSessionRejectedCount<br><br>Tomcat Session Rejected Count (deprecated) | tomcat.sessions.rejected | Count | Number of sessions that were not created because the maximum number of active sessions reached. |
149
+
>| tomcat.sessions.rejected | tomcat.sessions.rejected | Count | Number of sessions that were not created because the maximum number of active sessions reached. |
150
+
>| tomcat.sessions.active.current |||
126
151
127
152
## See also
128
153
*[Getting started with Azure Metrics Explorer](https://docs.microsoft.com/azure/azure-monitor/platform/metrics-getting-started)
0 commit comments