skyapm-dotnet - SkyAPM.Agent.AspNetCore 0.9.0-prerelease-71476298

SkyAPM ASP.NET Core Agent.

PM> Install-Package SkyAPM.Agent.AspNetCore -Version 0.9.0-prerelease-71476298 -Source https://www.myget.org/F/skyapm-dotnet/api/v3/index.json

Copy to clipboard

> nuget.exe install SkyAPM.Agent.AspNetCore -Version 0.9.0-prerelease-71476298 -Source https://www.myget.org/F/skyapm-dotnet/api/v3/index.json

Copy to clipboard

> dotnet add package SkyAPM.Agent.AspNetCore --version 0.9.0-prerelease-71476298 --source https://www.myget.org/F/skyapm-dotnet/api/v3/index.json

Copy to clipboard
<PackageReference Include="SkyAPM.Agent.AspNetCore" Version="0.9.0-prerelease-71476298" />
Copy to clipboard
source https://www.myget.org/F/skyapm-dotnet/api/v3/index.json

nuget SkyAPM.Agent.AspNetCore  ~> 0.9.0-prerelease-71476298
Copy to clipboard

> choco install SkyAPM.Agent.AspNetCore --version 0.9.0-prerelease-71476298 --source https://www.myget.org/F/skyapm-dotnet/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "skyapm-dotnet" -SourceLocation "https://www.myget.org/F/skyapm-dotnet/api/v2"
Install-Module -Name "SkyAPM.Agent.AspNetCore" -RequiredVersion "0.9.0-prerelease-71476298" -Repository "skyapm-dotnet" -AllowPreRelease
Copy to clipboard

SkyAPM C#/.NET instrument agent

Sky Walking logo

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 help from the Apache SkyWalking committer team.

issues pulls releases Gitter Twitter Follow

CI Build Status

Platform Build Server Master Status
AppVeyor Windows/Linux Build status

Nuget Packages

Package Name NuGet MyGet Downloads
SkyAPM.Agent.AspNetCore nuget myget stats
SkyAPM.Agent.GeneralHost nuget myget

MyGet feed URL https://www.myget.org/F/skyapm-dotnet/api/v3/index.json

Supported

Features

A quick list of SkyWalking .NET Core Agent's capabilities

  • Application Topology
  • Distributed Tracing
  • ASP.NET Core Diagnostics
  • HttpClient Diagnostics
  • EntityFrameworkCore Diagnostics

Getting Started

Deploy SkyWalking Backend And UI

Requirements

Start with v1.0.0, SkyAPM .NET Core Agent only supports SkyWalking 8.0 or higher. The SkyWalking doc is here.

Install SkyWalking .NET Core Agent

You can run the following command to install the SkyWalking .NET Core Agent in your project.

dotnet add package SkyAPM.Agent.AspNetCore

How to use

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 the ASPNETCORE_HOSTINGSTARTUPASSEMBLIES environment variable.

Examples

  • 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

Configuration

Install SkyAPM.DotNet.CLI

dotnet tool install -g SkyAPM.DotNet.CLI

For 2.2.x or older, use dotnet skyapm config [your_service_name] [your_servers] to generate config file.

dotnet skyapm config sample_app 192.168.0.1:11800

For 2.3.x or newer, use dotnet skyapm config ${your_service_name} [--reporter=grpc|kafka] [--grpcservers=...] [--kafkaservers=...] to generate config file.

# grpc
dotnet skyapm config sample_app --reporter=grpc --grpcservers=192.168.0.1:11800

# kafka
dotnet skyapm config sample_app --reporter=kafka --kafkaservers=192.168.0.1:9092

Contributing

This section is in progress here: Contributing to SkyAPM-dotnet

Contact Us

  • Submit an issue

If you have issues about SkyWalking protocol, its official backend, ask questions at their Apache official channels. All following channels are not suitable for .net agent, but good if you are facing backend/UI issues.

  • Submit an official Apache SkyWalking issue.
  • Mail list: dev@skywalking.apache.org. Mail to dev-subscribe@skywalking.apache.org, follow the reply to subscribe the mail list.
  • Join skywalking channel at Apache Slack. If the link is not working, find the latest one at Apache INFRA WIKI.
  • QQ Group: 392443393(2000/2000, not available), 901167865(available)

License

