Skip to content

Commit 5f410f0

Browse files
authored
Merge pull request #95513 from mrbullwinkle/mrb_11_11_2019_toc
PowerShell TOC updates
2 parents 27157e3 + 2409495 commit 5f410f0

File tree

7 files changed

+25
-130
lines changed

7 files changed

+25
-130
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43597,6 +43597,11 @@
4359743597
"source_path": "articles/active-directory/develop/app-registrations-training-guide.md",
4359843598
"redirect_url": "articles/active-directory/develop/app-registrations-training-guide-for-app-registrations-legacy-users.md",
4359943599
"redirect_document_id": false
43600+
},
43601+
{
43602+
"source_path": "articles/azure-monitor/app/powershell-script-create-resource.md",
43603+
"redirect_url": "/azure/azure-monitor/app/create-new-resource#creating-a-resource-automatically",
43604+
"redirect_document_id": false
4360043605
}
4360143606
]
4360243607
}

articles/azure-monitor/app/how-do-i.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Some points to consider:
6868
[Use PowerShell to create new alerts](../../azure-monitor/app/alerts.md#automation)
6969

7070
## Use PowerShell to Manage Application Insights
71-
* [Create new resources](../../azure-monitor/app/powershell-script-create-resource.md)
71+
* [Create new resources](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource#creating-a-resource-automatically)
7272
* [Create new alerts](../../azure-monitor/app/alerts.md#automation)
7373

7474
## Separate telemetry from different versions
@@ -94,11 +94,11 @@ Or
9494
<a name="search-specific-users"></a>
9595

9696
### Filter out anonymous or authenticated users
97-
If your users sign in, you can set the [authenticated user id](../../azure-monitor/app/api-custom-events-metrics.md#authenticated-users). (It doesn't happen automatically.)
97+
If your users sign in, you can set the [authenticated user ID](../../azure-monitor/app/api-custom-events-metrics.md#authenticated-users). (It doesn't happen automatically.)
9898

9999
You can then:
100100

101-
* Search on specific user ids
101+
* Search on specific user IDs
102102

103103
![](./media/how-do-i/110-search.png)
104104

@@ -110,12 +110,12 @@ You can then:
110110
Create a [filter](../../azure-monitor/app/api-filtering-sampling.md#filtering). This lets you modify or filter telemetry before it is sent from your app to Application Insights.
111111

112112
## List specific users and their usage
113-
If you just want to [search for specific users](#search-specific-users), you can set the [authenticated user id](../../azure-monitor/app/api-custom-events-metrics.md#authenticated-users).
113+
If you just want to [search for specific users](#search-specific-users), you can set the [authenticated user ID](../../azure-monitor/app/api-custom-events-metrics.md#authenticated-users).
114114

115115
If you want a list of users with data such as what pages they look at or how often they log in, you have two options:
116116

117-
* [Set authenticated user id](../../azure-monitor/app/api-custom-events-metrics.md#authenticated-users), [export to a database](../../azure-monitor/app/code-sample-export-sql-stream-analytics.md) and use suitable tools to analyze your user data there.
118-
* If you have only a small number of users, send custom events or metrics, using the data of interest as the metric value or event name, and setting the user id as a property. To analyze page views, replace the standard JavaScript trackPageView call. To analyze server-side telemetry, use a telemetry initializer to add the user id to all server telemetry. You can then filter and segment metrics and searches on the user id.
117+
* [Set authenticated user ID](../../azure-monitor/app/api-custom-events-metrics.md#authenticated-users), [export to a database](../../azure-monitor/app/code-sample-export-sql-stream-analytics.md) and use suitable tools to analyze your user data there.
118+
* If you have only a small number of users, send custom events or metrics, using the data of interest as the metric value or event name, and setting the user ID as a property. To analyze page views, replace the standard JavaScript trackPageView call. To analyze server-side telemetry, use a telemetry initializer to add the user ID to all server telemetry. You can then filter and segment metrics and searches on the user ID.
119119

120120
## Reduce traffic from my app to Application Insights
121121
* In [ApplicationInsights.config](../../azure-monitor/app/configuration-with-applicationinsights-config.md), disable any modules you don't need, such the performance counter collector.
@@ -146,7 +146,7 @@ For ASP.NET Core applications you may access `TelemetryConfiguration` instance u
146146
You can disable standard collectors (for example, performance counters, HTTP requests, or dependencies)
147147

148148
* **ASP.NET applications** - Delete or comment out the relevant lines in [ApplicationInsights.config](../../azure-monitor/app/configuration-with-applicationinsights-config.md)
149-
* **ASP.NET Core applicaitons** - Follow telemetry modules configuration options in [ApplicationInsights ASP.NET Core](../../azure-monitor/app/asp-net-core.md#configuring-or-removing-default-telemetrymodules)
149+
* **ASP.NET Core applications** - Follow telemetry modules configuration options in [ApplicationInsights ASP.NET Core](../../azure-monitor/app/asp-net-core.md#configuring-or-removing-default-telemetrymodules)
150150

151151
## View system performance counters
152152
Among the metrics you can show in metrics explorer are a set of system performance counters. There's a predefined blade titled **Servers** that displays several of them.

articles/azure-monitor/app/powershell-alerts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ The metrics are sent by different telemetry modules:
127127
You can [automate your response to an alert](../../azure-monitor/platform/alerts-webhooks.md). Azure will call a web address of your choice when an alert is raised.
128128

129129
## See also
130-
* [Script to configure Application Insights](powershell-script-create-resource.md)
130+
* [Script to configure Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource#creating-a-resource-automatically)
131131
* [Create Application Insights and web test resources from templates](powershell.md)
132132
* [Automate coupling Microsoft Azure Diagnostics to Application Insights](powershell-azure-diagnostics.md)
133133
* [Automate your response to an alert](../../azure-monitor/platform/alerts-webhooks.md)

articles/azure-monitor/app/powershell-script-create-resource.md

Lines changed: 0 additions & 108 deletions
This file was deleted.

articles/azure-monitor/app/powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ Azure should set up the resources in strict order. To make sure one setup comple
591591
## Next steps
592592
Other automation articles:
593593

594-
* [Create an Application Insights resource](powershell-script-create-resource.md) - quick method without using a template.
594+
* [Create an Application Insights resource](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource#creating-a-resource-automatically) - quick method without using a template.
595595
* [Set up Alerts](powershell-alerts.md)
596596
* [Create web tests](https://azure.microsoft.com/blog/creating-a-web-test-alert-programmatically-with-application-insights/)
597597
* [Send Azure Diagnostics to Application Insights](powershell-azure-diagnostics.md)

articles/azure-monitor/app/separate-resources.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Set the key in an initialization method, such as global.aspx.cs in an ASP.NET se
4747
In this example, the ikeys for the different resources are placed in different versions of the web configuration file. Swapping the web configuration file - which you can do as part of the release script - will swap the target resource.
4848

4949
### Web pages
50-
The iKey is also used in your app's web pages, in the [script that you got from the quick start blade](../../azure-monitor/app/javascript.md). Instead of coding it literally into the script, generate it from the server state. For example, in an ASP.NET app:
50+
The iKey is also used in your app's web pages, in the [script that you got from the quickstart blade](../../azure-monitor/app/javascript.md). Instead of coding it literally into the script, generate it from the server state. For example, in an ASP.NET app:
5151

5252
*JavaScript in Razor*
5353

@@ -77,7 +77,7 @@ In the [portal.azure.com](https://portal.azure.com), add an Application Insights
7777

7878
Creating the resource takes a few seconds. You'll see an alert when it's done.
7979

80-
(You can write a [PowerShell script](../../azure-monitor/app/powershell-script-create-resource.md) to create a resource automatically.)
80+
(You can write a [PowerShell script](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource#creating-a-resource-automatically) to create a resource automatically.)
8181

8282
### Getting the instrumentation key
8383
The instrumentation key identifies the resource that you created.
@@ -130,7 +130,7 @@ There are several different methods of setting the Application Version property.
130130
To allow MSBuild to generate version numbers, set the version like `1.0.*` in AssemblyReference.cs
131131

132132
## Version and release tracking
133-
To track the application version, make sure `buildinfo.config` is generated by your Microsoft Build Engine process. In your .csproj file, add:
133+
To track the application version, make sure `buildinfo.config` is generated by your Microsoft Build Engine process. In your `.csproj` file, add:
134134

135135
```XML
136136

@@ -141,7 +141,7 @@ To track the application version, make sure `buildinfo.config` is generated by y
141141

142142
When it has the build info, the Application Insights web module automatically adds **Application version** as a property to every item of telemetry. That allows you to filter by version when you perform [diagnostic searches](../../azure-monitor/app/diagnostic-search.md), or when you [explore metrics](../../azure-monitor/app/metrics-explorer.md).
143143

144-
However, notice that the build version number is generated only by the Microsoft Build Engine, not by the developer build in Visual Studio.
144+
However, notice that the build version number is generated only by the Microsoft Build Engine, not by the developer build from Visual Studio.
145145

146146
### Release annotations
147147
If you use Azure DevOps, you can [get an annotation marker](../../azure-monitor/app/annotations.md) added to your charts whenever you release a new version. The following image shows how this marker appears.

articles/azure-monitor/toc.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,19 +1183,17 @@
11831183
href: platform/autoscale-webhook-email.md
11841184
- name: PowerShell
11851185
items:
1186-
- name: Azure PowerShell samples
1186+
- name: Managing with PowerShell
11871187
href: platform/powershell-quickstart-samples.md
1188-
- name: PowerShell cmdlets
1188+
- name: Create alerts
1189+
href: app/powershell-alerts.md
1190+
- name: Manage Log Analytics
11891191
href: platform/powershell-workspace-configuration.md
1190-
- name: Applications
1192+
- name: Application Insights
11911193
items:
1192-
- name: Create Application Insights resources
1194+
- name: Manage Application Insights
11931195
href: app/powershell.md
1194-
- name: Create resources
1195-
href: app/powershell-script-create-resource.md
1196-
- name: Set alerts
1197-
href: app/powershell-alerts.md
1198-
- name: Get Azure diagnostics
1196+
- name: Manage Azure Cloud Services
11991197
href: app/powershell-azure-diagnostics.md
12001198
- name: Azure CLI samples
12011199
href: platform/cli-samples.md

0 commit comments

Comments
 (0)