Rancher RKE2 Kube Proxy

Metrics, Dashboards, Alerts and more for Rancher RKE2 Kube Proxy Integration in Sysdig Monitor.
Rancher RKE2 Kube Proxy

This integration is disabled by default. See Enable and Disable Integrations to enable it in your account.

This integration is out-of-the-box, so it doesn’t require any exporter.

This integration has 35 metrics.

Timeseries generated: 1.5K TS

List of Alerts

AlertDescriptionFormat
[Rancher RKE2 Kube Proxy] Kube Proxy DownKubeProxy detected downPrometheus
[Rancher RKE2 Kube Proxy] High Rest Client LatencyHigh Rest Client Latency detectedPrometheus
[Rancher RKE2 Kube Proxy] High Rule Sync LatencyHigh Rule Sync Latency detectedPrometheus
[Rancher RKE2 Kube Proxy] Too Many 500 CodeToo Many 500 Code detectedPrometheus

List of Dashboards

Rancher RKE2 Kube Proxy

If you are using Prometheus Remote Write you will need to add the following metric relabel config for this label.


    - action: replace
    source_labels: [ __address__ ]
    target_label: _sysdig_integration_rke2_kube_proxy 
    replacement: true

The dashboard provides information on the RKE2 Proxy. Rancher RKE2 Kube Proxy

List of Metrics

Metric name
go_build_info
go_gc_duration_seconds
go_gc_duration_seconds_count
go_gc_duration_seconds_sum
go_goroutines
go_info
go_memstats_buck_hash_sys_bytes
go_memstats_gc_sys_bytes
go_memstats_heap_alloc_bytes
go_memstats_heap_idle_bytes
go_memstats_heap_inuse_bytes
go_memstats_heap_released_bytes
go_memstats_heap_sys_bytes
go_memstats_lookups_total
go_memstats_mallocs_total
go_memstats_mcache_inuse_bytes
go_memstats_mcache_sys_bytes
go_memstats_mspan_inuse_bytes
go_memstats_mspan_sys_bytes
go_memstats_next_gc_bytes
go_memstats_stack_inuse_bytes
go_memstats_stack_sys_bytes
go_memstats_sys_bytes
go_threads
kube_node_info
kubeproxy_network_programming_duration_seconds_bucket
kubeproxy_network_programming_duration_seconds_count
kubeproxy_sync_proxy_rules_duration_seconds_bucket
kubeproxy_sync_proxy_rules_duration_seconds_count
process_cpu_seconds_total
process_max_fds
process_open_fds
process_resident_memory_bytes
rest_client_request_duration_seconds_bucket
rest_client_requests_total

Prerequisites

None.

Installation

Installing an exporter is not required for this integration.

Agent Configuration

The default agent job for this integration is as follows:

- job_name: rancher-rke2-kube-proxy-default
  honor_labels: true
  kubernetes_sd_configs:
  - role: pod
  relabel_configs:
  - action: keep
    source_labels: [__meta_kubernetes_pod_host_ip]
    regex: __HOSTIPS__
  - source_labels: [__meta_kubernetes_pod_phase]
    action: keep
    regex: Running
  - action: keep
    source_labels:
    - __meta_kubernetes_namespace
    - __meta_kubernetes_pod_name
    separator: '/'
    regex: 'kube-system/kube-proxy.+'
  - replacement: localhost:10249
    target_label: __address__
  - source_labels:
    - __meta_kubernetes_pod_name
    action: replace
    target_label: instance
  - action: labelmap
    regex: __meta_kubernetes_pod_label_(.+)
  - action: replace
    source_labels: [__meta_kubernetes_pod_uid]
    target_label: sysdig_k8s_pod_uid
  - action: replace
    source_labels: [__meta_kubernetes_pod_container_name]
    target_label: sysdig_k8s_pod_container_name
  - action: replace
    source_labels: [ __address__ ]
    target_label: _sysdig_integration_rke2_kube_proxy 
    replacement: true