Closed sampsonhuo closed 4 years ago
Hi, why my metrics has no kong_bandwidth、kong_latency_bucket、kong_http_status, etc ?
kong_bandwidth
kong_latency_bucket
kong_http_status
curl -D - https://localhost:8444/metrics -k HTTP/1.1 200 OK Server: openresty Date: Thu, 30 Jul 2020 09:41:42 GMT Content-Type: text/plain; charset=UTF-8 Transfer-Encoding: chunked Connection: keep-alive Access-Control-Allow-Origin: * X-Kong-Admin-Latency: 1 # HELP kong_datastore_reachable Datastore reachable from Kong, 0 is unreachable # TYPE kong_datastore_reachable gauge kong_datastore_reachable 1 # HELP kong_memory_lua_shared_dict_bytes Allocated slabs in bytes in a shared_dict # TYPE kong_memory_lua_shared_dict_bytes gauge kong_memory_lua_shared_dict_bytes{shared_dict="kong"} 40960 kong_memory_lua_shared_dict_bytes{shared_dict="kong_cluster_events"} 40960 kong_memory_lua_shared_dict_bytes{shared_dict="kong_core_db_cache"} 798720 kong_memory_lua_shared_dict_bytes{shared_dict="kong_core_db_cache_2"} 811008 kong_memory_lua_shared_dict_bytes{shared_dict="kong_core_db_cache_miss"} 90112 kong_memory_lua_shared_dict_bytes{shared_dict="kong_core_db_cache_miss_2"} 86016 kong_memory_lua_shared_dict_bytes{shared_dict="kong_db_cache"} 794624 kong_memory_lua_shared_dict_bytes{shared_dict="kong_db_cache_2"} 794624 kong_memory_lua_shared_dict_bytes{shared_dict="kong_db_cache_miss"} 86016 kong_memory_lua_shared_dict_bytes{shared_dict="kong_db_cache_miss_2"} 86016 kong_memory_lua_shared_dict_bytes{shared_dict="kong_healthchecks"} 45056 kong_memory_lua_shared_dict_bytes{shared_dict="kong_locks"} 61440 kong_memory_lua_shared_dict_bytes{shared_dict="kong_process_events"} 45056 kong_memory_lua_shared_dict_bytes{shared_dict="kong_rate_limiting_counters"} 86016 kong_memory_lua_shared_dict_bytes{shared_dict="prometheus_metrics"} 49152 # HELP kong_memory_lua_shared_dict_total_bytes Total capacity in bytes of a shared_dict # TYPE kong_memory_lua_shared_dict_total_bytes gauge kong_memory_lua_shared_dict_total_bytes{shared_dict="kong"} 5242880 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_cluster_events"} 5242880 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_core_db_cache"} 134217728 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_core_db_cache_2"} 134217728 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_core_db_cache_miss"} 12582912 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_core_db_cache_miss_2"} 12582912 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_db_cache"} 134217728 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_db_cache_2"} 134217728 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_db_cache_miss"} 12582912 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_db_cache_miss_2"} 12582912 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_healthchecks"} 5242880 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_locks"} 8388608 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_process_events"} 5242880 kong_memory_lua_shared_dict_total_bytes{shared_dict="kong_rate_limiting_counters"} 12582912 kong_memory_lua_shared_dict_total_bytes{shared_dict="prometheus_metrics"} 5242880 # HELP kong_memory_workers_lua_vms_bytes Allocated bytes in worker Lua VM # TYPE kong_memory_workers_lua_vms_bytes gauge kong_memory_workers_lua_vms_bytes{pid="159"} 77639 # HELP kong_nginx_http_current_connections Number of HTTP connections # TYPE kong_nginx_http_current_connections gauge kong_nginx_http_current_connections{state="accepted"} 595 kong_nginx_http_current_connections{state="active"} 1 kong_nginx_http_current_connections{state="handled"} 595 kong_nginx_http_current_connections{state="reading"} 0 kong_nginx_http_current_connections{state="total"} 593 kong_nginx_http_current_connections{state="waiting"} 0 kong_nginx_http_current_connections{state="writing"} 1 # HELP kong_nginx_metric_errors_total Number of nginx-lua-prometheus errors # TYPE kong_nginx_metric_errors_total counter kong_nginx_metric_errors_total 0
Please make sure that:
Closing this due to lack of activity. Please re-open if needed.
Hi, why my metrics has no
kong_bandwidth
、kong_latency_bucket
、kong_http_status
, etc ?