Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

29 lines (26 loc) · 1.19 KB

butterfly-csharp

Build status

A .NET client for Butterfly-APM.

Example

Quickstart

  • create new Asp.Net Core web project.
  • Install-Package Butterfly.Client.AspNetCore
  • register Butterfly services in ConfigureServices method (the CollectorUrl and Service options are required)
    public void ConfigureServices(IServiceCollection services)
    {
       //your other code 
      services.AddButterfly(option =>
      {
          option.CollectorUrl = "http://localhost:9618";
          option.Service = "my service";
      });
    }
    
  • run your application and browse to http://localhost:9618 to view traces