Skip to content

Commit f71ba01

Browse files
authored
Merge pull request #75654 from Incarnation-p-lee/master
Add concept matching from Azure Spring Cloud to Application Insights
2 parents ea921cc + 3871b5c commit f71ba01

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

articles/spring-cloud/how-to-application-insights.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ az spring-cloud app-insights update --disable –name "assignedName" â€
137137
138138
```
139139

140-
## Java Agent Update/Upgrade
140+
## Java agent update/upgrade
141141

142142
The Java agent will be updated/upgraded regularly with the JDK, which may impact the following scenarios.
143143

@@ -148,7 +148,7 @@ The Java agent will be updated/upgraded regularly with the JDK, which may impact
148148
* Applications created after updating/upgrading will leverage the new version of the Java agent.
149149
* Existing applications that did not previsously use the Java agent will require restart or redeployment to leverage the new version of the Java agent.
150150

151-
## Java Agent Configuration Hot-Loading
151+
## Java agent configuration hot-loading
152152

153153
Azure Spring Cloud has enabled a hot-loading mechanism to adjust the settings of agent configuration without restart of applications.
154154

@@ -159,7 +159,34 @@ Azure Spring Cloud has enabled a hot-loading mechanism to adjust the settings of
159159
* If you enable the Java agent, then you must restart applications.
160160
* When you disable the Java agent, applications will stop to send all monitoring data after a delay in minutes. You can restart applications to remove the agent from the Java runtime environment.
161161

162+
## Concept matching between Azure Spring Cloud and Application Insights
163+
164+
| Azure Spring Cloud | Application Insights |
165+
| ------------------ | ------------------------------------------------------------ |
166+
| `App` | * __Application Map__/Role<br />* __Live Metrics__/Role<br />* __Failures__/Roles/Cloud Role<br />* __Performance__/Roles/Could Role |
167+
| `App Instance` | * __Application Map__/Role Instance<br />* __Live Metrics__/Service Name<br />* __Failures__/Roles/Cloud Instance<br />* __Performance__/Roles/Could Instance |
168+
169+
The name `App Instance` from Azure Spring Cloud will be changed or generated in the following scenarios:
170+
171+
* You create a new application.
172+
* You deploy a JAR file or source code to an existing application.
173+
* You initiate a blue/green deployment.
174+
* You restart the application.
175+
* You stop the deployment of an application, and then restart it.
176+
177+
When data is stored in Application Insights, it contains the history of Azure Spring Cloud app instances created or deployed since the Java agent was enabled. This means that, in the Application Insights portal, you can see application data created yesterday, but then deleted within a specific time range, like the last 24 hours. The following scenarios show how this works:
178+
179+
* You created an application around 8:00 AM today from Azure Spring Cloud with the Java agent enabled, and then you deployed a JAR file to this application around 8:10 AM today. After some testing, you change the code and deploy a new JAR file to this application at 8:30 AM today. Then, you take a break, and when you come back around 11:00 AM, you check some data from Application Insights. You will see:
180+
* Three instances in Application Map with time ranges in the last 24 hours, as well as Failures, Performance, and Metrics.
181+
* One instance in Application Map with a time range in the last hour, as well as Failures, Performance, and Metrics.
182+
* One instance in Live Metrics.
183+
* You created an application around 8:00 AM today from Azure Spring Cloud with the Java agent enabled, and then you deployed a JAR file to this application around 8:10 AM today. Around 8:30 AM today, you try a blue/green deployment with another JAR file. Currently, you have two deployments for this application. After a break around 11:00 AM today, you want to check some data from Application Insights. You will see:
184+
* Three instances in Application Map with time ranges in the last 24 hours, as well as Failures, Performance, and Metrics.
185+
* Two instances in Application Map with time ranges in last hour, as well as Failures, Performance, and Metrics.
186+
* Two instances in Live Metrics.
187+
162188
## See also
189+
163190
* [Use distributed tracing with Azure Spring Cloud](./how-to-distributed-tracing.md)
164191
* [Analyze logs and metrics](diagnostic-services.md)
165-
* [Stream logs in real time](./how-to-log-streaming.md)
192+
* [Stream logs in real time](./how-to-log-streaming.md)

0 commit comments

Comments
 (0)