Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
79d58e7d
Commit
79d58e7d
authored
Apr 21, 2018
by
Liuhaoyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ITracingDiagnosticListener to SkyWalking.Abstractions
parent
c115763e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
ITracingDiagnosticListener.cs
...ng.Abstractions/Diagnostics/ITracingDiagnosticListener.cs
+1
-1
HostingDiagnosticListener.cs
...lking.AspNetCore/Diagnostics/HostingDiagnosticListener.cs
+1
-0
ServiceCollectionExtensions.cs
...king.AspNetCore/Extensions/ServiceCollectionExtensions.cs
+2
-1
SkyWalking.AspNetCore.csproj
src/SkyWalking.AspNetCore/SkyWalking.AspNetCore.csproj
+1
-1
SkyWalkingHostedService.cs
src/SkyWalking.AspNetCore/SkyWalkingHostedService.cs
+1
-1
No files found.
src/SkyWalking.A
spNetCore
/Diagnostics/ITracingDiagnosticListener.cs
→
src/SkyWalking.A
bstractions
/Diagnostics/ITracingDiagnosticListener.cs
View file @
79d58e7d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
*
*
*/
*/
namespace
SkyWalking.
AspNetCore.
Diagnostics
namespace
SkyWalking.Diagnostics
{
{
public
interface
ITracingDiagnosticListener
public
interface
ITracingDiagnosticListener
{
{
...
...
src/SkyWalking.AspNetCore/Diagnostics/HostingDiagnosticListener.cs
View file @
79d58e7d
...
@@ -22,6 +22,7 @@ using Microsoft.Extensions.DiagnosticAdapter;
...
@@ -22,6 +22,7 @@ using Microsoft.Extensions.DiagnosticAdapter;
using
SkyWalking.Context
;
using
SkyWalking.Context
;
using
SkyWalking.Context.Tag
;
using
SkyWalking.Context.Tag
;
using
SkyWalking.Context.Trace
;
using
SkyWalking.Context.Trace
;
using
SkyWalking.Diagnostics
;
using
SkyWalking.NetworkProtocol.Trace
;
using
SkyWalking.NetworkProtocol.Trace
;
namespace
SkyWalking.AspNetCore.Diagnostics
namespace
SkyWalking.AspNetCore.Diagnostics
...
...
src/SkyWalking.AspNetCore/Extensions/ServiceCollectionExtensions.cs
View file @
79d58e7d
...
@@ -23,6 +23,7 @@ using Microsoft.Extensions.DependencyInjection.Extensions;
...
@@ -23,6 +23,7 @@ using Microsoft.Extensions.DependencyInjection.Extensions;
using
Microsoft.Extensions.Hosting
;
using
Microsoft.Extensions.Hosting
;
using
Microsoft.Extensions.Http
;
using
Microsoft.Extensions.Http
;
using
SkyWalking.AspNetCore.Diagnostics
;
using
SkyWalking.AspNetCore.Diagnostics
;
using
SkyWalking.Diagnostics
;
namespace
SkyWalking.AspNetCore
namespace
SkyWalking.AspNetCore
{
{
...
@@ -55,7 +56,7 @@ namespace SkyWalking.AspNetCore
...
@@ -55,7 +56,7 @@ namespace SkyWalking.AspNetCore
services
.
AddHttpClient
<
TracingHttpClient
>(
"sw-tracing"
);
services
.
AddHttpClient
<
TracingHttpClient
>(
"sw-tracing"
);
services
.
AddSingleton
<
IHostedService
,
SkyWalkingHostedService
>();
services
.
AddSingleton
<
IHostedService
,
SkyWalkingHostedService
>();
services
.
Try
AddSingleton
<
ITracingDiagnosticListener
,
HostingDiagnosticListener
>();
services
.
AddSingleton
<
ITracingDiagnosticListener
,
HostingDiagnosticListener
>();
services
.
AddTransient
<
HttpMessageHandlerBuilder
,
TracingHttpMessageHandlerBuilder
>();
services
.
AddTransient
<
HttpMessageHandlerBuilder
,
TracingHttpMessageHandlerBuilder
>();
return
services
;
return
services
;
...
...
src/SkyWalking.AspNetCore/SkyWalking.AspNetCore.csproj
View file @
79d58e7d
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\common.props" />
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<PropertyGroup>
<Description>SkyWalking ASP.NET Core Agent.</Description>
<Description>SkyWalking ASP.NET Core Agent.</Description>
<AssemblyTitle>SkyWalking.AspNetCore</AssemblyTitle>
<AssemblyTitle>SkyWalking.AspNetCore</AssemblyTitle>
...
...
src/SkyWalking.AspNetCore/SkyWalkingHostedService.cs
View file @
79d58e7d
...
@@ -23,9 +23,9 @@ using System.Threading;
...
@@ -23,9 +23,9 @@ using System.Threading;
using
System.Threading.Tasks
;
using
System.Threading.Tasks
;
using
Microsoft.Extensions.Hosting
;
using
Microsoft.Extensions.Hosting
;
using
Microsoft.Extensions.Options
;
using
Microsoft.Extensions.Options
;
using
SkyWalking.AspNetCore.Diagnostics
;
using
SkyWalking.Boot
;
using
SkyWalking.Boot
;
using
SkyWalking.Config
;
using
SkyWalking.Config
;
using
SkyWalking.Diagnostics
;
using
SkyWalking.Remote
;
using
SkyWalking.Remote
;
namespace
SkyWalking.AspNetCore
namespace
SkyWalking.AspNetCore
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment