Many New Relic customers are working to modernize and integrate their existing monolithic .NET Framework applications with modern service architectures. As this work continues to push forward, Microsoft is embracing a more open ecosystem with .NET Core. Core helps enable developers to easily build new dynamic workloads designed to scale on leading public clouds like Microsoft Azure and Amazon Web Services.
Microsoft’s approach creates an opportunity for New Relic to help our customers accelerate innovation by providing new features and integrations for Microsoft .NET and Azure:
- New Relic APM support for .NET Core 2.0 on Linux and Windows (now in public beta)
- Five Azure Cloud Service integrations in New Relic Infrastructure: Cosmos DB, Service Bus, Virtual Machines metadata, Functions, and Virtual Network (all now in public beta)
- Planned enhancements to our existing New Relic APM agent for .NET Framework
APM agent for Microsoft .NET Core 2.0 now in public betaCustomers tell us that they are motivated to deploy .NET Core 2.0 applications and services to Linux systems. They say they need to quickly and cost effectively scale new services dynamically on public clouds. However, this market shift for .NET creates new and complex monitoring challenges because of the diverse distributed environments. We built our new features to enable customers to capture events, metrics, and traces for their apps and services independently of how or where developers choose to run their workloads.
No more “cowboy deploys”
Adding support for .NET Core on Linux is designed to help our customers better understand and manage the performance of modern workloads. We wanted to help reduce situations where developers were doing “cowboy deploys” of apps without regard for monitoring, and later suffering technical debt from fragile code. The result is a public beta of our APM agent for .NET Core 2.0 on 64-bit Linux and Windows.
The agent offers a wide variety of out-of-the-box auto-instrumentation:
- Visibility for apps hosted on Kestrel (including IIS, Apache, or NGINX as reverse proxy)
- Application models include MVC, Web API, and ASP.NET Core
- Datastore support for Microsoft SQL Server, MySQL, and PostgreSQL
- External HTTP calls using HttpClient
- Instrumentation of async methods
- Custom instrumentation through attributes, APIs, and external XML
Of course, the agent works with New Relic APM’s existing UI, including support for:
- Transaction Metrics
- Cross-application transaction tracing
- Errors and Error Analytics
- Service Maps, Health Map, and Alerts
Infrastructure integrations with Azure Cloud Services now in public betaTo better support our enterprise customers migrating to the Azure Cloud Platform and DevOps teams leveraging the latest Azure service offerings, we are also introducing five new Azure Service integrations in New Relic Infrastructure.
- Virtual Machine Metadata: Add Azure attributes to VMs, such as resource groups, VM Size, region name, and availability set.
- Cosmos DB: Monitor Azure’s NoSQL multi-model distributed database.
- Service Bus: Get data from Azure’s distributed messaging system
- Functions: Monitor Azure’s serverless application service.
- Virtual Networks: Understand how networks, subnets, and routing is configured as well as monitor DDoS attacks.
These new integrations expand our growing list of cloud service integrations and are designed to give customers specific and detailed cloud hosting information and insights from Azure within the New Relic Digital Intelligence Platform. As part of the integration, users get all the power of Digital Intelligence Platform features like Alerts, Dashboards, and NRQL queries with the Azure data. We plan to add more Azure Cloud Service integrations based on customer demand. You can make suggestions for our next Azure integrations and sign up for the beta below:
.NET agent enhancements now available
Many New Relic customers rely on various versions of Microsoft .NET Framework. In many cases, the need for monitoring these applications surfaced as part of troubleshooting production issues. In other cases, it has been part of the process to baseline and modernize monolithic applications for better scaling in the future.
As part of our continued commitment to our customers using .NET Framework, we have released major updates to our agent with greatly expanded support for additional asynchronous use cases, improved agent performance, reduced profiling overhead, and added support for OWIN and attribute-based custom instrumentation. We plan to add support for RestSharp in an upcoming release. Specifically, the enhancements include:
- Support for OWIN0/3.0 for non-IIS web servers such as Apache and NGINX
- Expanded datastore support includes IBM DB2, MS SQL Server, MySQL, PostgreSQL, Oracle, DB2, Redis
- Support for RabbitMQ and Couchbase
- Improvements to agent performance and reduced overhead
Whether you are new to the world of .NET and Azure or a seasoned veteran working with .NET Framework applications, Microsoft’s recent moves are some of the boldest we’ve seen in years. We plan to continue to grow and evolve our support for Microsoft .NET and Azure environments and look forward to your feedback and suggestions. We hope that these releases help you and your customers accelerate the deployment of modern applications, services, and infrastructure.