-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* troubleshooting guides * update * update * update * Update Readme.md * Update Readme.md * Update PostTelemetry.ps1 * Update Readme.md
- Loading branch information
1 parent
8906f8c
commit 3722bbc
Showing
6 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
$url="https://{IngestionEndpoint-from-Component-ConnectionString}/v2/track" | ||
$iKey="{test-iKey}" | ||
Write-Host $url, $iKey | ||
|
||
$time = Get-Date | ||
$time = $time.ToUniversalTime().ToString('o') | ||
|
||
$availabilityData = @" | ||
{ | ||
"data": { | ||
"baseData": { | ||
"ver": 2, | ||
"id": "TestId", | ||
"name": "Post Telemetry Test", | ||
"duration": "10.00:00:00", | ||
"success": true, | ||
"runLocation": "TestLocation", | ||
"message": "Test Message", | ||
"properties": { | ||
"TestProperty": "TestValue" | ||
} | ||
}, | ||
"baseType": "AvailabilityData" | ||
}, | ||
"ver": 1, | ||
"name": "Microsoft.ApplicationInsights.Metric", | ||
"time": "$time", | ||
"sampleRate": 100, | ||
"iKey": "$iKey", | ||
"flags": 0 | ||
} | ||
"@ | ||
|
||
Invoke-WebRequest -Uri $url -Method POST -Body $availabilityData -Verbose -Debug -UseBasicParsing | ||
# Expected Output: {"itemsReceived":1,"itemsAccepted":1,"errors":[]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Troubleshooting Ingestion | ||
|
||
## Fiddler | ||
|
||
A tool such as Fiddler can be used to inspect raw HTTPS data from an app integrated with SDK to Ingestion Service. | ||
|
||
## Networking | ||
|
||
If the SDK is unable to send telemetry to the Ingestion Service, you may be experiencing a networking issue. | ||
|
||
Please review our guides on [IP Addresses used by Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/app/ip-addresses) | ||
|
||
You can test your network by manually sending telemetry using the PowerShell script [PostTelemetry.ps1](PostTelemetry.ps1). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Troubleshooting | ||
|
||
## For Immediate Support | ||
|
||
For immediate support relating to the Application Insights .NET SDK we encourage you to file an [Azure Support Request](https://docs.microsoft.com/azure/azure-portal/supportability/how-to-create-azure-support-request) with Microsoft Azure instead of filing a GitHub Issue in this repository. | ||
You can do so by going online to the [Azure portal](https://portal.azure.com/) and submitting a support request. Access to subscription management and billing support is included with your Microsoft Azure subscription, and technical support is provided through one of the [Azure Support Plans](https://azure.microsoft.com/support/plans/). For step-by-step guidance for the Azure portal, see [How to create an Azure support request](https://docs.microsoft.com/azure/azure-portal/supportability/how-to-create-azure-support-request). Alternatively, you can create and manage your support tickets programmatically using the [Azure Support ticket REST API](https://docs.microsoft.com/rest/api/support/). | ||
|
||
## SDK Internal Logs | ||
|
||
The Application Insights .NET SDK uses ETW to expose internal exceptions. | ||
|
||
To collect these logs, please review our full guide on [ETW](ETW). | ||
|
||
## Networking Issues | ||
|
||
The Application Insights .NET SDK has no knowledge of the environment it's deployed in. | ||
The SDK will send telemetry to the configured endpoint. | ||
|
||
If you suspect networking issues, please review our guide on [Troubleshooting Ingestion](Ingestion). | ||
|
||
## No Data | ||
|
||
Please review our full guide on [Troubleshooting no data](https://docs.microsoft.com/azure/azure-monitor/app/asp-net-troubleshoot-no-data) |