Spring boot prometheus endpoint not work well.

Spring boot 2.2.6 
io.micrometer  1.4.2
io.prometheus 0.8.1

/actuator/prometheus

"# HELP rabbitmq_connections  \n# TYPE rabbitmq_connections 
gauge\nrabbitmq_connections{application=\"auth-service\",name=\"rabbit\",} 
1.0\n# HELP jvm_threads_live_threads The current number of live threads 
including both daemon and non-daemon threads\n# TYPE 
jvm_threads_live_threads 
gauge\njvm_threads_live_threads{application=\"auth-service\",} 35.0\n# HELP 
tomcat_sessions_expired_sessions_total  \n# TYPE 
tomcat_sessions_expired_sessions_total 
counter\ntomcat_sessions_expired_sessions_total{application=\"auth-service\",} 
0.0\n# HELP rabbitmq_acknowledged_total  \n# TYPE 
rabbitmq_acknowledged_total 
counter\nrabbitmq_acknowledged_total{application=\"auth-service\",name=\"rabbit\",}
 
0.0\n# HELP jvm_buffer_count_buffers An estimate of the number of buffers 
in the pool\n# TYPE jvm_buffer_count_buffers 
gauge\njvm_buffer_count_buffers{application=\"auth-service\",id=\"mapped\",} 
0.0\njvm_buffer_count_buffers{application=\"auth-service\",id=\"direct\",} 
3.0\n# HELP hikaricp_connections_creation_seconds_max Connection creation 
time\n# TYPE hikaricp_connections_creation_seconds_max 
gauge\nhikaricp_connections_creation_seconds_max{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP hikaricp_connections_creation_seconds Connection creation 
time\n# TYPE hikaricp_connections_creation_seconds 
summary\nhikaricp_connections_creation_seconds_count{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\nhikaricp_connections_creation_seconds_sum{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP hikaricp_connections_pending Pending threads\n# TYPE 
hikaricp_connections_pending 
gauge\nhikaricp_connections_pending{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP rabbitmq_unrouted_published_total  \n# TYPE 
rabbitmq_unrouted_published_total 
counter\nrabbitmq_unrouted_published_total{application=\"auth-service\",name=\"rabbit\",}
 
0.0\n# HELP hikaricp_connections_idle Idle connections\n# TYPE 
hikaricp_connections_idle 
gauge\nhikaricp_connections_idle{application=\"auth-service\",pool=\"HikariPool-1\",}
 
10.0\n# HELP jdbc_connections_min  \n# TYPE jdbc_connections_min 
gauge\njdbc_connections_min{application=\"auth-service\",name=\"first\",} 
10.0\n# HELP rabbitmq_rejected_total  \n# TYPE rabbitmq_rejected_total 
counter\nrabbitmq_rejected_total{application=\"auth-service\",name=\"rabbit\",} 
0.0\n# HELP jvm_threads_daemon_threads The current number of live daemon 
threads\n# TYPE jvm_threads_daemon_threads 
gauge\njvm_threads_daemon_threads{application=\"auth-service\",} 27.0\n# 
HELP jvm_gc_pause_seconds Time spent in GC pause\n# TYPE 
jvm_gc_pause_seconds summary\njvm_gc_pause_seconds_count{action=\"end of 
minor GC\",application=\"auth-service\",cause=\"G1 Evacuation Pause\",} 
8.0\njvm_gc_pause_seconds_sum{action=\"end of minor 
GC\",application=\"auth-service\",cause=\"G1 Evacuation Pause\",} 
0.202\njvm_gc_pause_seconds_count{action=\"end of minor 
GC\",application=\"auth-service\",cause=\"Metadata GC Threshold\",} 
1.0\njvm_gc_pause_seconds_sum{action=\"end of minor 
GC\",application=\"auth-service\",cause=\"Metadata GC Threshold\",} 
0.021\n# HELP jvm_gc_pause_seconds_max Time spent in GC pause\n# TYPE 
jvm_gc_pause_seconds_max gauge\njvm_gc_pause_seconds_max{action=\"end of 
minor GC\",application=\"auth-service\",cause=\"G1 Evacuation Pause\",} 
0.032\njvm_gc_pause_seconds_max{action=\"end of minor 
GC\",application=\"auth-service\",cause=\"Metadata GC Threshold\",} 
0.021\n# HELP hikaricp_connections_active Active connections\n# TYPE 
hikaricp_connections_active 
gauge\nhikaricp_connections_active{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP rabbitmq_consumed_total  \n# TYPE rabbitmq_consumed_total 
counter\nrabbitmq_consumed_total{application=\"auth-service\",name=\"rabbit\",} 
0.0\n# HELP hikaricp_connections Total connections\n# TYPE 
hikaricp_connections 
gauge\nhikaricp_connections{application=\"auth-service\",pool=\"HikariPool-1\",}
 
10.0\n# HELP jvm_classes_loaded_classes The number of classes that are 
currently loaded in the Java virtual machine\n# TYPE 
jvm_classes_loaded_classes 
gauge\njvm_classes_loaded_classes{application=\"auth-service\",} 16300.0\n# 
HELP jdbc_connections_max  \n# TYPE jdbc_connections_max 
gauge\njdbc_connections_max{application=\"auth-service\",name=\"first\",} 
10.0\n# HELP hikaricp_connections_max Max connections\n# TYPE 
hikaricp_connections_max 
gauge\nhikaricp_connections_max{application=\"auth-service\",pool=\"HikariPool-1\",}
 
10.0\n# HELP jvm_gc_max_data_size_bytes Max size of old generation memory 
pool\n# TYPE jvm_gc_max_data_size_bytes 
gauge\njvm_gc_max_data_size_bytes{application=\"auth-service\",} 
4.269801472E9\n# HELP jvm_gc_memory_allocated_bytes_total Incremented for 
an increase in the size of the young generation memory pool after one GC to 
before the next\n# TYPE jvm_gc_memory_allocated_bytes_total 
counter\njvm_gc_memory_allocated_bytes_total{application=\"auth-service\",} 
1.193279488E9\n# HELP jvm_threads_peak_threads The peak live thread count 
since the Java virtual machine started or peak was reset\n# TYPE 
jvm_threads_peak_threads 
gauge\njvm_threads_peak_threads{application=\"auth-service\",} 35.0\n# HELP 
tomcat_sessions_active_max_sessions  \n# TYPE 
tomcat_sessions_active_max_sessions 
gauge\ntomcat_sessions_active_max_sessions{application=\"auth-service\",} 
0.0\n# HELP system_cpu_usage The \"recent cpu usage\" for the whole 
system\n# TYPE system_cpu_usage 
gauge\nsystem_cpu_usage{application=\"auth-service\",} 
0.4291994639943644\n# HELP tomcat_sessions_created_sessions_total  \n# TYPE 
tomcat_sessions_created_sessions_total 
counter\ntomcat_sessions_created_sessions_total{application=\"auth-service\",} 
0.0\n# HELP process_start_time_seconds Start time of the process since unix 
epoch.\n# TYPE process_start_time_seconds 
gauge\nprocess_start_time_seconds{application=\"auth-service\",} 
1.588157126521E9\n# HELP jvm_gc_live_data_size_bytes Size of old generation 
memory pool after a full GC\n# TYPE jvm_gc_live_data_size_bytes 
gauge\njvm_gc_live_data_size_bytes{application=\"auth-service\",} 
2.8757264E7\n# HELP rabbitmq_published_total  \n# TYPE 
rabbitmq_published_total 
counter\nrabbitmq_published_total{application=\"auth-service\",name=\"rabbit\",}
 
0.0\n# HELP rabbitmq_failed_to_publish_total  \n# TYPE 
rabbitmq_failed_to_publish_total 
counter\nrabbitmq_failed_to_publish_total{application=\"auth-service\",name=\"rabbit\",}
 
0.0\n# HELP jdbc_connections_active  \n# TYPE jdbc_connections_active 
gauge\njdbc_connections_active{application=\"auth-service\",name=\"first\",} 
0.0\n# HELP tomcat_sessions_alive_max_seconds  \n# TYPE 
tomcat_sessions_alive_max_seconds 
gauge\ntomcat_sessions_alive_max_seconds{application=\"auth-service\",} 
0.0\n# HELP hikaricp_connections_min Min connections\n# TYPE 
hikaricp_connections_min 
gauge\nhikaricp_connections_min{application=\"auth-service\",pool=\"HikariPool-1\",}
 
10.0\n# HELP jvm_memory_used_bytes The amount of used memory\n# TYPE 
jvm_memory_used_bytes 
gauge\njvm_memory_used_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'non-nmethods'\",} 
1396352.0\njvm_memory_used_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Old Gen\",} 
5.1335168E7\njvm_memory_used_bytes{application=\"auth-service\",area=\"nonheap\",id=\"Compressed
 
Class Space\",} 
1.124144E7\njvm_memory_used_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'non-profiled nmethods'\",} 
8579840.0\njvm_memory_used_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Survivor Space\",} 
1.4680064E7\njvm_memory_used_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Eden Space\",} 
4.8234496E7\njvm_memory_used_bytes{application=\"auth-service\",area=\"nonheap\",id=\"Metaspace\",}
 
9.3685488E7\njvm_memory_used_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'profiled nmethods'\",} 1.9311872E7\n# HELP system_cpu_count The number of 
processors available to the Java virtual machine\n# TYPE system_cpu_count 
gauge\nsystem_cpu_count{application=\"auth-service\",} 4.0\n# HELP 
jvm_classes_unloaded_classes_total The total number of classes unloaded 
since the Java virtual machine has started execution\n# TYPE 
jvm_classes_unloaded_classes_total 
counter\njvm_classes_unloaded_classes_total{application=\"auth-service\",} 
0.0\n# HELP jvm_buffer_total_capacity_bytes An estimate of the total 
capacity of the buffers in this pool\n# TYPE 
jvm_buffer_total_capacity_bytes 
gauge\njvm_buffer_total_capacity_bytes{application=\"auth-service\",id=\"mapped\",}
 
0.0\njvm_buffer_total_capacity_bytes{application=\"auth-service\",id=\"direct\",}
 
24576.0\n# HELP jvm_memory_committed_bytes The amount of memory in bytes 
that is committed for the Java virtual machine to use\n# TYPE 
jvm_memory_committed_bytes 
gauge\njvm_memory_committed_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'non-nmethods'\",} 
2555904.0\njvm_memory_committed_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Old Gen\",} 
9.961472E7\njvm_memory_committed_bytes{application=\"auth-service\",area=\"nonheap\",id=\"Compressed
 
Class Space\",} 
1.2189696E7\njvm_memory_committed_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'non-profiled nmethods'\",} 
1.179648E7\njvm_memory_committed_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Survivor Space\",} 
1.4680064E7\njvm_memory_committed_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Eden Space\",} 
1.54140672E8\njvm_memory_committed_bytes{application=\"auth-service\",area=\"nonheap\",id=\"Metaspace\",}
 
9.6075776E7\njvm_memory_committed_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'profiled nmethods'\",} 2.326528E7\n# HELP 
rabbitmq_acknowledged_published_total  \n# TYPE 
rabbitmq_acknowledged_published_total 
counter\nrabbitmq_acknowledged_published_total{application=\"auth-service\",name=\"rabbit\",}
 
0.0\n# HELP spring_boot_info A metric with a constant '1' value labeled by 
version from which spring boot application was built.\n# TYPE 
spring_boot_info 
gauge\nspring_boot_info{application=\"auth-service\",version=\"version\",} 
1.0\n# HELP rabbitmq_channels  \n# TYPE rabbitmq_channels 
gauge\nrabbitmq_channels{application=\"auth-service\",name=\"rabbit\",} 
1.0\n# HELP build_info A metric with a constant '1' value labeled by 
version, revision, branch from which application was built.\n# TYPE 
build_info 
gauge\nbuild_info{app=\"app\",application=\"auth-service\",branch=\"branch\",revision=\"revision\",version=\"version\",}
 
1.0\n# HELP rabbitmq_not_acknowledged_published_total  \n# TYPE 
rabbitmq_not_acknowledged_published_total 
counter\nrabbitmq_not_acknowledged_published_total{application=\"auth-service\",name=\"rabbit\",}
 
0.0\n# HELP jvm_gc_memory_promoted_bytes_total Count of positive increases 
in the size of the old generation memory pool before GC to after GC\n# TYPE 
jvm_gc_memory_promoted_bytes_total 
counter\njvm_gc_memory_promoted_bytes_total{application=\"auth-service\",} 
3.906072E7\n# HELP hikaricp_connections_usage_seconds Connection usage 
time\n# TYPE hikaricp_connections_usage_seconds 
summary\nhikaricp_connections_usage_seconds_count{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\nhikaricp_connections_usage_seconds_sum{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP hikaricp_connections_usage_seconds_max Connection usage time\n# 
TYPE hikaricp_connections_usage_seconds_max 
gauge\nhikaricp_connections_usage_seconds_max{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP http_server_requests_seconds  \n# TYPE 
http_server_requests_seconds 
summary\nhttp_server_requests_seconds_count{application=\"auth-service\",exception=\"None\",method=\"GET\",outcome=\"SUCCESS\",status=\"200\",uri=\"/actuator/prometheus\",}
 
2.0\nhttp_server_requests_seconds_sum{application=\"auth-service\",exception=\"None\",method=\"GET\",outcome=\"SUCCESS\",status=\"200\",uri=\"/actuator/prometheus\",}
 
2.8990479\n# HELP http_server_requests_seconds_max  \n# TYPE 
http_server_requests_seconds_max 
gauge\nhttp_server_requests_seconds_max{application=\"auth-service\",exception=\"None\",method=\"GET\",outcome=\"SUCCESS\",status=\"200\",uri=\"/actuator/prometheus\",}
 
2.6356942\n# HELP tomcat_sessions_rejected_sessions_total  \n# TYPE 
tomcat_sessions_rejected_sessions_total 
counter\ntomcat_sessions_rejected_sessions_total{application=\"auth-service\",} 
0.0\n# HELP jvm_threads_states_threads The current number of threads having 
NEW state\n# TYPE jvm_threads_states_threads 
gauge\njvm_threads_states_threads{application=\"auth-service\",state=\"timed-waiting\",}
 
11.0\njvm_threads_states_threads{application=\"auth-service\",state=\"terminated\",}
 
0.0\njvm_threads_states_threads{application=\"auth-service\",state=\"runnable\",}
 
9.0\njvm_threads_states_threads{application=\"auth-service\",state=\"new\",} 
0.0\njvm_threads_states_threads{application=\"auth-service\",state=\"waiting\",}
 
15.0\njvm_threads_states_threads{application=\"auth-service\",state=\"blocked\",}
 
0.0\n# HELP jvm_memory_max_bytes The maximum amount of memory in bytes that 
can be used for memory management\n# TYPE jvm_memory_max_bytes 
gauge\njvm_memory_max_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'non-nmethods'\",} 
5832704.0\njvm_memory_max_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Old Gen\",} 
4.269801472E9\njvm_memory_max_bytes{application=\"auth-service\",area=\"nonheap\",id=\"Compressed
 
Class Space\",} 
1.073741824E9\njvm_memory_max_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'non-profiled nmethods'\",} 
1.22945536E8\njvm_memory_max_bytes{application=\"auth-service\",area=\"heap\",id=\"G1
 
Survivor Space\",} 
-1.0\njvm_memory_max_bytes{application=\"auth-service\",area=\"heap\",id=\"G1 
Eden Space\",} 
-1.0\njvm_memory_max_bytes{application=\"auth-service\",area=\"nonheap\",id=\"Metaspace\",}
 
-1.0\njvm_memory_max_bytes{application=\"auth-service\",area=\"nonheap\",id=\"CodeHeap
 
'profiled nmethods'\",} 1.2288E8\n# HELP hikaricp_connections_timeout_total 
Connection timeout total count\n# TYPE hikaricp_connections_timeout_total 
counter\nhikaricp_connections_timeout_total{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP jdbc_connections_idle  \n# TYPE jdbc_connections_idle 
gauge\njdbc_connections_idle{application=\"auth-service\",name=\"first\",} 
10.0\n# HELP logback_events_total Number of error level events that made it 
to the logs\n# TYPE logback_events_total 
counter\nlogback_events_total{application=\"auth-service\",level=\"info\",} 
59.0\nlogback_events_total{application=\"auth-service\",level=\"warn\",} 
4.0\nlogback_events_total{application=\"auth-service\",level=\"error\",} 
0.0\nlogback_events_total{application=\"auth-service\",level=\"trace\",} 
0.0\nlogback_events_total{application=\"auth-service\",level=\"debug\",} 
1372.0\n# HELP hikaricp_connections_acquire_seconds Connection acquire 
time\n# TYPE hikaricp_connections_acquire_seconds 
summary\nhikaricp_connections_acquire_seconds_count{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\nhikaricp_connections_acquire_seconds_sum{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP hikaricp_connections_acquire_seconds_max Connection acquire 
time\n# TYPE hikaricp_connections_acquire_seconds_max 
gauge\nhikaricp_connections_acquire_seconds_max{application=\"auth-service\",pool=\"HikariPool-1\",}
 
0.0\n# HELP tomcat_sessions_active_current_sessions  \n# TYPE 
tomcat_sessions_active_current_sessions 
gauge\ntomcat_sessions_active_current_sessions{application=\"auth-service\",} 
0.0\n# HELP jvm_buffer_memory_used_bytes An estimate of the memory that the 
Java virtual machine is using for this buffer pool\n# TYPE 
jvm_buffer_memory_used_bytes 
gauge\njvm_buffer_memory_used_bytes{application=\"auth-service\",id=\"mapped\",}
 
0.0\njvm_buffer_memory_used_bytes{application=\"auth-service\",id=\"direct\",} 
24576.0\n# HELP process_uptime_seconds The uptime of the Java virtual 
machine\n# TYPE process_uptime_seconds 
gauge\nprocess_uptime_seconds{application=\"auth-service\",} 98.6\n# HELP 
process_cpu_usage The \"recent cpu usage\" for the Java Virtual Machine 
process\n# TYPE process_cpu_usage 
gauge\nprocess_cpu_usage{application=\"auth-service\",} 
0.020672220022453006\n"

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/8cb895d1-51c4-466c-b415-06794dc42f12%40googlegroups.com.

Reply via email to