Coder Social home page Coder Social logo

Comments (4)

yue9944882 avatar yue9944882 commented on August 22, 2024 1

@qiujian16 thx, here's a few subcommands around cluster-proxy i can think of:

  • clusteradm proxy status: listing the current installation status of anp servers/agent. not only the healthiness of the agents/servers will be display, but also the cluster-proxy addon-agent will be reporting the stats to each of cluster namespace by scraping the prometheus metrics.

a sample of agent's metrics will be:

konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.005"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.025"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.1"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="0.5"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="2.5"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="10"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="30"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_bucket{le="+Inf"} 18
konnectivity_network_proxy_agent_dial_duration_seconds_sum 0.07393422000000001
konnectivity_network_proxy_agent_dial_duration_seconds_count 18

as for the server, a sample will be:

konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="1e-06"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="1e-05"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.0001"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.005"} 0
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.025"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.1"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="0.5"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="2.5"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="12.5"} 19
konnectivity_network_proxy_server_dial_duration_seconds_bucket{le="+Inf"} 19
konnectivity_network_proxy_server_dial_duration_seconds_sum 0.16960626900000003
konnectivity_network_proxy_server_dial_duration_seconds_count 19
# HELP konnectivity_network_proxy_server_frontend_write_duration_seconds Latency of write to the frontend in seconds
# TYPE konnectivity_network_proxy_server_frontend_write_duration_seconds histogram
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="1e-06"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="1e-05"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.0001"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.005"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.025"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.1"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="0.5"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="2.5"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="12.5"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_bucket{le="+Inf"} 168
konnectivity_network_proxy_server_frontend_write_duration_seconds_sum 3.202300000000001e-05
konnectivity_network_proxy_server_frontend_write_duration_seconds_count 168
# HELP konnectivity_network_proxy_server_grpc_connections Number of current grpc connections, partitioned by service method.
# TYPE konnectivity_network_proxy_server_grpc_connections gauge
konnectivity_network_proxy_server_grpc_connections{service_method="Connect"} 3
konnectivity_network_proxy_server_grpc_connections{service_method="Proxy"} 0
# HELP konnectivity_network_proxy_server_http_connections Number of current HTTP CONNECT connections
# TYPE konnectivity_network_proxy_server_http_connections gauge
konnectivity_network_proxy_server_http_connections 0
# HELP konnectivity_network_proxy_server_pending_backend_dials Current number of pending backend dial requests
# TYPE konnectivity_network_proxy_server_pending_backend_dials gauge
konnectivity_network_proxy_server_pending_backend_dials 0
# HELP konnectivity_network_proxy_server_ready_backend_connections Number of konnectivity agent connected to the proxy server
# TYPE konnectivity_network_proxy_server_ready_backend_connections gauge
konnectivity_network_proxy_server_ready_backend_connections 3
  • clusteradm proxy health <clustername>: probing the /healthz via the cluster-proxy
  • clusteradm proxy top: similar to kubectl top node/pod, but in the dimension of managed clusters

from clusteradm.

qiujian16 avatar qiujian16 commented on August 22, 2024

/assign @yue9944882
/assign @xuezhaojun

from clusteradm.

qiujian16 avatar qiujian16 commented on August 22, 2024

this has been done actually

/close

from clusteradm.

openshift-ci avatar openshift-ci commented on August 22, 2024

@qiujian16: Closing this issue.

In response to this:

this has been done actually

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from clusteradm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.