Apache SkyWalking is an APM designed for microservices, cloud native and container-based (Docker, K8s, Mesos) architectures. SkyAPM-dotnet provides the native support agent in C# and .NETStandard platform, with the helps from Apache SkyWalking committer team.
Platform | Build Server | Master Status |
---|---|---|
AppVeyor | Windows/Linux |
Package Name | NuGet | MyGet | Downloads |
---|---|---|---|
SkyAPM.Agent.AspNetCore | |||
SkyAPM.Agent.AspNet |
MyGet feed URL https://www.myget.org/F/skyapm-dotnet/api/v3/index.json
- This project currently supports apps targeting netcoreapp2.0/netframework4.6.1 or higher.
- Supported middlewares, frameworks and libraries.
A quick list of SkyWalking .NET Core Agent's capabilities
- Application Topology
- Distributed Tracing
- ASP.NET Core Diagnostics
- HttpClient Diagnostics
- EntityFrameworkCore Diagnostics
- SkyWalking Collector 5.0.0-beta or higher. See SkyWalking backend deploy docs.
- SkyWalking 6 backend is compatible too. The deployment doc is here. If you are new user, recommand you to read the whole official documents
You can run the following command to install the SkyWalking .NET Core Agent in your project.
dotnet add package SkyAPM.Agent.AspNetCore
Set the ASPNETCORE_HOSTINGSTARTUPASSEMBLIES
environment variable to support the activation of the SkyAPM .NET Core Agent.
- Add the assembly name of
SkyAPM.Agent.AspNetCore
to theASPNETCORE_HOSTINGSTARTUPASSEMBLIES
environment variable.
- On windows
dotnet new mvc -n sampleapp
cd sampleapp
dotnet add package SkyAPM.Agent.AspNetCore
set ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyAPM.Agent.AspNetCore
set SKYWALKING__SERVICENAME=sample_app
dotnet run
- On macOS/Linux
dotnet new mvc -n sampleapp
cd sampleapp
dotnet add package SkyAPM.Agent.AspNetCore
export ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyAPM.Agent.AspNetCore
export SKYWALKING__SERVICENAME=sample_app
dotnet run
Install SkyAPM.DotNet.CLI
dotnet tool install -g SkyAPM.DotNet.CLI
Use dotnet skyapm config [your_service_name] [your_servers]
to generate config file.
dotnet skyapm config sample_app 192.168.0.1:11800
This section is in progress here: Contributing to SkyAPM-dotnet
- Submit an issue
- Gitter English
- QQ Group(cn): 392443393