Monitor EKS Logs and Metrics using SigNoz
This document will walk you through the steps to monitor AWS EKS (Elastic Kubernetes Service) logs and metrics using SigNoz.
Prerequisites
- An EKS cluster running
- Helm installed on your machine
- SigNoz Cloud account
Setup
Step 1: Add SigNoz Helm repository
To add the SigNoz Helm repository to your helm client, run the following command:
helm repo add signoz https://charts.signoz.io
Step 2 (Optional): Update charts
If the chart is already present, update to the latest version using the below command:
helm repo update
Step 3: Configuration file
Create overrides-value.yaml
file with the follwoing configuration
global:
cloud: aws
clusterName: <CLUSTER_NAME>
deploymentEnvironment: <DEPLOYMENT_ENVIRONMENT>
otelCollectorEndpoint: ingest.{region}.signoz.cloud:443
otelInsecure: false
signozApiKey: <SIGNOZ_INGESTION_KEY>
presets:
otlpExporter:
enabled: true
loggingExporter:
enabled: false
resourceDetection:
detectors:
- eks
- system
<CLUSTER_NAME>
- Name of the Kubernetes cluster or a unique identifier of the cluster. <DEPLOYMENT_ENVIRONMENT>
- Deployment environment of your application. Example: "staging", "production", etc.
{region}
- Ingestion region of your SigNoz Cloud instance. Can be us
, eu
or in
. <SIGNOZ_INGESTION_KEY>
- Ingestion key for your SigNoz Cloud instance.
Step 4: Install k8s-infra chart
Install install the k8s-infra chart with the configuration mentioned in the previous step, run the below command:
helm install my-release signoz/k8s-infra -f override-values.yaml
Visualise Logs and Metrics
Logs
Once you're done with the Setup, you should be able to see your EKS logs in the Logs explorer under the Logs tab of your SigNoz Cloud instance.
Metrics
To visualise metrics, you can either
Use pre-built dashboards
You can use the pre-built dashboards for monitroing your EKS cluster. Here's list of dashboards you can use:
Import Dashboard with PVC Metrics
You can import dashboard with PVC metrics of Kubernetes cluster from here.
Import Dashboard with Overall EKS pods Metrics
You can import dashboard with the general Kubernetes pods metrics of your K8s cluster from here.
Import Dashboard with Detailed EKS pods Metrics
You can import dashboard with more detailed granular Kubernetes pods metrics of your K8s cluster from here.
Import Dashboard with Overall EKS Node Metrics
You can import dashboard with the general Kubernetes node metrics of your K8s cluster from here.
Import Dashboard with Detailed EKS Node Metrics
You can import dashboard with more detailed granular Kubernetes node metrics of your K8s cluster from here.
Import Dashboard with Detailed EKS Cluster Metrics
You can import dashboard with more detailed granular Kubernetes node metrics of your K8s cluster from here.
You can check a complete list of Dashboards for Kubernetes Monitroing here.
Create your own Dashboard
To create your own Dashboard in SigNoz, checkout this documentation.
You can find the complete list of availbe Kubernetes Metrics here.