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
8cec412e
Unverified
Commit
8cec412e
authored
Apr 26, 2018
by
Lemon
Committed by
GitHub
Apr 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .NET Core components define (#31)
parent
2152c285
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
ComponentsDefine.cs
src/SkyWalking.NetworkProtocol.Trace/ComponentsDefine.cs
+14
-2
No files found.
src/SkyWalking.NetworkProtocol.Trace/ComponentsDefine.cs
View file @
8cec412e
...
@@ -25,9 +25,17 @@ namespace SkyWalking.NetworkProtocol.Trace
...
@@ -25,9 +25,17 @@ namespace SkyWalking.NetworkProtocol.Trace
{
{
public
static
readonly
OfficialComponent
HttpClient
=
new
OfficialComponent
(
2
,
"HttpClient"
);
public
static
readonly
OfficialComponent
HttpClient
=
new
OfficialComponent
(
2
,
"HttpClient"
);
public
static
readonly
OfficialComponent
AspNetCore
=
new
OfficialComponent
(
30
,
"AspNetCore"
);
public
static
readonly
OfficialComponent
AspNetCore
=
new
OfficialComponent
(
30
01
,
"AspNetCore"
);
public
static
readonly
OfficialComponent
EntityFrameworkCore
=
new
OfficialComponent
(
31
,
"EntityFrameworkCore"
);
public
static
readonly
OfficialComponent
EntityFrameworkCore
=
new
OfficialComponent
(
3002
,
"EntityFrameworkCore"
);
public
static
readonly
OfficialComponent
SqlClient
=
new
OfficialComponent
(
3003
,
"SqlClient"
);
public
static
readonly
OfficialComponent
CAP
=
new
OfficialComponent
(
3004
,
"CAP"
);
public
static
readonly
OfficialComponent
StackExchange_Redis
=
new
OfficialComponent
(
3005
,
"StackExchange.Redis"
);
public
static
readonly
OfficialComponent
SqlServer
=
new
OfficialComponent
(
3006
,
"SqlServer"
);
private
static
readonly
ComponentsDefine
_instance
=
new
ComponentsDefine
();
private
static
readonly
ComponentsDefine
_instance
=
new
ComponentsDefine
();
...
@@ -46,6 +54,10 @@ namespace SkyWalking.NetworkProtocol.Trace
...
@@ -46,6 +54,10 @@ namespace SkyWalking.NetworkProtocol.Trace
_components
=
new
Dictionary
<
int
,
string
>();
_components
=
new
Dictionary
<
int
,
string
>();
AddComponent
(
AspNetCore
);
AddComponent
(
AspNetCore
);
AddComponent
(
EntityFrameworkCore
);
AddComponent
(
EntityFrameworkCore
);
AddComponent
(
SqlClient
);
AddComponent
(
CAP
);
AddComponent
(
StackExchange_Redis
);
AddComponent
(
SqlServer
);
}
}
private
void
AddComponent
(
OfficialComponent
component
)
private
void
AddComponent
(
OfficialComponent
component
)
...
...
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