Effortlessly monitor applications and dependencies in Azure Spring Cloud!

Published Jan 21 2021 10:26 AM 3,763 Views
Microsoft

We are excited to announce that Application Performance Monitoring (APM) is now fully integrated into Azure Spring Cloud, powered by Application Insights.

 

Azure Spring Cloud is jointly built, operated, and supported by Microsoft and VMware. It is a fully managed service for Spring Boot applications that lets you focus on building the applications that run your business without the hassle of managing infrastructure.

 

APM in Azure Spring Cloud offers in-depth performance monitoring for your Spring applications without requiring ANY code changes, recompiling, retesting, or redeployment. APM on Azure Spring Cloud is so seamless that you get the insights on your applications just out of the box. You do not have to do ANYTHING - just deploy your applications and the monitoring data starts flowing. The benefits you get with application monitoring are:

  • Visibility into all your applications with distributed tracing, including paths of operation requests from origins to destinations and insights into applications that are operating correctly and those with bottlenecks.
  • Logs, exceptions, and metrics in the context of call paths offer meaningful insights and actionable information to speed root cause analysis.
  • Insights into application dependencies – SQL Database, MySQL, PostgreSQL, MariaDB, JDBC, MongoDB, Cassandra, Redis, JMS, Kafka, Netty / WebFlux, etc.
  • Performance data for every call into operations exposed by applications, including data-like request counts, response times, CPU usage, and memory.
  • Custom metrics conveniently auto-collected through Micrometer, allowing you to publish custom performance indicators or business-specific metrics and visualize deeper application and business insights.
  • Ability to browse, query, and alert on application metrics and logs.

 

While both Azure Spring Cloud and Application Insights Java agent are generally available, their integration for out of the box monitoring is in preview.

 

"Improvements in Azure Spring Cloud are always welcome, especially when they seamlessly integrate products from across the Azure ecosystem. A great example is the introduction of the 3.0 version of the Application Insights Java agent - now we can make better horizontal autoscaling decisions by capturing requests sent to our Netty powered Spring Cloud Gateway and SQL statements issued by our applications are captured and show very nicely in the application map". -- Jonathan Jones, Lead Solutions Architect, Swiss Re Management Ltd. (Switzerland)

 

“Raley’s is very excited by the continued enhancements to Azure Spring Cloud. With the addition of a Java in-process agent for Application Insights, our developers have fewer integration points to worry about! This enhancement promises to increase our productivity by reducing the development effort and decreasing the effort required to support and troubleshoot issues!” -- Armando Guzman, Principal Software Engineer, Unified Commerce, Raley’s (United States)

 

You can enable the Java in-process monitoring agent when you create or update Azure Spring Cloud:

 

 

az spring-cloud create --name ${SPRING_CLOUD_SERVICE} \
        --sku standard --enable-java-agent \
        --resource-group ${RESOURCE_GROUP} \
        --location ${REGION}

 

 

Then, you can open Application Insights created by Azure Spring Cloud and start monitoring applications and their dependencies – we will illustrate this using a distributed version of Spring Petclinic. Navigate to the Application Map blade where you can see an incredible, holistic view of microservices that shows applications that are operating correctly (green) and those with bottlenecks (red) [Figure 1]. Developers can easily identify issues in their applications and quickly troubleshoot and fix them.

 

Figure 1 - Microservice transactions in Application Insights

distributed-tracking-new-ai-agent.jpg

Navigate to the Performance blade where you can see response times and request counts for operations exposed by your applications [Figure 2].

 

Figure 2 – Performance of operations exposed by applications

petclinic-microservices-performance.jpg

Navigate to the Dependencies tab in the Performance blade where you can see all your dependencies and their response times and request counts [Figure 3].

 

Figure 3 – Performance of application dependencies

petclinic-microservices-insights-on-dependencies

You can click a SQL call or a dependency to see the full end-to-end transaction in context [Figure 4].

 

Figure 4 – End-to-end application to SQL call transaction details

petclinic-microservices-end-to-end-transaction-details.jpg

Navigate to the Exceptions tab in the Failures blade to see a collection of exceptions thrown by applications [Figure 5].

 

Figure 5 – Exceptions thrown by applications

petclinic-microservices-failures-exceptions.jpg

Simply select an exception and drill in for meaningful insights and actionable stack trace [Figure 6].

 

Figure 6 – End-to-end transaction details for an application exception

