Search This Blog

Wednesday 26 June 2019

Getting started with NewRelic

Introduction to New Relic APM

New Relic's software analytics product for application performance monitoring (APM) delivers real-time and trending data about your web application's performance and the level of satisfaction that your end users experience. With end to end transaction tracing and a variety of color-coded charts and reports, APM visualizes your data, down to the deepest code levels.


Get started with the .NET Core agent
Before installing the New Relic .NET Core agent:
  • .NET agent configuration - Required environment variables.

Steps as below
  1. Signup on https://newrelic.com/
  2. Get the "service licenseKey"
  3. Create Sample Application for .Net / .Net Core
  4. From the Package Manager command prompt, type Install-Package NewRelic.Agent and press Enter. When you build your project, the .NET agent folder will be copied to your build output directory
  5. Set environment variables.
  6. update newrelic.config file content for service licenseKey="key from new relic portal"
  7. update newrelic.config file content for SampleWebApplication

Screen shot

Source Code: NewRelic Sample code

Screen Shot 1: You will get New relic dashboard link in logs
Screen Shot 2:
Screen Shot 3:

Solution for Common Mistake

  • Monitor whole system.
  • Monitoring important things about system.
  • Monitor early enough.

Elasticsearch - Nodes, clusters, and shards

Elastic Stack Video - Load your gun in short time.   Beginner's Crash Course to Ela...

Recent Post