Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harnessing the Power of Network Trace Analysis in Azure App Service #431

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
title: "Harnessing the Power of Network Trace Analysis in Azure App Service"
author_name: "Olu Shadare"
category: 'diagnostics'
tags:
- network trace analysis
---

We are thrilled to announce the public preview of a powerful new feature in Azure App Service: the **Network Trace Analyzer**. Designed to simplify the often-complex task of network trace analysis, this tool is set to revolutionize your troubleshooting process.

Capturing the right network trace at the right time is only half the battle. The major challenge often lies in interpreting the network trace, a task that requires not only the right tools but also a deep understanding of network protocols and behaviors. This innovative addition is now available in the Diagnose and Solve Problems blade in the Azure portal and is designed to streamline the process of analyzing network traces and troubleshooting issues within your web application.

### Getting Started

To access the Network Trace Analysis tool, navigate to the **Diagnose and Solve** Blade > **Diagnostics Tools** and select **Network Trace Analyzer**.

![]({{ site.baseurl }}/media/2024/01/upload-network-trace.png)

Upload your network trace file and let our tool do the heavy lifting. Once uploaded, our tool begins the background process of identifying the source and destination IPs and ports.

![]({{ site.baseurl }}/media/2024/01/retrieving-ips-ports.png)

You will be required to select a destination IP and port for analysis. In cases where multiple source IPs are present, you will also need to choose a source IP.

![]({{ site.baseurl }}/media/2024/01/select-dest-ips-ports.png)

After providing the necessary information, click on the **Get Analysis Report** button to generate the detailed report.

### Interpreting the Network Trace Analysis Graph

The Analysis Report presents a comprehensive network trace analysis graph depicting the current state of the basic network connectivity between your web app and various remote endpoints it is connected to.

![]({{ site.baseurl }}/media/2024/01/network-analysis-graph.png)

By clicking on any of the nodes for the remote endpoints, you can view a detailed analysis report. This report provides a summary of the most pertinent information in the network trace and highlights potential red flags which could be the root cause of the network-related issues on your web app. It also provides recommendations on how to resolve them, simplifying the process of troubleshooting network-related issues on your web app.

![]({{ site.baseurl }}/media/2024/01/network-trace-analysis-report.png)

### Key Features

- **Basic Network Connectivity**: This feature analyzes the initiation of a TCP connection, helping you troubleshoot issues arising during the establishment of a connection between your web app and the destination endpoint.

- **Transmission Control Protocol (TCP) Reset Errors**: Identify and address TCP reset errors that may be disrupting your web application's connectivity.

- **TCP SYN Retransmissions**: Detect and troubleshoot TCP SYN retransmission errors that can degrade your web application's performance.

- **TCP Reset Errors**: Checks for TCP reset errors which occur when a TCP connection is abruptly closed by the receiving end of the connection.

- **Transport Layer Security (TLS) Handshake**: This tool checks the TLS “handshake” process, which is the initial step in establishing a TLS connection

- **TLS Alerts**: Monitor for TLS alerts, which are warning or error messages that can be sent at any time during the TLS connection process. These alerts can indicate issues like an unknown certificate authority, a decryption error, or a protocol version mismatch.

Future updates will introduce scenarios like TCP Packet Loss, TCP Zero Window Dead, and more.

### Conclusion

The Network Trace Analyzer in Azure App Service is a significant leap forward in simplifying network trace analysis. This tool not only makes it easier for you to identify potential issues but also provides actionable recommendations for resolving them.

We're excited for you to try out this new feature and look forward to your valuable feedback. As always, our commitment is to continually enhance your experience within Azure App Service.

### Questions/Feedback

If you have any questions or feedback, please reach out to our team at [[email protected]](mailto:[email protected])
Binary file added media/2024/01/get-analysis-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/2024/01/network-analysis-graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/2024/01/network-trace-analysis-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/2024/01/network-trace-uploaded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/2024/01/retrieving-ips-ports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/2024/01/select-dest-ips-ports.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/2024/01/upload-network-trace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading