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.
Próximos pasos
To begin using the integration today, check out the Azure Spring Cloud docs.
Las opiniones expresadas en este blog son las del autor y no reflejan necesariamente las opiniones de New Relic. Todas las soluciones ofrecidas por el autor son específicas del entorno y no forman parte de las soluciones comerciales o el soporte ofrecido por New Relic. Únase a nosotros exclusivamente en Explorers Hub ( discus.newrelic.com ) para preguntas y asistencia relacionada con esta publicación de blog. Este blog puede contener enlaces a contenido de sitios de terceros. Al proporcionar dichos enlaces, New Relic no adopta, garantiza, aprueba ni respalda la información, las vistas o los productos disponibles en dichos sitios.