SDE Bootcamp 11: Comprehensive Tutorial on Java Logging with Azure Application Insights

preview_player
Показать описание
Integrating Azure Application Insights with Spring Boot

This video tutorial guides viewers through the process of configuring logs in a Spring Boot application and sending them to Azure Application Insights for analysis. The presenter walks through the steps of integrating Azure Application Insights with a Java project, highlighting the addition of Maven dependencies and modifications in the project's code to enable this integration. The tutorial covers setting up the telemetry client with an instrumentation key and demonstrates how to use various logging methods such as tracking traces, exceptions, events, and metrics directly in the Azure Application Insight dashboard. Additionally, the video explains how to run and observe these logs and metrics using the Azure portal, showcasing the power of Azure Application Insights for monitoring application health and performance. The presenter uses a GitHub project for demonstration and provides insights into configuring alerts and understanding the insights' dashboard, making it a comprehensive guide for developers looking to leverage Azure Application Insights in their Spring Boot applications.

00:00 Welcome and Introduction to Azure Application Insights Integration
00:41 Setting Up Your Spring Boot Project with Azure
01:17 Navigating Azure Application Insights Dashboard
02:32 Configuring Logs in Your Java Application
05:24 Deep Dive into Logging Levels and Metrics
11:53 Running and Testing the Application Locally
14:36 Final Thoughts and Next Steps
Рекомендации по теме
Комментарии
Автор

Hi Anubhav, thank you for sharing this video.

I wanted to implement opentelemetry for all types of logging like trace, metrics, logs etc.

Can you please do one video about java spring boot logging using Opentelemetry with Azure Application Insights along with auto Instrumentation.

shrikantj
Автор

Hi Abhinav,

I am using Java v1.8 and Spring Boot v2.7.1 to which I implemented the same as mentioned in the video but getting exception when code reaches to logging part.

Here is the exception I am getting: "Exception: NoSuchMethodError:

Stack: Failed to initialize"

Can you provide solution to this?

conceptualcatalyst
Автор

Hi Anubhav, How can i add logs in the other class files, do we need to add slf4j logger or use this telemetry class there to add logs, could u please update your project and add those logs to some files

DhirajKumar-fsr
welcome to shbcf.ru