Kubernetes metrics
The AppSignal for Kubernetes integration extracts metrics from Kubernetes clusters.
After adding the AppSignal Kubernetes deployment to your cluster, an automated dashboard with Kubernetes metrics will be created, showing an overview of node and pod metrics.
Installation
To start reporting Kubernetes cluster metrics to AppSignal:
1. Store your AppSignal API key in a secret
In a Kubernetes cluster, set up your AppSignal API key (find your Front-end API key in App settings) by creating a secret:
kubectl create secret generic appsignal --from-literal=api-key=<APPSIGNAL_API_KEY>
2. Add AppSignal deployment to your cluster
Once you've created the AppSignal API key secret, add the AppSignal deployment to your cluster:
kubectl apply -f https://raw.githubusercontent.com/appsignal/appsignal-kubernetes/v0.2.0/deployment.yaml
Once configured, AppSignal for Kubernetes will start reporting Kubernetes metrics automatically.
Automated dashboard
Your Kubernetes metrics will be used to create two automated dashboards.
In both dashboards, you will be able to see graphs representing useful metrics over time, such as:
- CPU Usage: CPU usage stats per node or pod
- Memory Usage: memory usage statistics, comparing the used memory to what's available per node or pod
- Swap Usage: swap usage statistics, comparing the used swap to what's available per node or pod
- Disk Usage: disk usage statistics, comparing the used disk space to what's available per node
- Network usage: network usage, split by received and transmitted bytes per node
Below is an example of an automated Kubernetes dashboard:

Metrics
AppSignal for Kubernetes extracts the following metrics from the /api/v1/nodes/<NODE>/proxy/stats/summary endpoint:
Node metrics
node_cpu_usage_nano_coresnode_cpu_usage_core_nano_secondsnode_memory_usage_bytesnode_memory_working_set_bytesnode_memory_rss_bytesnode_memory_page_faultsnode_memory_major_page_faultsnode_network_rx_bytesnode_network_rx_errorsnode_network_tx_bytesnode_network_tx_errorsnode_fs_available_bytesnode_s_capacity_bytesnode_fs_inodes_freenode_fs_inodesnode_fs_inodes_usednode_rlimit_maxpidnode_rlimit_curprocnode_swap_available_bytesnode_swap_usage_bytes
Pod metrics
pod_cpu_usage_nano_corespod_cpu_usage_core_nano_secondspod_memory_working_set_bytespod_swap_available_bytespod_swap_usage_bytes
You can track any of these metrics with a custom dashboard.
Disabling host metrics
The Kubernetes dashboards serve as a replacement for AppSignal's host metrics, and will eventually replace them altogether.
In the meantime, we recommend disabling host metrics for Kubernetes setups by setting the enable_host_metrics configuration to false.
Support
If you are experiencing any difficulties configuring your application's Kubernetes metrics, contact support, and we'll help you get your metrics flowing.