End-to-End Kubernetes Observability Project: AI-Powered Troubleshooting with Honeycomb

End-to-End Kubernetes Observability Project: AI-Powered Troubleshooting with Honeycomb

Implementing an End-to-End AI Observability Project

Introduction to the Project

  • The video focuses on implementing an end-to-end AI observability project using a live microservice application.
  • OpenTelemetry libraries will be injected into the application, with data routed to Honeycomb for monitoring and observability.
  • The presenter expresses enthusiasm about Honeycomb's capabilities in simplifying cloud-native debugging, highlighting its importance for the audience.

Project Overview

  • The project is deployed on an Elastic Kubernetes Service (EKS) cluster, but it can also work with Azure Kubernetes Service (AKS) or Google Kubernetes Engine (GKE).
  • A URL shortener app consisting of multiple microservices will be used, including link service, redirect service, and database.
  • The presenter assures viewers that all steps will be shared via a GitHub repository for easy access.

Understanding OpenTelemetry

  • OpenTelemetry is described as a standard protocol for sending event traces and metrics to third-party monitoring systems like Honeycomb.
  • It provides a universal standard that remains consistent across different vendors, unlike previous dedicated agents for each product.

Setting Up the Environment

  • Viewers are advised to ensure they have prerequisites installed if they are new to AWS or EKS clusters.
  • Instructions include logging into AWS using CLI commands and creating an EKS cluster either through command line or UI.

Configuring Honeycomb and Slack Integration

Initial Setup Steps

  • After provisioning the EKS cluster, viewers should check their Nginx ingress controller setup before deploying the application.

Creating a Honeycomb Account

  • Users are guided through signing up for a free account on Honeycomb which allows 20 million events per month under its free tier.

API Key Configuration

  • An API key is generated in Honeycomb which needs to be set as an environment variable in the terminal for further configuration.

Integrating Slack Webhooks

Configuring Incoming Webhook in Slack

  • Viewers learn how to add an incoming webhook integration in Slack to send real-time alerts from Honeycomb.

Finalizing Integration Settings

  • The webhook URL from Slack must be added back into Honeycomb settings under team integrations to complete the setup process.

Setting Up Monitoring Triggers

Adding Alerts in Honeycomb MCP

  • Instructions are provided on adding triggers within Honeycomb’s MCP (Monitoring Control Plane), including verifying connections with commands.

Testing Alert Functionality

  • A script is introduced that creates load on the system; this helps test whether alerts function correctly when latency spikes occur.

Simulating Latency Spikes

Running Load Test Scripts

  • A separate script is run that injectively simulates latency into the system allowing users to observe alert behavior during high-load scenarios.

Observing Trigger Responses

  • After introducing chaos by injecting latency, viewers see how alerts fire based on predefined conditions set earlier.

Analyzing Results and Insights

Using Visual Tools for Analysis

  • Viewers learn how to use visual tools within Honeycomb’s interface such as heat maps and bubble-up features to analyze performance issues effectively.

Conclusion of Demonstration

  • The presenter encourages viewers to implement what they've learned while providing links for additional resources related to setting up their own observability projects.
Video description

