Giter Club home page Giter Club logo

newrelic-dotnet-agent-extensions's Introduction

New Relic .NET Agent Extensions

Extensions that work with the New Relic .NET Agent that will give you more information on various frameworks and modules that can be used with the .NET framework.

To learn how to make these extensions you can go here, then submit a pull request and I'll add them here to help everyone out.

How to use these extensions

If you installed New Relic on your own metal or if you used the Nuget packages the process for adding extensions to what is instrumented is pretty much the same.

  1. Create an extension file, fork this repo, or just grab whatever is interesting from the source in this repo.
  2. Navigate to where New Relic is installed (either on your server, locally if you've installed it on you dev machine or if you used the nuget package you'll have a NewRelic folder in your source directory.
  3. Place your extension (xml) file in the extensions directory (there should already be a coreinstrumetnation.xml file currently in that directory - don't overwrite that one just make sure your's has a different / meaningful name).
  4. Restart your application and you should be good to go.

Notes

  • The more method "tracers" you add the more your application will be instrumented. You app will eventually take a performance hit if you throw in too many custom instrumentation points. While I have not attempted to instrument everything in the .net framework (yet ;)) just try a few things and see what works for you.

  • If your extension file does not work out initially try the troubleshooting tips or use this amazing tool that will generate custom instrumetnation extensions for you.

  • You can always reach out to me on the Twiters and chat about how to do this as well.

Contribute

Standards

  • Follow the details here when generating the instrumentation
  • Name the instrumentation file with the following convention: thing_instrumentation.xml where thing is the framework, library, etc that is being instrumented.
  • Place it in the corresponding folder that is applicable for the instrumentation. For instance: If you're doing MemcacheD then put MemcacheD_instrumentation.xml in the "NoSql" folder

Collisions

As will many really great things others might have already solved or have started creating instrumentation for something you'd like as well check to see if there is already an instrumentation file for the thing you need. If it does not quite "get you there" then you can always generate a pull request that adds what you need.

Pull requests

  1. Fork the repository
  2. Add awesome code or fix an issue with awesome code
  3. Submit a pull request

newrelic-dotnet-agent-extensions's People

Contributors

nickfloyd avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kbba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.