end-to-end-transaction-details.jpg

Navigate to the Metrics blade to see all the metrics contributed by Spring Boot applications, Spring Cloud modules, and their dependencies. The chart below showcases gateway-requests contributed by Spring Cloud Gateway and hikaricp_connections contributed by JDBC [Figure 7]. Similarly, you can aggregate Spring Cloud Resilience4J metrics and visualize them.

 

Figure 7 – Metrics contributed by Spring modules

petclinic-microservices-metrics.jpg

Spring Boot applications register a lot of core metrics – JVM, CPU, Tomcat, Logback, etc. You can use Micrometer to contribute your own custom metrics, say using the @Timed Micrometer annotation at a class level. You can then visualize those custom metrics in Application Insights. As an example, see how pet owners, pets, and their clinical visits are tracked by custom metrics below – you can also see how the pattern changes at 9 PM because applications are driving higher utilization when autoscaling kicked in [Figure 8].

 

Figure 8 – Custom metrics published by user applications

petclinic-microservices-custom-metrics.jpg

You can use the Availability Test feature in Application Insights to monitor the availability of applications in Azure Spring Cloud. This is a recurring test to monitor the availability and responsiveness of applications at regular intervals from anywhere across the globe. It can proactively alert you if your applications are not responding or if they respond too slowly. The chart below shows availability tests from across North America – West US, South Central, Central US, and East US [Figure 9].

 

Figure 9 – Availability of application endpoints across time

petclinic-microservices-availability.jpg

Navigate to the Live Metrics blade where you can see live metrics practically in real-time, within only one second [Figure 10].

 

Figure 10 – Real-time metrics

petclinic-microservices-live-metrics.jpg

 

Application Insights Java agent is based on OpenTelemetry auto instrumentation effort, where Microsoft collaborates with other brightest minds of the APM space.

 

Build your solutions and monitor them today!

Azure Spring Cloud abstracts away the complexity of infrastructure management and Spring Cloud middleware management, so you can focus on building your business logic and let Azure take care of dynamic scaling, patches, security, compliance, and high availability. With a few steps, you can provision Azure Spring Cloud, create applications, deploy, and scale Spring Boot applications, and start monitoring in minutes. We will continue to bring more developer-friendly and enterprise-ready features to Azure Spring Cloud.

 

We would love to hear how you are building impactful solutions using Azure Spring Cloud. Get started today – deploy Spring applications to Azure Spring Cloud using quickstart!

 

Resources

