Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Cloud Observability with Azure Monitor

You're reading from   Cloud Observability with Azure Monitor A practical guide to monitoring your Azure infrastructure and applications using industry best practices

Arrow left icon
Product type Paperback
Published in Nov 2024
Publisher Packt
ISBN-13 9781835881187
Length 368 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Manuel Lázaro Ramírez Manuel Lázaro Ramírez
Author Profile Icon Manuel Lázaro Ramírez
Manuel Lázaro Ramírez
José Ángel Fernández José Ángel Fernández
Author Profile Icon José Ángel Fernández
José Ángel Fernández
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Part 1:Fundamentals of Observability and Azure Monitor
2. Chapter 1: Introduction to Observability with Azure Monitor FREE CHAPTER 3. Chapter 2: Understanding Azure Monitor Components and Functions 4. Chapter 3: Exploring Azure Monitor Data Sources and the Ingestion Pipeline 5. Part 2: Working with Azure Monitor
6. Chapter 4: Analyzing Your Data Using Logs and Metrics 7. Chapter 5: Responding to Monitoring Events 8. Chapter 6: Visualizing Your Logs and Metrics 9. Chapter 7: Application Observability and Performance Monitoring with Application Insights 10. Part 3: The Road Ahead with Azure Observability
11. Chapter 8: Hybrid and Multi-Cloud Monitoring 12. Chapter 9: Integrating with Third-Party Tools 13. Chapter 10: Building Your Monitoring Strategy 14. Chapter 11: Cost Management and Optimization 15. Chapter 12: Future Trends and Looking Ahead 16. Index 17. Other Books You May Enjoy Appendix

Diagnostics implementation for application health

This section will cover how to implement diagnostic tools and techniques using Application Insights. Before you can leverage Application Insights to monitor your .NET Core application, you need to install the necessary packages and configure your application to send telemetry data to Azure Monitor using the following steps:

  1. In your terminal inside Visual Studio Code, run the following command in your project directory to add the Microsoft.ApplicationInsights.AspNetCore package. This SDK provides the necessary tools to collect telemetry data and send it to Azure Monitor:
    dotnet add package Microsoft.ApplicationInsights.AspNetCore
  2. After installing the SDK, you need to configure Application Insights in your application. Open the Program.cs file and add the Application Insights services after the builder variable:
    var builder = WebApplication.CreateBuilder(args);
    // Add services to the container.
    builder.Services.AddApplicationInsightsTelemetry...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image