Rancher RKE cAdvisor

Metrics, Dashboards, Alerts and more for Rancher RKE cAdvisor Integration in Sysdig Monitor.
Rancher RKE cAdvisor

This integration is disabled by default. Please contact Sysdig Support to enable it in your account.

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

This integration has 5 metrics.

List of Metrics

Metric name
container_cpu_cfs_throttled_periods_total
container_cpu_cfs_periods_total
container_cpu_cfs_throttled_seconds_total
container_cpu_usage_seconds_total
container_spec_cpu_period

Preparing the Integration

No preparations are required for this integration.

Installing

Installing an exporter is not required for this integration.

Agents Configuration

This is the default agent job for this integration:

- job_name: rancher-rke-cadvisor-default
  bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
  scheme: https
  tls_config:
    ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
    insecure_skip_verify: true
  metrics_path: '/metrics/cadvisor'
  kubernetes_sd_configs:
  - role: node
  relabel_configs:
  - action: keep
    source_labels: [__meta_kubernetes_node_address_InternalIP]
    regex: __HOSTIPS__
  - action: labelmap
    regex: __meta_kubernetes_node_label_(.+)
    replacement: kube_node_label_$1
  - replacement: localhost:10250
    target_label: __address__
  - action: replace
    source_labels: [__meta_kubernetes_node_name]
    target_label: kube_node_name
  - action: replace
    source_labels: [__meta_kubernetes_namespace]
    target_label: kube_namespace_name
  metric_relabel_configs:
  - source_labels: [__name__]
    regex: "kubelet_volume(.+)|storage(.+)"
    action: drop
  - source_labels: [__name__]
    regex: "container_cpu_cfs_throttled_periods_total|container_cpu_cfs_periods_total|container_cpu_cfs_throttled_seconds_total|container_cpu_usage_seconds_total|container_spec_cpu_period"
    action: keep