SlideShare a Scribd company logo
@nileshgule
Improve
Monitoring and Observability
for
Kubernetes
with
OSS tools
$whoami
{
“name” : “Nilesh Gule”,
“website” : “https://www.HandsOnArchitect.com",
“github” : “https://GitHub.com/NileshGule"
“twitter” : “@nileshgule”,
“linkedin” : “https://www.linkedin.com/in/nileshgule”,
“likes” : “Technical Evangelism, Cricket”,
“co-organizer” : “Azure Singapore UG”
}
https://bit.ly/AzureSingaporeSessions
@nileshgule
Pre-requisites
Self contained application with all its dependencies
Docker
❖ Orchestrates containers
❖ Self healing
❖ Service discovery
❖ Scaling
Kubernetes
❖ Scalable apps in dynamic environments (public /
private / hybrid clouds)
❖ Exemplified by Containers, service meshes,
microservices, immutable infrastructure &
declarative APIs
❖ Loosely coupled systems, resilient, observable &
manageable
❖ Robust automation
Cloud Native Applications
@nileshgule
@nileshgule
CNCF cloud trail
https://github.com/cncf/trailmap
@nileshgule
Centralized
Logging
@nileshgule
❑ Application specific
❖ Long term log retention for compliance reasons
❖ Workloads scheduled on different nodes during
application restarts / updates
❖ Autoscaling workloads
❑ Kubernetes upgrades
❖ Auto healing can reschedule workloads
❖ Underlying nodes added / deleted during cluster
scaling
❖ Underlying nodes replaced during cluster
upgrades
Container based workloads
Why centralized logging
❖ Not much control over underlying infra
❖ Relies on cloud prover specific logging and monitoring
solution
PaaS / Serverless services
@nileshgule
Tech Talks EFK integration
Log collector Log storage Log search, visualise,
dashboards
rabbitmq-producer-service rabbitmq-consumer-deployment
@nileshgule
Demo 1 – Log Aggregation with EFK
@nileshgule
Monitoring and
Alerting
@nileshgule
• Application specific
• Monitor resource usage
• Monitor scaling needs
• Monitor anomalies / outliers
• Kubernetes platform level
• Monitor cluster resources (CPU / RAM)
• API health
• Autoscaling
Container based workloads
Why Monitoring & Alerting
• Monitor resource usage
• Scaling
• Bottlenecks
PaaS / Serverless services
@nileshgule
Prometheus Architecture
@nileshgule
Demo 2 – Metrics using Prometheus &
Grafana
@nileshgule
Spring Boot Conference App integration
https://github.com/NileshGule/spring-boot-conference-app/tree/mssql-server
conference-demo-service-monitor
conference-demo-service
@nileshgule
Exception
Handling
@nileshgule
Sentry Architecture
https://develop.sentry.dev/architecture/
@nileshgule
Spring Boot Sentry integration
conference-demo-service
Managed Kubernetes cluster
@nileshgule
Demo 3 – Exception aggregation using
Sentry
@nileshgule
End to End Observability
@nileshgule
Summary
Modern day cloud native applications need new ways to address observability &
monitoring
Log Aggregation
✓ EFK stack helps in centralized logging
✓ Kibana is used to visualize logs and build dashboards
Monitoring & Alerting
✓ Prometheus provides easy to use metrics for platforms, applications
✓ Grafana provides visualization capabilities to build intuitive dashboards
Exception Aggregation
✓ Sentry provides Exception Aggregation capabilities
✓ Excellent telemetry data captured by Sentry to help diagnose problems
@nileshgule
References
Log Aggregation
❖ Elastic stack
❖ Kibana
❖ Fluentbit
Monitoring & Alerting
❖ Prometheus
❖ Grafana
❖ Kube Prometheus stack
❖ Houssem Dellai – Prometheus & Grafana
for monitoring Kubernetes
Sentry
❖ Sentry docs
@nileshgule
Source Code & slide deck
Tech Talks
https://github.com/NileshGule/pd-tech-fest-2019
Observability & Monitoring markdown
Conference app
https://github.com/NileshGule/spring-boot-conference-app/tree/mssql-server
https://speakerdeck.com/nileshgule/
https://www.slideshare.net/nileshgule/
Nilesh Gule
ARCHITECT | MICROSOFT MVP
“Code with Passion and
Strive for Excellence”
nileshgule
@nileshgule Nilesh Gule
NileshGule
www.handsonarchitect.com
https://bit.ly/youtube-nileshgule
Q&A

More Related Content

PDF
Improve monitoring and observability for kubernetes with oss tools
PPTX
OpenTelemetry For Architects
PPTX
Adopting OpenTelemetry
PDF
Implementing Observability for Kubernetes.pdf
PDF
Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 aug...
PPTX
MeetUp Monitoring with Prometheus and Grafana (September 2018)
PDF
Exploring the power of OpenTelemetry on Kubernetes
PPTX
OpenTelemetry For Operators
Improve monitoring and observability for kubernetes with oss tools
OpenTelemetry For Architects
Adopting OpenTelemetry
Implementing Observability for Kubernetes.pdf
Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 aug...
MeetUp Monitoring with Prometheus and Grafana (September 2018)
Exploring the power of OpenTelemetry on Kubernetes
OpenTelemetry For Operators

What's hot (20)

PDF
Meetup OpenTelemetry Intro
PDF
Infrastructure & System Monitoring using Prometheus
PDF
Open shift 4 infra deep dive
PDF
OSMC 2022 | OpenTelemetry 101 by Dotan Horovit s.pdf
PDF
Cloud-Native Observability
PDF
Monitoring Kubernetes with Prometheus
PPTX
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
PPTX
Azure devops
PDF
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
PDF
Grafana introduction
PDF
Observability
PDF
Designing a complete ci cd pipeline using argo events, workflow and cd products
PDF
Gitops Hands On
PPTX
Azure DevOps Best Practices Webinar
PPTX
Prometheus and Grafana
PPSX
Service Mesh - Observability
PDF
Gitops: a new paradigm for software defined operations
PPTX
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
PPT
Monitoring using Prometheus and Grafana
PPTX
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Meetup OpenTelemetry Intro
Infrastructure & System Monitoring using Prometheus
Open shift 4 infra deep dive
OSMC 2022 | OpenTelemetry 101 by Dotan Horovit s.pdf
Cloud-Native Observability
Monitoring Kubernetes with Prometheus
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Azure devops
Adopting Open Telemetry as Distributed Tracer on your Microservices at Kubern...
Grafana introduction
Observability
Designing a complete ci cd pipeline using argo events, workflow and cd products
Gitops Hands On
Azure DevOps Best Practices Webinar
Prometheus and Grafana
Service Mesh - Observability
Gitops: a new paradigm for software defined operations
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
Monitoring using Prometheus and Grafana
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Ad

Similar to Improve Monitoring and Observability for Kubernetes with OSS tools (20)

PDF
Improve Monitoring And Observability for Kubernetes with OSS tools.pdf
PDF
Improve monitoring and observability for kubernetes with oss tools
PDF
Centralizing Kubernetes Management in Restrictive Environments
PPTX
Why observability matters - now and in the future (w/guest Grafana)
PDF
Building a centralized observability platform
PPTX
Centralizing Kubernetes and Container Operations
PDF
Observability
PDF
Observability
PDF
Monitoring a Kubernetes-backed microservice architecture with Prometheus
PDF
Building a centralized observability platform
PDF
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
PDF
Building an Observability Platform in 389 Difficult Steps
PDF
Construire une plateforme d'observabilité centralisée
PDF
Lunar Way and the Cloud Native "stack"
PDF
Logz.io Jenkins Meetup
PDF
Nex clipper 1905_summary_eng
PPTX
Container Monitoring Best Practices Using AWS and InfluxData by Gunnar Aasen
PDF
Deploy prometheus on kubernetes
PDF
Employment Hero monitoring solution
PDF
Creación de una plataforma de observabilidad centralizada
Improve Monitoring And Observability for Kubernetes with OSS tools.pdf
Improve monitoring and observability for kubernetes with oss tools
Centralizing Kubernetes Management in Restrictive Environments
Why observability matters - now and in the future (w/guest Grafana)
Building a centralized observability platform
Centralizing Kubernetes and Container Operations
Observability
Observability
Monitoring a Kubernetes-backed microservice architecture with Prometheus
Building a centralized observability platform
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Building an Observability Platform in 389 Difficult Steps
Construire une plateforme d'observabilité centralisée
Lunar Way and the Cloud Native "stack"
Logz.io Jenkins Meetup
Nex clipper 1905_summary_eng
Container Monitoring Best Practices Using AWS and InfluxData by Gunnar Aasen
Deploy prometheus on kubernetes
Employment Hero monitoring solution
Creación de una plataforma de observabilidad centralizada
Ad

More from Nilesh Gule (20)

PDF
API Management in the AI Era - Azure Singapore.pdf
PDF
Infuse Intelligence Into your App with Foundry Local.pdf
PDF
Enhance GitHub Copilot using MCP - Enterprise version.pdf
PDF
API Management in the AI Era session GAB Melbourne
PDF
GitHub Copilot Agent Mode - Azure Builders Melbourne
PDF
Festive Tech Calendar -2024 Supercharge Kubernetes Debugging with k8sGPT.pdf
PDF
Code Creativity and Customers- Navigating the Generative AI Landscape - Austr...
PDF
Supercharge Kubernetes Debugging with k8sGPT.pdf
PDF
Portable Multi-cloud Applications with Dapr.pdf
PDF
k8sug Melbourne - Improve Kubernetes with k8sGPT
PDF
Event Driven Autoscaling using KEDA - MVP
PDF
Code Creativity and Customers- Navigating the Generative AI Landscape.pdf
PDF
Modular Architecturs for Resilience and Adaptability.pdf
PDF
Autoscale applications based on external events with KEDA.pdf
PDF
Singapore JUG - Open Telemetry.pdf
PDF
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
PDF
Build Secure Portable Applications using AKS and its ecosystem
PDF
Cloud Native Ninja - PT8 - Containerize React app.pdf
PDF
Cloud Native Ninja - PT8 - Containerize React app.pdf
PDF
Modular Architecturs for resilience and Adaptability.pdf
API Management in the AI Era - Azure Singapore.pdf
Infuse Intelligence Into your App with Foundry Local.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
API Management in the AI Era session GAB Melbourne
GitHub Copilot Agent Mode - Azure Builders Melbourne
Festive Tech Calendar -2024 Supercharge Kubernetes Debugging with k8sGPT.pdf
Code Creativity and Customers- Navigating the Generative AI Landscape - Austr...
Supercharge Kubernetes Debugging with k8sGPT.pdf
Portable Multi-cloud Applications with Dapr.pdf
k8sug Melbourne - Improve Kubernetes with k8sGPT
Event Driven Autoscaling using KEDA - MVP
Code Creativity and Customers- Navigating the Generative AI Landscape.pdf
Modular Architecturs for Resilience and Adaptability.pdf
Autoscale applications based on external events with KEDA.pdf
Singapore JUG - Open Telemetry.pdf
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Build Secure Portable Applications using AKS and its ecosystem
Cloud Native Ninja - PT8 - Containerize React app.pdf
Cloud Native Ninja - PT8 - Containerize React app.pdf
Modular Architecturs for resilience and Adaptability.pdf

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Advanced IT Governance
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Modernizing your data center with Dell and AMD
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
Advanced IT Governance
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Mobile App Security Testing_ A Comprehensive Guide.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Review of recent advances in non-invasive hemoglobin estimation
Advanced Soft Computing BINUS July 2025.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Modernizing your data center with Dell and AMD
“AI and Expert System Decision Support & Business Intelligence Systems”

Improve Monitoring and Observability for Kubernetes with OSS tools