Apache 2.0 License.

  • .NETStandard 2.0
    • SkyAPM.Abstractions (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Core (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.AspNetCore (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.EntityFrameworkCore (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.EntityFrameworkCore.Npgsql (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.EntityFrameworkCore.Pomelo.MySql (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.EntityFrameworkCore.Sqlite (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.HttpClient (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.SmartSql (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Diagnostics.SqlClient (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Transport.Grpc (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Utilities.Configuration (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Utilities.DependencyInjection (>= 0.9.0-prerelease-71476298)
    • SkyAPM.Utilities.Logging (>= 0.9.0-prerelease-71476298)
  • .NETStandard 2.0: 2.0.0.0

Owners

liuhaoyang

Authors

SkyAPM Team

Project URL

https://github.com/SkyAPM/SkyAPM-dotnet

License

Apache-2.0

Tags

SkyWalking APM

Info

392 total downloads
2 downloads for version 0.9.0-prerelease-71476298
Download (6.69 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
2.2.0 14.56 KB Sun, 31 Mar 2024 14:20:15 GMT 7
2.2.0-preview-238759916 14.77 KB Fri, 26 Jul 2024 10:20:02 GMT 2
2.2.0-preview-236072483 14.77 KB Tue, 25 Jun 2024 07:49:17 GMT 2
2.2.0-preview-231588135 14.74 KB Sat, 04 May 2024 10:09:16 GMT 2
2.2.0-preview-231587543 14.74 KB Sat, 04 May 2024 09:59:44 GMT 2
2.2.0-preview-230116369 14.76 KB Wed, 17 Apr 2024 09:21:07 GMT 2
2.2.0-preview-228664929 14.75 KB Sun, 31 Mar 2024 14:09:38 GMT 1
2.1.0 10.99 KB Tue, 27 Sep 2022 10:41:29 GMT 3
2.1.0-preview-228190371 14.76 KB Tue, 26 Mar 2024 02:21:02 GMT 2
2.1.0-preview-228189782 14.73 KB Tue, 26 Mar 2024 02:10:39 GMT 2
2.1.0-preview-228189153 14.74 KB Tue, 26 Mar 2024 02:00:37 GMT 2
2.1.0-preview-226923656 14.75 KB Mon, 11 Mar 2024 10:28:29 GMT 3
2.1.0-preview-226915361 14.75 KB Mon, 11 Mar 2024 08:10:31 GMT 3
2.1.0-preview-222188553 14.75 KB Tue, 16 Jan 2024 15:09:55 GMT 3
2.1.0-preview-221787752 14.74 KB Thu, 11 Jan 2024 23:49:25 GMT 2
2.1.0-preview-204706598 14.35 KB Wed, 28 Jun 2023 07:04:24 GMT 3
2.1.0-preview-201780041 14.35 KB Thu, 25 May 2023 10:08:02 GMT 3
2.1.0-preview-195982036 14.36 KB Sun, 19 Mar 2023 07:34:00 GMT 2
2.1.0-preview-195142839 14.37 KB Thu, 09 Mar 2023 14:28:18 GMT 2
2.1.0-preview-195033540 14.36 KB Wed, 08 Mar 2023 08:05:43 GMT 2
2.1.0-preview-194237935 14.37 KB Mon, 27 Feb 2023 03:05:45 GMT 2
2.1.0-preview-193730630 14.35 KB Tue, 21 Feb 2023 06:10:23 GMT 2
2.1.0-preview-193578658 14.36 KB Sun, 19 Feb 2023 11:57:59 GMT 2
2.1.0-preview-193578143 14.35 KB Sun, 19 Feb 2023 11:48:51 GMT 2
2.1.0-preview-192010976 14.35 KB Wed, 01 Feb 2023 08:30:40 GMT 2
2.1.0-preview-180687557 11.14 KB Fri, 23 Sep 2022 07:03:52 GMT 2
2.1.0-preview-180341200 11.14 KB Mon, 19 Sep 2022 06:51:15 GMT 2
2.1.0-preview-180285478 11.15 KB Sun, 18 Sep 2022 15:21:52 GMT 2
2.1.0-preview-180088875 11.14 KB Fri, 16 Sep 2022 08:45:56 GMT 2
2.1.0-preview-180085591 11.14 KB Fri, 16 Sep 2022 07:50:48 GMT 3
2.0.1 10.99 KB Thu, 04 Aug 2022 05:17:07 GMT 4
2.0.1-prerelease-180001227 11.13 KB Thu, 15 Sep 2022 08:25:07 GMT 3
2.0.1-prerelease-179075138 11.15 KB Sun, 04 Sep 2022 15:09:49 GMT 3
2.0.1-prerelease-178103003 11.14 KB Wed, 24 Aug 2022 09:07:54 GMT 1
2.0.1-prerelease-177993941 11.14 KB Tue, 23 Aug 2022 02:50:01 GMT 3
2.0.1-prerelease-177688881 11.13 KB Fri, 19 Aug 2022 14:05:35 GMT 2
2.0.1-prerelease-176714014 11.14 KB Mon, 08 Aug 2022 07:17:37 GMT 2
2.0.1-prerelease-176460972 11.14 KB Fri, 05 Aug 2022 09:00:21 GMT 3
2.0.1-prerelease-176370517 11.13 KB Thu, 04 Aug 2022 07:52:55 GMT 2
2.0.1-prerelease-176360763 11.13 KB Thu, 04 Aug 2022 05:10:23 GMT 2
2.0.1-prerelease-176354457 11.14 KB Thu, 04 Aug 2022 03:25:17 GMT 3
2.0.0 10.97 KB Wed, 11 May 2022 15:25:35 GMT 7
2.0.0-prerelease-172058062 11.13 KB Wed, 15 Jun 2022 09:58:52 GMT 3
2.0.0-prerelease-170868345 11.14 KB Wed, 01 Jun 2022 15:29:54 GMT 2
2.0.0-prerelease-168703945 11.13 KB Sat, 07 May 2022 14:16:24 GMT 2
2.0.0-prerelease-168682844 11.13 KB Sat, 07 May 2022 08:24:46 GMT 2
2.0.0-prerelease-168440647 11.13 KB Wed, 04 May 2022 13:08:45 GMT 2
2.0.0-prerelease-168425800 11.13 KB Wed, 04 May 2022 09:00:45 GMT 2
2.0.0-prerelease-168156862 11.12 KB Sun, 01 May 2022 06:17:48 GMT 2
2.0.0-prerelease-160491146 11.12 KB Tue, 01 Feb 2022 12:56:35 GMT 3
2.0.0-prerelease-159850578 11.13 KB Tue, 25 Jan 2022 03:00:14 GMT 3
2.0.0-prerelease-158228749 11.14 KB Thu, 06 Jan 2022 08:29:33 GMT 4
1.4.0-prerelease-158225235 11.14 KB Thu, 06 Jan 2022 07:30:55 GMT 2
1.4.0-prerelease-158032639 11.16 KB Tue, 04 Jan 2022 02:01:08 GMT 2
1.4.0-prerelease-156870397 7.8 KB Tue, 21 Dec 2021 15:10:55 GMT 2
1.4.0-prerelease-146741176 7.81 KB Thu, 26 Aug 2021 09:29:56 GMT 2
1.4.0-prerelease-146123254 7.81 KB Thu, 19 Aug 2021 05:51:06 GMT 3
1.4.0-prerelease-140067005 7.8 KB Thu, 10 Jun 2021 03:33:52 GMT 3
1.3.0 7.69 KB Sat, 15 May 2021 13:57:40 GMT 4
1.3.0-prerelease-139828452 7.81 KB Mon, 07 Jun 2021 09:18:00 GMT 1
1.3.0-prerelease-135868979 7.8 KB Thu, 22 Apr 2021 13:26:35 GMT 2
1.3.0-prerelease-135775092 7.8 KB Wed, 21 Apr 2021 11:21:53 GMT 2
1.3.0-prerelease-135740515 7.81 KB Wed, 21 Apr 2021 01:45:24 GMT 2
1.3.0-prerelease-135405305 7.8 KB Sat, 17 Apr 2021 04:38:38 GMT 2
1.3.0-prerelease-135229613 7.81 KB Thu, 15 Apr 2021 03:50:17 GMT 5
1.3.0-prerelease-135002134 7.8 KB Mon, 12 Apr 2021 12:39:24 GMT 3
1.3.0-prerelease-133496315 7.81 KB Fri, 26 Mar 2021 02:22:09 GMT 3
1.3.0-prerelease-133452705 7.81 KB Thu, 25 Mar 2021 14:15:52 GMT 3
1.3.0-prerelease-133106541 7.8 KB Sun, 21 Mar 2021 14:05:56 GMT 2
1.3.0-prerelease-132744088 7.8 KB Wed, 17 Mar 2021 09:25:19 GMT 2
1.3.0-prerelease-132637152 7.82 KB Tue, 16 Mar 2021 03:42:43 GMT 1
1.2.0 7.69 KB Thu, 28 Jan 2021 02:29:49 GMT 7
1.2.0-prerelease-132630978 7.81 KB Tue, 16 Mar 2021 01:59:52 GMT 4
1.2.0-prerelease-132306462 7.8 KB Fri, 12 Mar 2021 07:51:14 GMT 3
1.2.0-prerelease-128571693 7.8 KB Thu, 28 Jan 2021 02:24:54 GMT 3
1.2.0-prerelease-128525104 7.8 KB Wed, 27 Jan 2021 13:28:49 GMT 2
1.1.0 7.69 KB Wed, 27 Jan 2021 06:51:36 GMT 5
1.1.0-prerelease-127794490 7.81 KB Tue, 19 Jan 2021 02:31:33 GMT 2
1.1.0-prerelease-127757645 7.81 KB Mon, 18 Jan 2021 16:17:49 GMT 3
1.1.0-prerelease-127382003 7.8 KB Thu, 14 Jan 2021 07:56:56 GMT 3
1.1.0-prerelease-127316744 7.81 KB Wed, 13 Jan 2021 13:49:19 GMT 3
1.1.0-prerelease-127191619 7.8 KB Tue, 12 Jan 2021 03:03:39 GMT 4
1.1.0-prerelease-125423619 7.81 KB Tue, 22 Dec 2020 15:56:55 GMT 3
1.1.0-prerelease-124351087 7.8 KB Thu, 10 Dec 2020 06:01:38 GMT 2
1.1.0-prerelease-124166147 7.8 KB Tue, 08 Dec 2020 02:39:05 GMT 3
1.1.0-prerelease-122978883 7.8 KB Tue, 24 Nov 2020 08:51:36 GMT 3
1.1.0-prerelease-122647710 7.8 KB Fri, 20 Nov 2020 12:52:09 GMT 3
1.1.0-prerelease-122624839 7.81 KB Fri, 20 Nov 2020 06:30:48 GMT 3
1.1.0-prerelease-122623114 7.8 KB Fri, 20 Nov 2020 06:01:51 GMT 1
1.1.0-prerelease-122538418 7.8 KB Thu, 19 Nov 2020 06:30:23 GMT 3
1.1.0-prerelease-122458508 7.8 KB Wed, 18 Nov 2020 08:18:29 GMT 2
1.0.0 7.55 KB Mon, 07 Sep 2020 15:04:59 GMT 7
1.0.0-prerelease-122456766 7.79 KB Wed, 18 Nov 2020 07:49:40 GMT 4
1.0.0-prerelease-122355518 7.79 KB Tue, 17 Nov 2020 03:41:47 GMT 3
1.0.0-prerelease-122355254 7.79 KB Tue, 17 Nov 2020 03:37:38 GMT 3
1.0.0-prerelease-120728802 7.65 KB Thu, 29 Oct 2020 07:49:54 GMT 2
1.0.0-prerelease-120649604 7.65 KB Wed, 28 Oct 2020 09:50:08 GMT 2
1.0.0-prerelease-119785914 7.66 KB Sun, 18 Oct 2020 09:55:00 GMT 2
1.0.0-prerelease-116259961 7.66 KB Mon, 07 Sep 2020 14:29:16 GMT 1
0.9.0 6.89 KB Sun, 30 Jun 2019 16:53:44 GMT 6
0.9.0-prerelease-98779874 7.66 KB Tue, 18 Feb 2020 06:54:33 GMT 10
0.9.0-prerelease-96270513 7.69 KB Mon, 20 Jan 2020 05:51:52 GMT 3
0.9.0-prerelease-96171846 12.06 KB Sun, 19 Jan 2020 02:26:49 GMT 2
0.9.0-prerelease-96005567 12.05 KB Fri, 17 Jan 2020 04:15:46 GMT 2
0.9.0-prerelease-95838124 12.05 KB Wed, 15 Jan 2020 05:45:09 GMT 3
0.9.0-prerelease-95011552 11.99 KB Sun, 05 Jan 2020 16:08:51 GMT 3
0.9.0-prerelease-94527380 11.99 KB Tue, 31 Dec 2019 01:39:00 GMT 2
0.9.0-prerelease-94302854 11.98 KB Sat, 28 Dec 2019 11:16:52 GMT 2
0.9.0-prerelease-94060027 11.98 KB Wed, 25 Dec 2019 15:50:01 GMT 2
0.9.0-prerelease-94059693 11.98 KB Wed, 25 Dec 2019 15:44:27 GMT 1
0.9.0-prerelease-84713935 7.01 KB Sun, 08 Sep 2019 11:41:16 GMT 3
0.9.0-prerelease-79951862 6.97 KB Mon, 15 Jul 2019 08:53:34 GMT 2
0.9.0-prerelease-78802540 6.97 KB Tue, 02 Jul 2019 01:37:55 GMT 2
0.9.0-prerelease-72090085 6.96 KB Mon, 15 Apr 2019 09:04:13 GMT 17
0.9.0-prerelease-71746179 6.96 KB Thu, 11 Apr 2019 09:31:51 GMT 1
0.9.0-prerelease-71654248 6.96 KB Wed, 10 Apr 2019 07:59:29 GMT 2
0.9.0-prerelease-71639546 6.71 KB Wed, 10 Apr 2019 03:54:19 GMT 4
0.9.0-prerelease-71545328 6.71 KB Tue, 09 Apr 2019 01:43:57 GMT 3
0.9.0-prerelease-71476298 6.69 KB Mon, 08 Apr 2019 06:33:32 GMT 2
0.9.0-prerelease-71402895 6.37 KB Sun, 07 Apr 2019 10:10:04 GMT 3
0.9.0-prerelease-71049318 6.36 KB Wed, 03 Apr 2019 07:57:14 GMT 3
0.9.0-prerelease-70962224 6.36 KB Tue, 02 Apr 2019 07:45:32 GMT 3
0.9.0-prerelease-70957867 6.37 KB Tue, 02 Apr 2019 06:32:53 GMT 3
0.9.0-prerelease-70423649 6.36 KB Wed, 27 Mar 2019 02:09:12 GMT 3
0.9.0-prerelease-69919954 6.36 KB Thu, 21 Mar 2019 06:14:14 GMT 3
0.9.0-prerelease-69916244 6.32 KB Thu, 21 Mar 2019 05:12:20 GMT 3
0.9.0-prerelease-68873853 6.32 KB Sat, 09 Mar 2019 03:39:06 GMT 3
0.9.0-prerelease-68298939 6.32 KB Sat, 02 Mar 2019 11:57:11 GMT 3
0.9.0-prerelease-68293695 6.32 KB Sat, 02 Mar 2019 10:29:51 GMT 2
0.9.0-prerelease-67706785 6.32 KB Sat, 23 Feb 2019 15:28:00 GMT 1
0.9.0-prerelease-114958147 7.67 KB Sun, 23 Aug 2020 12:52:11 GMT 1
0.9.0-prerelease-113464289 7.68 KB Thu, 06 Aug 2020 05:54:32 GMT 2
0.8.0 6.22 KB Sat, 16 Feb 2019 13:03:50 GMT 4
0.8.0-prerelease-67181958 6.32 KB Sun, 17 Feb 2019 13:40:51 GMT 2
0.8.0-prerelease-67092043 6.29 KB Sat, 16 Feb 2019 12:42:20 GMT 2
0.8.0-prerelease-67091509 6.29 KB Sat, 16 Feb 2019 12:33:27 GMT 3
0.8.0-prerelease-67087074 6.29 KB Sat, 16 Feb 2019 11:19:29 GMT 2
0.8.0-prerelease-66885637 6.3 KB Thu, 14 Feb 2019 03:22:23 GMT 5
0.8.0-prerelease-66843215 6.3 KB Wed, 13 Feb 2019 15:36:11 GMT 3
0.8.0-prerelease-66795016 5.75 KB Wed, 13 Feb 2019 02:12:10 GMT 3