Being able to view your data in a single UI makes troubleshooting errors and issues much easier. Now, Spring Boot developers can enjoy that benefit in New Relic One. With Microsoft Azure’s latest integration, you can simply send your application data directly to New Relic One, so you can take full advantage of the powerful observability platform.
Azure Spring Cloud is a service that manages infrastructure for Java Spring Boot and .NET Core Steeltoe applications, making it painless for product teams to deploy their applications to Azure. Azure’s integration deploys New Relic’s Java agent into a Spring Boot application. Then you can visualize and troubleshoot your entire software stack within one connected experience. With Azure’s integration, you can monitor key aspects of your applications, such as web transaction time, throughput, and error rate. You also have access to key features like New Relic Lookout, which provides visibility across your entire estate without any additional configuration. You can query what matters to you in the moment, view your entire system, or delve into the details with just a few clicks.
Get started with the New Relic Azure Spring Cloud integration
Unlocking New Relic One’s powerful observability platform for your Java Spring Boot app is a simple, three-step process using the command-line interface:
- Create an instance of Azure Spring Cloud.
- Create an application:
az spring-cloud app create --name "appName" --is-public true \
-s "resourceName" -g "resourceGroupName"
3. Deploy your application and configure the New Relic Java agent:
az spring-cloud app deploy --name "appName" --jar-path app.jar \
-s "resourceName" -g "resourceGroupName" \
--jvm-options="-javaagent:/opt/agents/newrelic/java/newrelic-agent.jar" \
--env NEW_RELIC_APP_NAME=appName NEW_RELIC_LICENSE_KEY=newRelicLicenseKey
Other installation methods provided by Azure include:
Visualize and troubleshoot with New Relic
After your application is sending data to New Relic, you can begin exploring the platform. The following examples are from a Spring Boot application (called Pet Clinic), in staging. Azure Spring Cloud is a managed service offering for Spring Boot applications.
Use the web transaction view to see how your application is performing and where to drill down into more details:
Review the summary view of your application transactions, delving deeper into the slowest performers:
Use the data explorer to uncover slow performing queries:
Enable distributed tracing to see performance across a variety of application endpoints:
Then drill down into specific, problematic traces:
From the Errors page, get a summary view of all errors generated:
Then click and access the details on any specific error:
View the performance of your Java Virtual Machines (JVMs) to uncover hotspots that need attention and determine where to focus your application tuning:
Delve deeper into all your application metrics, by building your own queries and dashboards:
New Relic and Azure Spring Cloud: stronger together
With Azure's integration, you can use New Relic One to visualize your data and troubleshoot critical issues all on one, unified platform. You can easily combine your Spring Boot app data with events, traces, and log data from other entities across your software stack. This fully connected view makes troubleshooting easier and provides shared context across for teams so that your applications stay available, reliable, and fast.
다음 단계
To begin using the integration today, check out the Azure Spring Cloud docs.
이 블로그에 표현된 견해는 저자의 견해이며 반드시 New Relic의 견해를 반영하는 것은 아닙니다. 저자가 제공하는 모든 솔루션은 환경에 따라 다르며 New Relic에서 제공하는 상용 솔루션이나 지원의 일부가 아닙니다. 이 블로그 게시물과 관련된 질문 및 지원이 필요한 경우 Explorers Hub(discuss.newrelic.com)에서만 참여하십시오. 이 블로그에는 타사 사이트의 콘텐츠에 대한 링크가 포함될 수 있습니다. 이러한 링크를 제공함으로써 New Relic은 해당 사이트에서 사용할 수 있는 정보, 보기 또는 제품을 채택, 보증, 승인 또는 보증하지 않습니다.