In this video, I perform an end-to-end deep dive where I purposefully break a production-grade microservices app (URL shortener) and let Honeycomb’s AI-powered automated investigations do the heavy lifting. No more grepping logs for hours. I will walk through setting up OpenTelemetry (OTel), defining meaningful alerts, and using AI agents (Claude Code/Cursor) to query our observability data in plain English. What you will learn in this project: - End-to-End K8s Instrumentation: Connecting OpenTelemetry to Honeycomb in under 10 minutes using Helm. - Setting Practical Alerts: How to create alerts for latency and success rates that trigger before users notice. - Live Failure Injection: Using feature flags to simulate real-world microservice slowdowns. - AI-Powered Investigation: Watching Honeycomb’s Automated Investigations and "BubbleUp" identify root causes instantly. - Agentic Workflows: Using MCP in IDEs like Claude to investigate production issues autonomously. 🚀 Try Honeycomb for Free (20M events, no credit card): https://fandf.co/4dfdc07 Timestamps: Ye to be added Resources & Links: Honeycomb Sign-up: https://fandf.co/4dfdc07 GitHub Project(url shortener): https://github.com/piyushsachdeva/microservice-url-shortener Opentelemetry project: https://github.com/open-telemetry Github repo for demo: https://github.com/piyushsachdeva/AI-Observability-With-Otel-and-Honeycomb #Kubernetes #DevOps #AI #Honeycomb #OpenTelemetry #SRE #CloudComputing #TechTutorialsWithPiyush 𝗖𝗢𝗠𝗣𝗟𝗘𝗧𝗘 COURSES 👌 It’s 🅵🆁🅴🅴 ⛳ ✅ Terraform Full Course For Beginners - #28daysofAZTerraform https://www.youtube.com/playlist?list=PLl4APkPHzsUUHlbhuq9V02n9AMLPySoEQ ✅ Certified Kubernetes Administrator (CKA) 2024 https://www.youtube.com/playlist?list=PLl4APkPHzsUUOkOv3i62UidrLmSB8DcGC ✅ 𝗔𝘇𝘂𝗿𝗲 𝗗𝗲𝘃𝗢𝗽𝘀 𝗭𝗲𝗿𝗼 𝘁𝗼 𝗛𝗲𝗿𝗼: https://www.youtube.com/playlist?list=PLl4APkPHzsUXseJO1a03CtfRDzr2hivbD ✅ 𝗔𝗭𝟵𝟬𝟬 𝗔𝘇𝘂𝗿𝗲 𝗙𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝗙𝘂𝗹𝗹 𝗖𝗼𝘂𝗿𝘀𝗲 https://www.youtube.com/playlist?list=PLl4APkPHzsUUOCWcjaXcH-WBVxCccZ4uO ✅ 𝗡𝗮𝗺𝗮𝘀𝘁𝗲 𝗚𝗼𝗼𝗴𝗹𝗲 𝗖𝗹𝗼𝘂𝗱 | 𝗚𝗖𝗣 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗯𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀, 𝗮 𝗰𝗼𝗺𝗽𝗹𝗲𝘁𝗲 𝗽𝗹𝗮𝘆𝗹𝗶𝘀𝘁 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗔𝘀𝘀𝗼𝗰𝗶𝗮𝘁𝗲 𝗖𝗹𝗼𝘂𝗱 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿 (𝗔𝗖𝗘) 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗘𝘅𝗮𝗺: https://www.youtube.com/playlist?list=PLl4APkPHzsUXvkDFARdrH2LMESVqeuH8W ✅ 𝗔𝘇𝘂𝗿𝗲 𝗗𝗮𝘁𝗮 𝗳𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝗗𝗣 𝟵𝟬𝟬 𝗳𝘂𝗹𝗹 𝗰𝗼𝘂𝗿𝘀𝗲 https://www.youtube.com/playlist?list=PLl4APkPHzsUUd4rzzHEpHMsyD5PbVWz1I ✅ 𝗝𝗲𝗻𝗸𝗶𝗻𝘀 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗕𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀 https://www.youtube.com/playlist?list=PLl4APkPHzsUV3pz6zRpFJe3A4wTM2Pjvv ✅ 𝟭𝟬𝘄𝗲𝗲𝗸𝘀𝗼𝗳𝗰𝗹𝗼𝘂𝗱𝗼𝗽𝘀 - 𝗥𝗲𝗮𝗹-𝘁𝗶𝗺𝗲 𝗰𝗼𝗺𝗽𝗹𝗲𝘅 𝗵𝗮𝗻𝗱𝘀-𝗼𝗻 𝗽𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗼𝗻 𝗖𝗹𝗼𝘂𝗱 𝗮𝗻𝗱 𝗗𝗲𝘃𝗢𝗽𝘀 https://www.youtube.com/playlist?list=PLl4APkPHzsUUc8HOEIwfB3Z2uxRv2SKOG ✅ 𝗗𝗲𝘃𝗢𝗽𝘀 𝗮𝗻𝗱 𝗖𝗹𝗼𝘂𝗱 𝗣𝗼𝗱𝗰𝗮𝘀𝘁𝘀: https://www.youtube.com/playlist?list=PLl4APkPHzsUWr7SI4Kym5dr80DovuSbL2 ✅ 𝗚𝗶𝘁𝗹𝗮𝗯 𝗖𝗜 𝗖𝗗 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 | 𝗘𝗻𝗱 𝗧𝗼 𝗘𝗻𝗱 𝗥𝗲𝗮𝗹-𝘁𝗶𝗺𝗲 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 [𝗙𝘂𝗹𝗹 𝗖𝗼𝘂𝗿𝘀𝗲] https://youtu.be/uYaMRn2meJQ ----------------------------------------------------------------------------------------------------------------------- 𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝗺𝗲 𝗛𝗲𝗿𝗲:👇👇 🔥𝗬𝗼𝘂𝗧𝘂𝗯𝗲 ▶ https://www.youtube.com/TechTutorialswithPiyush ⛳𝗟𝗶𝗻𝗸𝗲𝗱𝗜𝗻 ▶ https://www.linkedin.com/in/piyush-sachdeva/ 🚀𝗜𝗻𝘀𝘁𝗮𝗴𝗿𝗮𝗺 ▶ https://www.instagram.com/techtutorialswithpiyush/ 🌍𝗧𝘄𝗶𝘁𝘁𝗲𝗿 ▶ https://twitter.com/techie_piyush 👨‍💻 𝗚𝗶𝘁𝗵𝘂𝗯 ▶ https://github.com/piyushsachdeva ✍ 𝗠𝗲𝗱𝗶𝘂𝗺.𝗰𝗼𝗺 ▶ https://medium.com/@piyush.sachdeva055 📚 𝗱𝗲𝘃.𝘁𝗼 ▶ https://dev.to/piyushsachdeva ✨𝗗𝗶𝘀𝗰𝗼𝗿𝗱 ▶ https://discord.gg/TNCs4BRzq8 -----------------------------------------------------------------------------------------------------------------------