监控Prometheus , metrics显示状态down

Blade 未结 1 729
94759413
94759413 剑圣 2021-07-14 16:33

一、该问题的重现步骤是什么?

使用docker 部署 Prometheus 能够启动但是,metrics 显示down状


二、你期待的结果是什么?实际看到的又是什么?

能够显示 up

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

Prometheus   2.28.1

centos 7

四、请提供详细的错误堆栈信息,这很重要。


五、若有更多详细信息,请在下面提供。

image.png

image.png

# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 7.0557e-05
go_gc_duration_seconds{quantile="0.25"} 7.4205e-05
go_gc_duration_seconds{quantile="0.5"} 0.000134694
go_gc_duration_seconds{quantile="0.75"} 0.000281486
go_gc_duration_seconds{quantile="1"} 0.000354239
go_gc_duration_seconds_sum 0.002327878
go_gc_duration_seconds_count 13
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 29
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.16.5"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 1.2477376e+07
# 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 5.8404136e+07
# 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.454145e+06
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 82533
# 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 1.0002211314069899e-05
# 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 5.64312e+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 1.2477376e+07
# 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.1208192e+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 1.5081472e+07
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 58802
# 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 4.9963008e+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.6289664e+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.6262515592604108e+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 141335
# 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 4800
# 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 16384
# 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 170544
# 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 180224
# 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 2.4597504e+07
# 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 915543
# 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 819200
# 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 819200
# HELP go_memstats_sys_bytes Number of bytes obtained from system.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 7.531828e+07
# HELP go_threads Number of OS threads created.
# TYPE go_threads gauge
go_threads 10
# HELP net_conntrack_dialer_conn_attempted_total Total number of connections attempted by the given dialer a given name.
# TYPE net_conntrack_dialer_conn_attempted_total counter
net_conntrack_dialer_conn_attempted_total{dialer_name="alertmanager"} 0
net_conntrack_dialer_conn_attempted_total{dialer_name="default"} 0
net_conntrack_dialer_conn_attempted_total{dialer_name="prometheus"} 63
# HELP net_conntrack_dialer_conn_closed_total Total number of connections closed which originated from the dialer of a given name.
# TYPE net_conntrack_dialer_conn_closed_total counter
net_conntrack_dialer_conn_closed_total{dialer_name="alertmanager"} 0
net_conntrack_dialer_conn_closed_total{dialer_name="default"} 0
net_conntrack_dialer_conn_closed_total{dialer_name="prometheus"} 0
# HELP net_conntrack_dialer_conn_established_total Total number of connections successfully established by the given dialer a given name.
# TYPE net_conntrack_dialer_conn_established_total counter
net_conntrack_dialer_conn_established_total{dialer_name="alertmanager"} 0
net_conntrack_dialer_conn_established_total{dialer_name="default"} 0
net_conntrack_dialer_conn_established_total{dialer_name="prometheus"} 0
# HELP net_conntrack_dialer_conn_failed_total Total number of connections failed to dial by the dialer a given name.
# TYPE net_conntrack_dialer_conn_failed_total counter
net_conntrack_dialer_conn_failed_total{dialer_name="alertmanager",reason="refused"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="alertmanager",reason="resolution"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="alertmanager",reason="timeout"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="alertmanager",reason="unknown"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="default",reason="refused"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="default",reason="resolution"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="default",reason="timeout"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="default",reason="unknown"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="prometheus",reason="refused"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="prometheus",reason="resolution"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="prometheus",reason="timeout"} 0
net_conntrack_dialer_conn_failed_total{dialer_name="prometheus",reason="unknown"} 63
# HELP net_conntrack_listener_conn_accepted_total Total number of connections opened to the listener of a given name.
# TYPE net_conntrack_listener_conn_accepted_total counter
net_conntrack_listener_conn_accepted_total{listener_name="http"} 5
# HELP net_conntrack_listener_conn_closed_total Total number of connections closed that were made to the listener of a given name.
# TYPE net_conntrack_listener_conn_closed_total counter
net_conntrack_listener_conn_closed_total{listener_name="http"} 3
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 1.49
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1.048576e+06
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 13
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 4.7857664e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.62625067886e+09
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 7.97315072e+08
# HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.
# TYPE process_virtual_memory_max_bytes gauge
process_virtual_memory_max_bytes 1.8446744073709552e+19
# HELP prometheus_api_remote_read_queries The current number of remote read queries being executed or waiting.
# TYPE prometheus_api_remote_read_queries gauge
prometheus_api_remote_read_queries 0
# HELP prometheus_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which prometheus was built.
# TYPE prometheus_build_info gauge
prometheus_build_info{branch="HEAD",goversion="go1.16.5",revision="b0944590a1c9a6b35dc5a696869f75f422b107a1",version="2.28.1"} 1
# HELP prometheus_config_last_reload_success_timestamp_seconds Timestamp of the last successful configuration reload.
# TYPE prometheus_config_last_reload_success_timestamp_seconds gauge
prometheus_config_last_reload_success_timestamp_seconds 1.626250679297447e+09
# HELP prometheus_config_last_reload_successful Whether the last configuration reload attempt was successful.
# TYPE prometheus_config_last_reload_successful gauge
prometheus_config_last_reload_successful 1
# HELP prometheus_engine_queries The current number of queries being executed or waiting.
# TYPE prometheus_engine_queries gauge
prometheus_engine_queries 0
# HELP prometheus_engine_queries_concurrent_max The max number of concurrent queries.
# TYPE prometheus_engine_queries_concurrent_max gauge
prometheus_engine_queries_concurrent_max 20
# HELP prometheus_engine_query_duration_seconds Query timings
# TYPE prometheus_engine_query_duration_seconds summary
prometheus_engine_query_duration_seconds{slice="inner_eval",quantile="0.5"} NaN
prometheus_engine_query_duration_seconds{slice="inner_eval",quantile="0.9"} NaN
prometheus_engine_query_duration_seconds{slice="inner_eval",quantile="0.99"} NaN
prometheus_engine_query_duration_seconds_sum{slice="inner_eval"} 5.4729000000000004e-05
prometheus_engine_query_duration_seconds_count{slice="inner_eval"} 4
prometheus_engine_query_duration_seconds{slice="prepare_time",quantile="0.5"} NaN
prometheus_engine_query_duration_seconds{slice="prepare_time",quantile="0.9"} NaN
prometheus_engine_query_duration_seconds{slice="prepare_time",quantile="0.99"} NaN
prometheus_engine_query_duration_seconds_sum{slice="prepare_time"} 0.00016503499999999998
prometheus_engine_query_duration_seconds_count{slice="prepare_time"} 4
prometheus_engine_query_duration_seconds{slice="queue_time",quantile="0.5"} NaN
prometheus_engine_query_duration_seconds{slice="queue_time",quantile="0.9"} NaN
prometheus_engine_query_duration_seconds{slice="queue_time",quantile="0.99"} NaN
prometheus_engine_query_duration_seconds_sum{slice="queue_time"} 8.038799999999999e-05
prometheus_engine_query_duration_seconds_count{slice="queue_time"} 4
prometheus_engine_query_duration_seconds{slice="result_sort",quantile="0.5"} NaN
prometheus_engine_query_duration_seconds{slice="result_sort",quantile="0.9"} NaN
prometheus_engine_query_duration_seconds{slice="result_sort",quantile="0.99"} NaN
prometheus_engine_query_duration_seconds_sum{slice="result_sort"} 0
prometheus_engine_query_duration_seconds_count{slice="result_sort"} 0
# HELP prometheus_engine_query_log_enabled State of the query log.
# TYPE prometheus_engine_query_log_enabled gauge
prometheus_engine_query_log_enabled 0
# HELP prometheus_engine_query_log_failures_total The number of query log failures.
# TYPE prometheus_engine_query_log_failures_total counter
prometheus_engine_query_log_failures_total 0
# HELP prometheus_http_request_duration_seconds Histogram of latencies for HTTP requests.
# TYPE prometheus_http_request_duration_seconds histogram
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="0.1"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="0.2"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="0.4"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="1"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="3"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="8"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="20"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="60"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="120"} 26
prometheus_http_request_duration_seconds_bucket{handler="/-/ready",le="+Inf"} 26
prometheus_http_request_duration_seconds_sum{handler="/-/ready"} 0.000216613
prometheus_http_request_duration_seconds_count{handler="/-/ready"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="0.1"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="0.2"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="0.4"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="1"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="3"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="8"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="20"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="60"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="120"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/label/:name/values",le="+Inf"} 4
prometheus_http_request_duration_seconds_sum{handler="/api/v1/label/:name/values"} 0.0010772140000000002
prometheus_http_request_duration_seconds_count{handler="/api/v1/label/:name/values"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="0.1"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="0.2"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="0.4"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="1"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="3"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="8"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="20"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="60"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="120"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/query",le="+Inf"} 4
prometheus_http_request_duration_seconds_sum{handler="/api/v1/query"} 0.0018496049999999998
prometheus_http_request_duration_seconds_count{handler="/api/v1/query"} 4
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="0.1"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="0.2"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="0.4"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="1"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="3"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="8"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="20"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="60"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="120"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/rules",le="+Inf"} 2
prometheus_http_request_duration_seconds_sum{handler="/api/v1/rules"} 0.00053429
prometheus_http_request_duration_seconds_count{handler="/api/v1/rules"} 2
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="0.1"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="0.2"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="0.4"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="1"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="3"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="8"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="20"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="60"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="120"} 26
prometheus_http_request_duration_seconds_bucket{handler="/api/v1/targets",le="+Inf"} 26
prometheus_http_request_duration_seconds_sum{handler="/api/v1/targets"} 0.007727156999999999
prometheus_http_request_duration_seconds_count{handler="/api/v1/targets"} 26
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="0.1"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="0.2"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="0.4"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="1"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="3"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="8"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="20"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="60"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="120"} 25
prometheus_http_request_duration_seconds_bucket{handler="/favicon.ico",le="+Inf"} 25
prometheus_http_request_duration_seconds_sum{handler="/favicon.ico"} 0.009683489
prometheus_http_request_duration_seconds_count{handler="/favicon.ico"} 25
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="0.1"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="0.2"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="0.4"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="1"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="3"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="8"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="20"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="60"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="120"} 2
prometheus_http_request_duration_seconds_bucket{handler="/graph",le="+Inf"} 2
prometheus_http_request_duration_seconds_sum{handler="/graph"} 0.00029827
prometheus_http_request_duration_seconds_count{handler="/graph"} 2
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="0.1"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="0.2"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="0.4"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="1"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="3"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="8"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="20"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="60"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="120"} 5
prometheus_http_request_duration_seconds_bucket{handler="/metrics",le="+Inf"} 5
prometheus_http_request_duration_seconds_sum{handler="/metrics"} 0.014151243
prometheus_http_request_duration_seconds_count{handler="/metrics"} 5
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="0.1"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="0.2"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="0.4"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="1"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="3"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="8"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="20"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="60"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="120"} 21
prometheus_http_request_duration_seconds_bucket{handler="/targets",le="+Inf"} 21
prometheus_http_request_duration_seconds_sum{handler="/targets"} 0.002517429
prometheus_http_request_duration_seconds_count{handler="/targets"} 21
# HELP prometheus_http_requests_total Counter of HTTP requests.
# TYPE prometheus_http_requests_total counter
prometheus_http_requests_total{code="200",handler="/-/ready"} 26
prometheus_http_requests_total{code="200",handler="/api/v1/label/:name/values"} 4
prometheus_http_requests_total{code="200",handler="/api/v1/query"} 4
prometheus_http_requests_total{code="200",handler="/api/v1/rules"} 2
prometheus_http_requests_total{code="200",handler="/api/v1/targets"} 26
prometheus_http_requests_total{code="200",handler="/favicon.ico"} 25
prometheus_http_requests_total{code="200",handler="/graph"} 2
prometheus_http_requests_total{code="200",handler="/metrics"} 5
prometheus_http_requests_total{code="200",handler="/targets"} 21
# HELP prometheus_http_response_size_bytes Histogram of response size for HTTP requests.
# TYPE prometheus_http_response_size_bytes histogram
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="100"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="1000"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="10000"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="100000"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="1e+06"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="1e+07"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="1e+08"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="1e+09"} 26
prometheus_http_response_size_bytes_bucket{handler="/-/ready",le="+Inf"} 26
prometheus_http_response_size_bytes_sum{handler="/-/ready"} 546
prometheus_http_response_size_bytes_count{handler="/-/ready"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="100"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="1000"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="10000"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="100000"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="1e+06"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="1e+07"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="1e+08"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="1e+09"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/label/:name/values",le="+Inf"} 4
prometheus_http_response_size_bytes_sum{handler="/api/v1/label/:name/values"} 368
prometheus_http_response_size_bytes_count{handler="/api/v1/label/:name/values"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="100"} 0
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="1000"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="10000"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="100000"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="1e+06"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="1e+07"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="1e+08"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="1e+09"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/query",le="+Inf"} 4
prometheus_http_response_size_bytes_sum{handler="/api/v1/query"} 416
prometheus_http_response_size_bytes_count{handler="/api/v1/query"} 4
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="100"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="1000"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="10000"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="100000"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="1e+06"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="1e+07"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="1e+08"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="1e+09"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/rules",le="+Inf"} 2
prometheus_http_response_size_bytes_sum{handler="/api/v1/rules"} 140
prometheus_http_response_size_bytes_count{handler="/api/v1/rules"} 2
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="100"} 1
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="1000"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="10000"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="100000"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="1e+06"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="1e+07"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="1e+08"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="1e+09"} 26
prometheus_http_response_size_bytes_bucket{handler="/api/v1/targets",le="+Inf"} 26
prometheus_http_response_size_bytes_sum{handler="/api/v1/targets"} 8207
prometheus_http_response_size_bytes_count{handler="/api/v1/targets"} 26
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="100"} 0
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="1000"} 0
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="10000"} 0
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="100000"} 25
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="1e+06"} 25
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="1e+07"} 25
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="1e+08"} 25
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="1e+09"} 25
prometheus_http_response_size_bytes_bucket{handler="/favicon.ico",le="+Inf"} 25
prometheus_http_response_size_bytes_sum{handler="/favicon.ico"} 377150
prometheus_http_response_size_bytes_count{handler="/favicon.ico"} 25
prometheus_http_response_size_bytes_bucket{handler="/graph",le="100"} 0
prometheus_http_response_size_bytes_bucket{handler="/graph",le="1000"} 0
prometheus_http_response_size_bytes_bucket{handler="/graph",le="10000"} 2
prometheus_http_response_size_bytes_bucket{handler="/graph",le="100000"} 2
prometheus_http_response_size_bytes_bucket{handler="/graph",le="1e+06"} 2
prometheus_http_response_size_bytes_bucket{handler="/graph",le="1e+07"} 2
prometheus_http_response_size_bytes_bucket{handler="/graph",le="1e+08"} 2
prometheus_http_response_size_bytes_bucket{handler="/graph",le="1e+09"} 2
prometheus_http_response_size_bytes_bucket{handler="/graph",le="+Inf"} 2
prometheus_http_response_size_bytes_sum{handler="/graph"} 4642
prometheus_http_response_size_bytes_count{handler="/graph"} 2
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="100"} 0
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="1000"} 0
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="10000"} 5
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="100000"} 5
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="1e+06"} 5
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="1e+07"} 5
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="1e+08"} 5
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="1e+09"} 5
prometheus_http_response_size_bytes_bucket{handler="/metrics",le="+Inf"} 5
prometheus_http_response_size_bytes_sum{handler="/metrics"} 38185
prometheus_http_response_size_bytes_count{handler="/metrics"} 5
prometheus_http_response_size_bytes_bucket{handler="/targets",le="100"} 0
prometheus_http_response_size_bytes_bucket{handler="/targets",le="1000"} 0
prometheus_http_response_size_bytes_bucket{handler="/targets",le="10000"} 21
prometheus_http_response_size_bytes_bucket{handler="/targets",le="100000"} 21
prometheus_http_response_size_bytes_bucket{handler="/targets",le="1e+06"} 21
prometheus_http_response_size_bytes_bucket{handler="/targets",le="1e+07"} 21
prometheus_http_response_size_bytes_bucket{handler="/targets",le="1e+08"} 21
prometheus_http_response_size_bytes_bucket{handler="/targets",le="1e+09"} 21
prometheus_http_response_size_bytes_bucket{handler="/targets",le="+Inf"} 21
prometheus_http_response_size_bytes_sum{handler="/targets"} 48741
prometheus_http_response_size_bytes_count{handler="/targets"} 21
# HELP prometheus_notifications_alertmanagers_discovered The number of alertmanagers discovered and active.
# TYPE prometheus_notifications_alertmanagers_discovered gauge
prometheus_notifications_alertmanagers_discovered 0
# HELP prometheus_notifications_dropped_total Total number of alerts dropped due to errors when sending to Alertmanager.
# TYPE prometheus_notifications_dropped_total counter
prometheus_notifications_dropped_total 0
# HELP prometheus_notifications_queue_capacity The capacity of the alert notifications queue.
# TYPE prometheus_notifications_queue_capacity gauge
prometheus_notifications_queue_capacity 10000
# HELP prometheus_notifications_queue_length The number of alert notifications in the queue.
# TYPE prometheus_notifications_queue_length gauge
prometheus_notifications_queue_length 0
# HELP prometheus_remote_storage_exemplars_in_total Exemplars in to remote storage, compare to exemplars out for queue managers.
# TYPE prometheus_remote_storage_exemplars_in_total counter
prometheus_remote_storage_exemplars_in_total 0
# HELP prometheus_remote_storage_highest_timestamp_in_seconds Highest timestamp that has come into the remote storage via the Appender interface, in seconds since epoch.
# TYPE prometheus_remote_storage_highest_timestamp_in_seconds gauge
prometheus_remote_storage_highest_timestamp_in_seconds 1.626251625e+09
# HELP prometheus_remote_storage_samples_in_total Samples in to remote storage, compare to samples out for queue managers.
# TYPE prometheus_remote_storage_samples_in_total counter
prometheus_remote_storage_samples_in_total 315
# HELP prometheus_remote_storage_string_interner_zero_reference_releases_total The number of times release has been called for strings that are not interned.
# TYPE prometheus_remote_storage_string_interner_zero_reference_releases_total counter
prometheus_remote_storage_string_interner_zero_reference_releases_total 0
# HELP prometheus_rule_evaluation_duration_seconds The duration for a rule to execute.
# TYPE prometheus_rule_evaluation_duration_seconds summary
prometheus_rule_evaluation_duration_seconds{quantile="0.5"} NaN
prometheus_rule_evaluation_duration_seconds{quantile="0.9"} NaN
prometheus_rule_evaluation_duration_seconds{quantile="0.99"} NaN
prometheus_rule_evaluation_duration_seconds_sum 0
prometheus_rule_evaluation_duration_seconds_count 0
# HELP prometheus_rule_group_duration_seconds The duration of rule group evaluations.
# TYPE prometheus_rule_group_duration_seconds summary
prometheus_rule_group_duration_seconds{quantile="0.01"} NaN
prometheus_rule_group_duration_seconds{quantile="0.05"} NaN
prometheus_rule_group_duration_seconds{quantile="0.5"} NaN
prometheus_rule_group_duration_seconds{quantile="0.9"} NaN
prometheus_rule_group_duration_seconds{quantile="0.99"} NaN
prometheus_rule_group_duration_seconds_sum 0
prometheus_rule_group_duration_seconds_count 0
# HELP prometheus_sd_consul_rpc_duration_seconds The duration of a Consul RPC call in seconds.
# TYPE prometheus_sd_consul_rpc_duration_seconds summary
prometheus_sd_consul_rpc_duration_seconds{call="service",endpoint="catalog",quantile="0.5"} NaN
prometheus_sd_consul_rpc_duration_seconds{call="service",endpoint="catalog",quantile="0.9"} NaN
prometheus_sd_consul_rpc_duration_seconds{call="service",endpoint="catalog",quantile="0.99"} NaN
prometheus_sd_consul_rpc_duration_seconds_sum{call="service",endpoint="catalog"} 0
prometheus_sd_consul_rpc_duration_seconds_count{call="service",endpoint="catalog"} 0
prometheus_sd_consul_rpc_duration_seconds{call="services",endpoint="catalog",quantile="0.5"} NaN
prometheus_sd_consul_rpc_duration_seconds{call="services",endpoint="catalog",quantile="0.9"} NaN
prometheus_sd_consul_rpc_duration_seconds{call="services",endpoint="catalog",quantile="0.99"} NaN
prometheus_sd_consul_rpc_duration_seconds_sum{call="services",endpoint="catalog"} 0
prometheus_sd_consul_rpc_duration_seconds_count{call="services",endpoint="catalog"} 0
# HELP prometheus_sd_consul_rpc_failures_total The number of Consul RPC call failures.
# TYPE prometheus_sd_consul_rpc_failures_total counter
prometheus_sd_consul_rpc_failures_total 0
# HELP prometheus_sd_discovered_targets Current number of discovered targets.
# TYPE prometheus_sd_discovered_targets gauge
prometheus_sd_discovered_targets{config="config-0",name="notify"} 0
prometheus_sd_discovered_targets{config="prometheus",name="scrape"} 1
# HELP prometheus_sd_dns_lookup_failures_total The number of DNS-SD lookup failures.
# TYPE prometheus_sd_dns_lookup_failures_total counter
prometheus_sd_dns_lookup_failures_total 0
# HELP prometheus_sd_dns_lookups_total The number of DNS-SD lookups.
# TYPE prometheus_sd_dns_lookups_total counter
prometheus_sd_dns_lookups_total 0
# HELP prometheus_sd_failed_configs Current number of service discovery configurations that failed to load.
# TYPE prometheus_sd_failed_configs gauge
prometheus_sd_failed_configs{name="notify"} 0
prometheus_sd_failed_configs{name="scrape"} 0
# HELP prometheus_sd_file_read_errors_total The number of File-SD read errors.
# TYPE prometheus_sd_file_read_errors_total counter
prometheus_sd_file_read_errors_total 0
# HELP prometheus_sd_file_scan_duration_seconds The duration of the File-SD scan in seconds.
# TYPE prometheus_sd_file_scan_duration_seconds summary
prometheus_sd_file_scan_duration_seconds{quantile="0.5"} NaN
prometheus_sd_file_scan_duration_seconds{quantile="0.9"} NaN
prometheus_sd_file_scan_duration_seconds{quantile="0.99"} NaN
prometheus_sd_file_scan_duration_seconds_sum 0
prometheus_sd_file_scan_duration_seconds_count 0
# HELP prometheus_sd_kubernetes_events_total The number of Kubernetes events handled.
# TYPE prometheus_sd_kubernetes_events_total counter
prometheus_sd_kubernetes_events_total{event="add",role="endpoints"} 0
prometheus_sd_kubernetes_events_total{event="add",role="endpointslice"} 0
prometheus_sd_kubernetes_events_total{event="add",role="ingress"} 0
prometheus_sd_kubernetes_events_total{event="add",role="node"} 0
prometheus_sd_kubernetes_events_total{event="add",role="pod"} 0
prometheus_sd_kubernetes_events_total{event="add",role="service"} 0
prometheus_sd_kubernetes_events_total{event="delete",role="endpoints"} 0
prometheus_sd_kubernetes_events_total{event="delete",role="endpointslice"} 0
prometheus_sd_kubernetes_events_total{event="delete",role="ingress"} 0
prometheus_sd_kubernetes_events_total{event="delete",role="node"} 0
prometheus_sd_kubernetes_events_total{event="delete",role="pod"} 0
prometheus_sd_kubernetes_events_total{event="delete",role="service"} 0
prometheus_sd_kubernetes_events_total{event="update",role="endpoints"} 0
prometheus_sd_kubernetes_events_total{event="update",role="endpointslice"} 0
prometheus_sd_kubernetes_events_total{event="update",role="ingress"} 0
prometheus_sd_kubernetes_events_total{event="update",role="node"} 0
prometheus_sd_kubernetes_events_total{event="update",role="pod"} 0
prometheus_sd_kubernetes_events_total{event="update",role="service"} 0
# HELP prometheus_sd_received_updates_total Total number of update events received from the SD providers.
# TYPE prometheus_sd_received_updates_total counter
prometheus_sd_received_updates_total{name="notify"} 2
prometheus_sd_received_updates_total{name="scrape"} 2
# HELP prometheus_sd_updates_total Total number of update events sent to the SD consumers.
# TYPE prometheus_sd_updates_total counter
prometheus_sd_updates_total{name="notify"} 1
prometheus_sd_updates_total{name="scrape"} 1
# HELP prometheus_target_interval_length_seconds Actual intervals between scrapes.
# TYPE prometheus_target_interval_length_seconds summary
prometheus_target_interval_length_seconds{interval="15s",quantile="0.01"} 14.998646678
prometheus_target_interval_length_seconds{interval="15s",quantile="0.05"} 14.998690193
prometheus_target_interval_length_seconds{interval="15s",quantile="0.5"} 14.999894332
prometheus_target_interval_length_seconds{interval="15s",quantile="0.9"} 15.001360893
prometheus_target_interval_length_seconds{interval="15s",quantile="0.99"} 15.001779172
prometheus_target_interval_length_seconds_sum{interval="15s"} 930.0033587300001
prometheus_target_interval_length_seconds_count{interval="15s"} 62
# HELP prometheus_target_metadata_cache_bytes The number of bytes that are currently used for storing metric metadata in the cache
# TYPE prometheus_target_metadata_cache_bytes gauge
prometheus_target_metadata_cache_bytes{scrape_job="prometheus"} 0
# HELP prometheus_target_metadata_cache_entries Total number of metric metadata entries in the cache
# TYPE prometheus_target_metadata_cache_entries gauge
prometheus_target_metadata_cache_entries{scrape_job="prometheus"} 0
# HELP prometheus_target_scrape_pool_exceeded_label_limits_total Total number of times scrape pools hit the label limits, during sync or config reload.
# TYPE prometheus_target_scrape_pool_exceeded_label_limits_total counter
prometheus_target_scrape_pool_exceeded_label_limits_total 0
# HELP prometheus_target_scrape_pool_exceeded_target_limit_total Total number of times scrape pools hit the target limit, during sync or config reload.
# TYPE prometheus_target_scrape_pool_exceeded_target_limit_total counter
prometheus_target_scrape_pool_exceeded_target_limit_total 0
# HELP prometheus_target_scrape_pool_reloads_failed_total Total number of failed scrape pool reloads.
# TYPE prometheus_target_scrape_pool_reloads_failed_total counter
prometheus_target_scrape_pool_reloads_failed_total 0
# HELP prometheus_target_scrape_pool_reloads_total Total number of scrape pool reloads.
# TYPE prometheus_target_scrape_pool_reloads_total counter
prometheus_target_scrape_pool_reloads_total 0
# HELP prometheus_target_scrape_pool_sync_total Total number of syncs that were executed on a scrape pool.
# TYPE prometheus_target_scrape_pool_sync_total counter
prometheus_target_scrape_pool_sync_total{scrape_job="prometheus"} 1
# HELP prometheus_target_scrape_pool_targets Current number of targets in this scrape pool.
# TYPE prometheus_target_scrape_pool_targets gauge
prometheus_target_scrape_pool_targets{scrape_job="prometheus"} 1
# HELP prometheus_target_scrape_pools_failed_total Total number of scrape pool creations that failed.
# TYPE prometheus_target_scrape_pools_failed_total counter
prometheus_target_scrape_pools_failed_total 0
# HELP prometheus_target_scrape_pools_total Total number of scrape pool creation attempts.
# TYPE prometheus_target_scrape_pools_total counter
prometheus_target_scrape_pools_total 1
# HELP prometheus_target_scrapes_cache_flush_forced_total How&          
        
1条回答
  • 2021-07-16 09:39

    我用二进制安装后也是这样, 但是在修改这个targets ip前没问题,不过后来我监控了 linux、nacos、bladeX各项服务都正常,好像没啥影响

    0 讨论(0)
提交回复