%3CLINGO-SUB%20id%3D%22lingo-sub-2077508%22%20slang%3D%22en-US%22%3EEffortlessly%20monitor%20applications%20and%20dependencies%20in%20Azure%20Spring%20Cloud!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2077508%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20excited%20to%20announce%20that%20Application%20Performance%20Monitoring%20(APM)%20is%20now%20fully%20integrated%20into%20Azure%20Spring%20Cloud%2C%20powered%20by%20Application%20Insights.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fspring-cloud%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Spring%20Cloud%3C%2FA%3E%20is%20jointly%20built%2C%20operated%2C%20and%20supported%20by%20Microsoft%20and%20VMware.%20It%20is%20a%20fully%20managed%20service%20for%20Spring%20Boot%20applications%20that%20lets%20you%20focus%20on%20building%20the%20applications%20that%20run%20your%20business%20without%20the%20hassle%20of%20managing%20infrastructure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAPM%20in%20Azure%20Spring%20Cloud%20offers%20in-depth%20performance%20monitoring%20for%20your%20Spring%20applications%20without%20requiring%20ANY%20code%20changes%2C%20recompiling%2C%20retesting%2C%20or%20redeployment.%20APM%20on%20Azure%20Spring%20Cloud%20is%20so%20seamless%20that%20you%20get%20the%20insights%20on%20your%20applications%20just%20out%20of%20the%20box.%20You%20do%20not%20have%20to%20do%20ANYTHING%20-%20just%20deploy%20your%20applications%20and%20the%20monitoring%20data%20starts%20flowing.%20The%20benefits%20you%20get%20with%20application%20monitoring%20are%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EVisibility%20into%20all%20your%20applications%20with%20%3CSTRONG%3Edistributed%20tracing%3C%2FSTRONG%3E%2C%20including%20paths%20of%20operation%20requests%20from%20origins%20to%20destinations%20and%20insights%20into%20applications%20that%20are%20operating%20correctly%20and%20those%20with%20bottlenecks.%3C%2FLI%3E%0A%3CLI%3ELogs%2C%20exceptions%2C%20and%20metrics%20in%20the%20context%20of%20call%20paths%20offer%20%3CSTRONG%3Emeaningful%20insights%20and%20actionable%20information%3C%2FSTRONG%3E%20to%20speed%20root%20cause%20analysis.%3C%2FLI%3E%0A%3CLI%3EInsights%20into%20application%20%3CSTRONG%3Edependencies%3C%2FSTRONG%3E%20%E2%80%93%20SQL%20Database%2C%20MySQL%2C%20PostgreSQL%2C%20MariaDB%2C%20JDBC%2C%20MongoDB%2C%20Cassandra%2C%20Redis%2C%20JMS%2C%20Kafka%2C%20Netty%20%2F%20WebFlux%2C%20etc.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EPerformance%20data%20%3C%2FSTRONG%3Efor%20every%20call%20into%20operations%20exposed%20by%20applications%2C%20including%20data-like%20request%20counts%2C%20response%20times%2C%20CPU%20usage%2C%20and%20memory.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ECustom%20metrics%3C%2FSTRONG%3E%20conveniently%20auto-collected%20through%20Micrometer%2C%20allowing%20you%20to%20publish%20custom%20performance%20indicators%20or%20business-specific%20metrics%20and%20visualize%20deeper%20application%20and%20business%20insights.%3C%2FLI%3E%0A%3CLI%3EAbility%20to%20%3CSTRONG%3Ebrowse%2C%20query%2C%20and%20alert%20on%20application%20metrics%20and%20logs%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20both%20Azure%20Spring%20Cloud%20and%20Application%20Insights%20Java%20agent%20are%20generally%20available%2C%20their%20integration%20for%20out%20of%20the%20box%20monitoring%20is%20in%20preview.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%22Improvements%20in%20Azure%20Spring%20Cloud%20are%20always%20welcome%2C%20especially%20when%20they%20seamlessly%20integrate%20products%20from%20across%20the%20Azure%20ecosystem.%20A%20great%20example%20is%20the%20introduction%20of%20the%203.0%20version%20of%20the%20Application%20Insights%20Java%20agent%20-%20now%20we%20can%20make%20better%20horizontal%20autoscaling%20decisions%20by%20capturing%20requests%20sent%20to%20our%20Netty%20powered%20Spring%20Cloud%20Gateway%20and%20SQL%20statements%20issued%20by%20our%20applications%20are%20captured%20and%20show%20very%20nicely%20in%20the%20application%20map%22.%20--%20Jonathan%20Jones%2C%20Lead%20Solutions%20Architect%2C%20%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Fwww.swissre.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3ESwiss%20Re%20Management%20Ltd%3C%2FEM%3E%3C%2FA%3E%3CSPAN%3E%3CEM%3E.%3C%2FEM%3E%3C%2FSPAN%3E%3CEM%3E%20(Switzerland)%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%E2%80%9CRaley%E2%80%99s%20is%20very%20excited%20by%20the%20continued%20enhancements%20to%20Azure%20Spring%20Cloud.%20With%20the%20addition%20of%20a%20Java%20in-process%20agent%20for%20Application%20Insights%2C%20our%20developers%20have%20fewer%20integration%20points%20to%20worry%20about!%20This%20enhancement%20promises%20to%20increase%20our%20productivity%20by%20reducing%20the%20development%20effort%20and%20decreasing%20the%20effort%20required%20to%20support%20and%20troubleshoot%20issues!%E2%80%9D%20--%20Armando%20Guzman%2C%20Principal%20Software%20Engineer%2C%20Unified%20Commerce%2C%20%3C%2FEM%3E%3CA%20href%3D%22https%3A%2F%2Fwww.raleys.com%2Fabout%2Fraleys-corporate-fact-sheet%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CEM%3ERaley%E2%80%99s%3C%2FEM%3E%3C%2FA%3E%3CEM%3E%20(United%20States)%20%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20enable%20the%20Java%20in-process%20monitoring%20agent%20when%20you%20create%20or%20update%20Azure%20Spring%20Cloud%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Eaz%20spring-cloud%20create%20--name%20%24%7BSPRING_CLOUD_SERVICE%7D%20%5C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20--sku%20standard%20--enable-java-agent%20%5C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20--resource-group%20%24%7BRESOURCE_GROUP%7D%20%5C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20--location%20%24%7BREGION%7D%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%2C%20you%20can%20open%20Application%20Insights%20created%20by%20Azure%20Spring%20Cloud%20and%20start%20monitoring%20applications%20and%20their%20dependencies%20%E2%80%93%20we%20will%20illustrate%20this%20using%20a%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fspring-petclinic-microservices%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Edistributed%20version%20of%20Spring%20Petclinic%3C%2FA%3E.%20Navigate%20to%20the%20%3CSTRONG%3E%3CEM%3EApplication%20Map%3C%2FEM%3E%3C%2FSTRONG%3E%26nbsp%3Bblade%20where%20you%20can%20see%20an%20incredible%2C%20holistic%20view%20of%20microservices%20that%20shows%20applications%20that%20are%20operating%20correctly%20(green)%20and%20those%20with%20bottlenecks%20(red)%20%5BFigure%201%5D.%20Developers%20can%20easily%20identify%20issues%20in%20their%20applications%20and%20quickly%20troubleshoot%20and%20fix%20them.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%201%20-%20Microservice%20transactions%20in%20Application%20Insights%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22distributed-tracking-new-ai-agent.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247680i29B975EEE5F757C4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22distributed-tracking-new-ai-agent.jpg%22%20alt%3D%22distributed-tracking-new-ai-agent.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20%3CSTRONG%3E%3CEM%3EPerformance%3C%2FEM%3E%3C%2FSTRONG%3E%26nbsp%3Bblade%20where%20you%20can%20see%20response%20times%20and%20request%20counts%20for%20operations%20exposed%20by%20your%20applications%20%5BFigure%202%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%202%20%E2%80%93%20Performance%20of%20operations%20exposed%20by%20applications%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-performance.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247681i5CF546A6D2AF5993%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-performance.jpg%22%20alt%3D%22petclinic-microservices-performance.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20%3CSTRONG%3E%3CEM%3EDependencies%3C%2FEM%3E%3C%2FSTRONG%3E%20tab%20in%20the%20%3CSTRONG%3E%3CEM%3EPerformance%3C%2FEM%3E%3C%2FSTRONG%3E%26nbsp%3Bblade%20where%20you%20can%20see%20all%20your%20dependencies%20and%20their%20response%20times%20and%20request%20counts%20%5BFigure%203%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%203%20%E2%80%93%20Performance%20of%20application%20dependencies%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-insights-on-dependencies%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247683i8F5B4E46E215829B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-insights-on-dependencies%22%20alt%3D%22petclinic-microservices-insights-on-dependencies%22%20%2F%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20click%20a%20SQL%20call%20or%20a%20dependency%20to%20see%20the%20full%20end-to-end%20transaction%20in%20context%20%5BFigure%204%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%204%20%E2%80%93%20End-to-end%20application%20to%20SQL%20call%20transaction%20details%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-end-to-end-transaction-details.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247684iF7008E276CAB2205%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-end-to-end-transaction-details.jpg%22%20alt%3D%22petclinic-microservices-end-to-end-transaction-details.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20%3CEM%3E%3CSTRONG%3EExceptions%3C%2FSTRONG%3E%3C%2FEM%3E%26nbsp%3Btab%20in%20the%20%3CSTRONG%3E%3CEM%3EFailures%3C%2FEM%3E%3C%2FSTRONG%3E%26nbsp%3Bblade%20to%20see%20a%20collection%20of%20exceptions%20thrown%20by%20applications%20%5BFigure%205%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%205%20%E2%80%93%20Exceptions%20thrown%20by%20applications%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-failures-exceptions.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247685i506070E103436815%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-failures-exceptions.jpg%22%20alt%3D%22petclinic-microservices-failures-exceptions.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESimply%20select%20an%20exception%20and%20drill%20in%20for%20meaningful%20insights%20and%20actionable%20stack%20trace%20%5BFigure%206%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%206%20%E2%80%93%20End-to-end%20transaction%20details%20for%20an%20application%20exception%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22end-to-end-transaction-details.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247686i089F7DDF49829D12%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22end-to-end-transaction-details.jpg%22%20alt%3D%22end-to-end-transaction-details.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20%3CSTRONG%3E%3CEM%3EMetrics%3C%2FEM%3E%3C%2FSTRONG%3E%20blade%20to%20see%20all%20the%20metrics%20contributed%20by%20Spring%20Boot%20applications%2C%20Spring%20Cloud%20modules%2C%20and%20their%20dependencies.%20The%20chart%20below%20showcases%20%3CEM%3Egateway-requests%3C%2FEM%3E%20contributed%20by%20Spring%20Cloud%20Gateway%20and%20%3CEM%3Ehikaricp_connections%3C%2FEM%3E%26nbsp%3Bcontributed%20by%20JDBC%20%5BFigure%207%5D.%20Similarly%2C%20you%20can%20aggregate%20Spring%20Cloud%20Resilience4J%20metrics%20and%20visualize%20them.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%207%20%E2%80%93%20Metrics%20contributed%20by%20Spring%20modules%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-metrics.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247687iFDD7787A687725F3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-metrics.jpg%22%20alt%3D%22petclinic-microservices-metrics.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESpring%20Boot%20applications%20register%20a%20lot%20of%20core%20metrics%20%E2%80%93%20JVM%2C%20CPU%2C%20Tomcat%2C%20Logback%2C%20etc.%20You%20can%20use%20Micrometer%20to%20contribute%20your%20own%20custom%20metrics%2C%20say%20using%20the%20%3CEM%3E%40Timed%3C%2FEM%3E%26nbsp%3BMicrometer%20annotation%20at%20a%20class%20level.%20You%20can%20then%20visualize%20those%20custom%20metrics%20in%20Application%20Insights.%20As%20an%20example%2C%20see%20how%20pet%20owners%2C%20pets%2C%20and%20their%20clinical%20visits%20are%20tracked%20by%20custom%20metrics%20below%20%E2%80%93%20you%20can%20also%20see%20how%20the%20pattern%20changes%20at%209%20PM%20because%20applications%20are%20driving%20higher%20utilization%20when%20autoscaling%20kicked%20in%20%5BFigure%208%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%208%20%E2%80%93%20Custom%20metrics%20published%20by%20user%20applications%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-custom-metrics.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247688iCB01582DD3EE633B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-custom-metrics.jpg%22%20alt%3D%22petclinic-microservices-custom-metrics.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20use%20the%20Availability%20Test%20feature%20in%20Application%20Insights%20to%20monitor%20the%20availability%20of%20applications%20in%20Azure%20Spring%20Cloud.%20This%20is%20a%20recurring%20test%20to%20monitor%20the%20availability%20and%20responsiveness%20of%20applications%20at%20regular%20intervals%20from%20anywhere%20across%20the%20globe.%20It%20can%20proactively%20alert%20you%20if%20your%20applications%20are%20not%20responding%20or%20if%20they%20respond%20too%20slowly.%20The%20chart%20below%20shows%20availability%20tests%20from%20across%20North%20America%20%E2%80%93%20West%20US%2C%20South%20Central%2C%20Central%20US%2C%20and%20East%20US%20%5BFigure%209%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%209%20%E2%80%93%20Availability%20of%20application%20endpoints%20across%20time%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-availability.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247689i795257410ECC720F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-availability.jpg%22%20alt%3D%22petclinic-microservices-availability.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20%3CSTRONG%3E%3CEM%3ELive%20Metrics%3C%2FEM%3E%3C%2FSTRONG%3E%20blade%20where%20you%20can%20see%20live%20metrics%20practically%20in%20real-time%2C%20within%20only%20one%20second%20%5BFigure%2010%5D.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EFigure%2010%20%E2%80%93%20Real-time%20metrics%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-live-metrics.jpg%22%20style%3D%22width%3A%20829px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247690i09622A5AD5E17D90%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-live-metrics.jpg%22%20alt%3D%22petclinic-microservices-live-metrics.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApplication%20Insights%20Java%20agent%20is%20based%20on%20%3CA%20href%3D%22https%3A%2F%2Fopentelemetry.io%2Fdocs%2Fjava%2Fautomatic_instrumentation%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EOpenTelemetry%3C%2FA%3E%20auto%20instrumentation%20effort%2C%20where%20Microsoft%20collaborates%20with%20other%20brightest%20minds%20of%20the%20APM%20space.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1246843068%22%20id%3D%22toc-hId-1246843069%22%3EBuild%20your%20solutions%20and%20monitor%20them%20today!%3C%2FH1%3E%0A%3CP%3EAzure%20Spring%20Cloud%20abstracts%20away%20the%20complexity%20of%20infrastructure%20management%20and%20Spring%20Cloud%20middleware%20management%2C%20so%20you%20can%20focus%20on%20building%20your%20business%20logic%20and%20let%20Azure%20take%20care%20of%20dynamic%20scaling%2C%20patches%2C%20security%2C%20compliance%2C%20and%20high%20availability.%20With%20a%20few%20steps%2C%20you%20can%20provision%20Azure%20Spring%20Cloud%2C%20create%20applications%2C%20deploy%2C%20and%20scale%20Spring%20Boot%20applications%2C%20and%20start%20monitoring%20in%20minutes.%20We%20will%20continue%20to%20bring%20more%20developer-friendly%20and%20enterprise-ready%20features%20to%20Azure%20Spring%20Cloud.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20would%20love%20to%20hear%20how%20you%20are%20building%20impactful%20solutions%20using%20Azure%20Spring%20Cloud.%20Get%20started%20today%20%E2%80%93%20deploy%20Spring%20applications%20to%20Azure%20Spring%20Cloud%20using%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fget-started-with-azure-spring-cloud%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Equickstart%3C%2FA%3E%3CSPAN%3E!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSTRONG%3EResources%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ELearn%20using%20an%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Flearn%2Fmodules%2Fazure-spring-cloud-workshop%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMS%20Learn%20module%3C%2FA%3E%20or%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fazure-spring-cloud-training%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eself-paced%20workshop%3C%2FA%3E%20on%20GitHub%3C%2FLI%3E%0A%3CLI%3ELearn%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fspring-cloud%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Emore%3C%2FA%3E%20about%20implementing%20solutions%20on%20Azure%20Spring%20Cloud%3C%2FLI%3E%0A%3CLI%3ELearn%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fspring-cloud%2Fspring-cloud-howto-application-insights%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Emore%3C%2FA%3E%20about%20Application%20Insights%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fapp%2Fjava-in-process-agent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EJava%20in-process%20agent%3C%2FA%3E%20in%20Azure%20Spring%20Cloud%2C%20including%20Spring%20Cloud%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fspring-cloud%2Fspring-cloud-howto-circuit-breaker-metrics%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EResilience4J%20Circuit%20Breaker%20metrics%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fspring-petclinic-microservices%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDeploy%3C%2FA%3E%20a%20distributed%20version%20of%20Spring%20Petclinic%20built%20with%20Spring%20Cloud%3C%2FLI%3E%0A%3CLI%3EMigrate%20your%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdeveloper%2Fjava%2Fmigration%2Fmigrate-spring-boot-to-azure-spring-cloud%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESpring%20Boot%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdeveloper%2Fjava%2Fmigration%2Fmigrate-spring-cloud-to-azure-spring-cloud%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESpring%20Cloud%3C%2FA%3E%2C%20and%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmigrate-tomcat-to-azure-spring-cloud-service%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ETomcat%3C%2FA%3E%20applications%20to%20Azure%20Spring%20Cloud%3C%2FLI%3E%0A%3CLI%3EWire%20Spring%20applications%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdeveloper%2Fjava%2Fspring-framework%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Einteract%20with%20Azure%20services%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EFor%20feedback%20and%20questions%2C%20please%20%3CA%20href%3D%22mailto%3AAzureSpringCloud-Talk%40service.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ee-mail%3C%2FA%3E%20us.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2077508%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20excited%20to%20announce%20that%20Application%20Performance%20Monitoring%20(APM)%20is%20now%20fully%20integrated%20into%20Azure%20Spring%20Cloud%2C%20powered%20by%20Application%20Insights.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAPM%20in%20Azure%20Spring%20Cloud%20offers%20in-depth%20performance%20monitoring%20for%20your%20Spring%20applications%20without%20requiring%20ANY%20code%20changes%2C%20recompiling%2C%20retesting%2C%20or%20redeployment.%20APM%20on%20Azure%20Spring%20Cloud%20is%20so%20seamless%20that%20you%20get%20the%20insights%20on%20your%20applications%20just%20out%20of%20the%20box.%20You%20do%20not%20have%20to%20do%20ANYTHING%20-%20just%20deploy%20your%20applications%20and%20the%20monitoring%20data%20starts%20flowing.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petclinic-microservices-custom-metrics.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247698i95F34A5A97854A2F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22petclinic-microservices-custom-metrics.jpg%22%20alt%3D%22petclinic-microservices-custom-metrics.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2077508%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESpring%20Cloud%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jan 21 2021 11:31 AM
Updated by: