Coconote
AI notes
AI voice & video notes
Try for free
📊
Microservices Latency Tracking and Network Monitoring
Jul 14, 2024
Microservices Latency Tracking and Network Monitoring
Introduction
Presenter:
Muhammad Asim, DevOps Engineer
Objective:
Setup latency tracking and network monitoring for a microservices application.
Sample Application:
Fman application
Overview of the Setup
Link to Application:
Provided via GitHub
**Initial Setup: **Example application showing how microservices communicate with each other.
Focus:
Setting up latency and network route monitoring (network diagram and workflow)
DevOps Setup Steps
**E Cluster Setup: **Created repo for demonstration
VPC Setup:
Established Virtual Private Cloud (VPC) and Cluster
ELB Controller:
Setup for traffic routing on HTTPS
ALB Setup:
Application Load Balancer, Ingress controller setup
Monitoring and Traffic Routing
Target Group:
Healthy targets, routing traffic correctly
Application Deployment:
Several deployments and services in place
Objective:
Monitor link, latency, and traffic between microservices
Hands-on Demonstration
Initial Steps
Download Command:
Obtain the .zip file
Execution:
Use an interactive shell in a container
Mount and Extract:
Mounted on /mnt, extract and navigate into the directory
Setting Up Monitoring Tools
Tools:
Jager, Grafana, Prometheus
Adding Repo:
Helm repo addition and update
Installing Base:
Helm command to install base charts (without full Istio setup)
Monitoring Setup:
Helm releases to deploy Grafana and other tools
Labelling and Namespace Setup
Labelling:
Add injection label to namespace
Sidecar Injection:
Adds Istio proxy as a sidecar
Restart Deployments:
Ensure the sidecar is injected into each pod
Observing Traffic Flow
Port Forwarding:
For accessing Grafana and Jager dashboards
Namespace Monitoring:
Application namespace labelling enables traffic and latency visibility
Internal Real-time monitoring:
Usage of MTLS (Mutual Transport Layer Security) inside the application namespace
Visualization and Analysis
Grafana Dashboards:
Real-time graphs and metrics for services
Types of Graphs:
App graph, Services graph, Workload graph
Traffic and Dependency:
Understanding of traffic flow and service health
Conclusion
Advanced Monitoring:
Set up basic monitoring; end-to-end encryption and advanced topics to be covered in future videos
Call to Action:
Like, share, and subscribe for more content
📄
Full transcript