Пример статистики для прометеуса

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# HELP callback Number of callbacks
# TYPE callback counter
callback{type="mms"} 12
# HELP callback_error Number of callback errors
# TYPE callback_error counter
callback_error{type="mms"} 1
# HELP go_gc_duration_seconds A summary of the GC invocation durations.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 1.0548e-05
go_gc_duration_seconds{quantile="0.25"} 1.4925e-05
go_gc_duration_seconds{quantile="0.5"} 3.6481e-05
go_gc_duration_seconds{quantile="0.75"} 7.4996e-05
go_gc_duration_seconds{quantile="1"} 8.3161e-05
go_gc_duration_seconds_sum 0.000321147
go_gc_duration_seconds_count 7
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 13
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.13.4"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 4.845904e+06
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 9.056232e+06
# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
# TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.446345e+06
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 19057
# HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
# TYPE go_memstats_gc_cpu_fraction gauge
go_memstats_gc_cpu_fraction 9.39410191667758e-08
# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
# TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 2.381824e+06
# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
# TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 4.845904e+06
# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
# TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 5.9858944e+07
# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
# TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 6.365184e+06
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 5714
# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
# TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 5.9695104e+07
# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
# TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 6.6224128e+07
# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
# TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 1.5752829253797271e+09
# HELP go_memstats_lookups_total Total number of pointer lookups.
# TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 0
# HELP go_memstats_mallocs_total Total number of mallocs.
# TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 24771
# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
# TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 20832
# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
# TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 32768
# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
# TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 48416
# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
# TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 65536
# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
# TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 5.9088e+06
# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
# TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 1.513263e+06
# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
# TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 884736
# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
# TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 884736
# HELP go_memstats_sys_bytes Number of bytes obtained from system.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 7.25486e+07
# HELP go_threads Number of OS threads created.
# TYPE go_threads gauge
go_threads 21
# HELP http_response Summary of answer time
# TYPE http_response summary
http_response{route="/",status="404",quantile="0.5"} NaN
http_response{route="/",status="404",quantile="0.9"} NaN
http_response{route="/",status="404",quantile="0.99"} NaN
http_response_sum{route="/",status="404"} 0.031588000000000005
http_response_count{route="/",status="404"} 1
http_response{route="//metric",status="404",quantile="0.5"} NaN
http_response{route="//metric",status="404",quantile="0.9"} NaN
http_response{route="//metric",status="404",quantile="0.99"} NaN
http_response_sum{route="//metric",status="404"} 0.009661
http_response_count{route="//metric",status="404"} 1
http_response{route="//metrica",status="404",quantile="0.5"} NaN
http_response{route="//metrica",status="404",quantile="0.9"} NaN
http_response{route="//metrica",status="404",quantile="0.99"} NaN
http_response_sum{route="//metrica",status="404"} 0.040253
http_response_count{route="//metrica",status="404"} 2
http_response{route="//metrics",status="404",quantile="0.5"} NaN
http_response{route="//metrics",status="404",quantile="0.9"} NaN
http_response{route="//metrics",status="404",quantile="0.99"} NaN
http_response_sum{route="//metrics",status="404"} 0.025632000000000002
http_response_count{route="//metrics",status="404"} 2
http_response{route="/favicon.ico",status="404",quantile="0.5"} NaN
http_response{route="/favicon.ico",status="404",quantile="0.9"} NaN
http_response{route="/favicon.ico",status="404",quantile="0.99"} NaN
http_response_sum{route="/favicon.ico",status="404"} 0.059313000000000005
http_response_count{route="/favicon.ico",status="404"} 3
http_response{route="/metrics",status="200",quantile="0.5"} 0.840431
http_response{route="/metrics",status="200",quantile="0.9"} 0.9538
http_response{route="/metrics",status="200",quantile="0.99"} 0.9538
http_response_sum{route="/metrics",status="200"} 7.227532999999999
http_response_count{route="/metrics",status="200"} 7
http_response{route="/mms/callback.php",status="200",quantile="0.5"} 1.031998
http_response{route="/mms/callback.php",status="200",quantile="0.9"} 1.310278
http_response{route="/mms/callback.php",status="200",quantile="0.99"} 15.396817
http_response_sum{route="/mms/callback.php",status="200"} 26.293601000000002
http_response_count{route="/mms/callback.php",status="200"} 12
# HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.
# TYPE promhttp_metric_handler_requests_in_flight gauge
promhttp_metric_handler_requests_in_flight 1
# HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.
# TYPE promhttp_metric_handler_requests_total counter
promhttp_metric_handler_requests_total{code="200"} 7
promhttp_metric_handler_requests_total{code="500"} 0
promhttp_metric_handler_requests_total{code="503"} 0