Unverified Commit 4c257890 authored by Lemon's avatar Lemon Committed by GitHub

Change copyright and the link (#148)

* rename skywalking-netcore to skyapm-dotnet

* rename namespace

* rename project name

* rm

* update protocol submodule

* Update CI

* change file header

* update sample

* add config

* Add sample config file

* Update docs
parent e571c502
[submodule "src/SkyWalking.Transport.Grpc.Protocol/protocol"]
path = src/SkyWalking.Transport.Grpc.Protocol/protocol [submodule "src/SkyApm.Transport.Grpc.Protocol/protocol"]
url = https://github.com/apache/incubator-skywalking-data-collect-protocol.git path = src/SkyApm.Transport.Grpc.Protocol/protocol
url = https://github.com/apache/incubator-skywalking-data-collect-protocol
# Contributing to skywalking-netcore # Contributing to SkyAPM-dotnet
One of the easiest ways to contribute is to participate in discussions and discuss issues. You can also contribute by submitting pull requests with code changes. One of the easiest ways to contribute is to participate in discussions and discuss issues. You can also contribute by submitting pull requests with code changes.
## General feedback and discussions? ## General feedback and discussions?
Please start a discussion on the [issue tracker](https://github.com/OpenSkywalking/skywalking-netcore/issues). Please start a discussion on the [issue tracker](https://github.com/SkyAPM/SkyAPM-dotnet/issues).
\ No newline at end of file \ No newline at end of file
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
<configuration> <configuration>
<packageSources> <packageSources>
<add key="nuget" value="https://api.nuget.org/v3/index.json" /> <add key="nuget" value="https://api.nuget.org/v3/index.json" />
<add key="skywalking-netcore-vnext" value="https://www.myget.org/F/skywalking/api/v3/index.json" /> <add key="skyapm-dotnet-vnext" value="https://www.myget.org/F/skyapm-dotnet/api/v3/index.json" />
</packageSources> </packageSources>
</configuration> </configuration>
\ No newline at end of file
...@@ -3,14 +3,29 @@ SkyAPM C#/.NET instrument agent ...@@ -3,14 +3,29 @@ SkyAPM C#/.NET instrument agent
<img src="https://skyapmtest.github.io/page-resources/SkyAPM/skyapm.png" alt="Sky Walking logo" height="90px" align="right" /> <img src="https://skyapmtest.github.io/page-resources/SkyAPM/skyapm.png" alt="Sky Walking logo" height="90px" align="right" />
[Apache SkyWalking](https://github.com/apache/incubator-skywalking) is an APM designed for microservices, cloud native and container-based (Docker, K8s, Mesos) architectures. **SkyAPM-netcore** provides the native support agent in C# and .NETStandard platform, with the helps from Apache SkyWalking committer team. [Apache SkyWalking](https://github.com/apache/incubator-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.
[![Twitter Follow](https://img.shields.io/twitter/follow/asfskywalking.svg?style=for-the-badge&label=Follow&logo=twitter)](https://twitter.com/AsfSkyWalking) ![](https://img.shields.io/github/issues-raw/skyapm/skyapm-dotnet.svg?style=flat-square)
![](https://img.shields.io/github/issues-pr-raw/skyapm/skyapm-dotnet.svg?style=flat-square)
![](https://img.shields.io/github/release/skyapm/skyapm-dotnet.svg?style=flat-square)
![](https://img.shields.io/gitter/room/openskywalking/lobby.svg?style=flat-square)
[![Twitter Follow](https://img.shields.io/twitter/follow/asfskywalking.svg?style=flat-square&label=Follow&logo=twitter)](https://twitter.com/AsfSkyWalking)
[![Build status](https://ci.appveyor.com/api/projects/status/fl6vucwfn1vu94dv/branch/master?svg=true)](https://ci.appveyor.com/project/wu-sheng/skywalking-csharp/branch/master) ## CI Build Status
| Platform | Build Server | Master Status |
|--------- |------------- |---------|
| AppVeyor | Windows/Linux |[![Build status](https://ci.appveyor.com/api/projects/status/fl6vucwfn1vu94dv/branch/master?svg=true)](https://ci.appveyor.com/project/wu-sheng/skywalking-csharp/branch/master)|
## Nuget Packages
| Package Name | Nuget | Myget | Downloads
|--------------| ------- | ------- | ----
| SkyAPM.Agent.AspNetCore | ![](https://img.shields.io/nuget/v/SkyAPM.Agent.AspNetCore.svg?style=flat-square) | ![](https://img.shields.io/myget/skyapm-dotnet/v/SkyAPM.Agent.AspNetCore.svg?style=flat-square) | ![](https://img.shields.io/nuget/dt/SkyAPM.Agent.AspNetCore.svg?style=flat-square)
| SkyAPM.Agent.AspNet | ![](https://img.shields.io/nuget/v/SkyAPM.Agent.AspNet.svg?style=flat-square) | ![](https://img.shields.io/myget/skyapm-dotnet/v/SkyAPM.Agent.AspNet.svg?style=flat-square) | ![](https://img.shields.io/nuget/dt/SkyAPM.Agent.AspNet.svg?style=flat-square)
# Supported # Supported
- This project currently supports apps targeting netcoreapp2.1 or higher. - This project currently supports apps targeting netcoreapp2.0/.net framework4.6.1 or higher.
- [Supported middlewares, frameworks and libraries.](docs/Supported-list.md) - [Supported middlewares, frameworks and libraries.](docs/Supported-list.md)
# Features # Features
...@@ -32,27 +47,16 @@ A quick list of SkyWalking .NET Core Agent's capabilities ...@@ -32,27 +47,16 @@ A quick list of SkyWalking .NET Core Agent's capabilities
## Install SkyWalking .NET Core Agent ## Install SkyWalking .NET Core Agent
You can run the following command to install the SkyWalking .NET Core Agent in your computer. You can run the following command to install the SkyWalking .NET Core Agent in your project.
```
// install SkyWalking DotNet CLI
dotnet tool install -g SkyWalking.DotNet.CLI
```
On windows, run as Administrator
```
dotnet skywalking install
```
On macOS/Linux
``` ```
sudo dotnet skywalking install dotnet add package SkyAPM.Agent.AspNetCore
``` ```
## How to use ## How to use
Set the `ASPNETCORE_HOSTINGSTARTUPASSEMBLIES` and `DOTNET_ADDITIONAL_DEPS` environment variables to support the activation of the SkyAPM .NET Core Agent. Set the `ASPNETCORE_HOSTINGSTARTUPASSEMBLIES` environment variable to support the activation of the SkyAPM .NET Core Agent.
- Add the assembly name of `SkyWalking.Agent.AspNetCore` to the `ASPNETCORE_HOSTINGSTARTUPASSEMBLIES` environment variable. - Add the assembly name of `SkyAPM.Agent.AspNetCore` to the `ASPNETCORE_HOSTINGSTARTUPASSEMBLIES` environment variable.
- On Windows, set the `DOTNET_ADDITIONAL_DEPS` environment variable to `%PROGRAMFILES%\dotnet\x64\additionalDeps\skywalking.agent.aspnetcore`. On macOS/Linux, set the `DOTNET_ADDITIONAL_DEPS` environment variable to `/usr/local/share/dotnet/x64/additionalDeps/skywalking.agent.aspnetcore`.
### Examples ### Examples
- On windows - On windows
...@@ -61,12 +65,13 @@ Set the `ASPNETCORE_HOSTINGSTARTUPASSEMBLIES` and `DOTNET_ADDITIONAL_DEPS` envir ...@@ -61,12 +65,13 @@ Set the `ASPNETCORE_HOSTINGSTARTUPASSEMBLIES` and `DOTNET_ADDITIONAL_DEPS` envir
dotnet new mvc -n sampleapp dotnet new mvc -n sampleapp
cd sampleapp cd sampleapp
// enable SkyWalking.Agent.AspNetCore dotnet add package SkyAPM.Agent.AspNetCore
set ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyWalking.Agent.AspNetCore
set DOTNET_ADDITIONAL_DEPS=%PROGRAMFILES%\dotnet\x64\additionalDeps\skywalking.agent.aspnetcore
// set Application_Code // enable SkyAPM.Agent.AspNetCore
set SKYWALKING__APPLICATIONCODE=sample_app set ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyAPM.Agent.AspNetCore
// set service_name
set SKYWALKING__SERVICENAME=sample_app
dotnet run dotnet run
``` ```
...@@ -77,28 +82,38 @@ dotnet run ...@@ -77,28 +82,38 @@ dotnet run
dotnet new mvc -n sampleapp dotnet new mvc -n sampleapp
cd sampleapp cd sampleapp
// enable SkyWalking.Agent.AspNetCore dotnet add package SkyAPM.Agent.AspNetCore
export ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyWalking.Agent.AspNetCore
export DOTNET_ADDITIONAL_DEPS=/usr/local/share/dotnet/x64/additionalDeps/skywalking.agent.aspnetcore // enable SkyAPM.Agent.AspNetCore
export ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyAPM.Agent.AspNetCore
// set Application_Code // set service_name
export SKYWALKING__APPLICATIONCODE=sample_app export SKYWALKING__SERVICENAME=sample_app
dotnet run dotnet run
``` ```
## Configuration ## Configuration
Use `dotnet skywalking config [your_application_code] [your_collector_server]` to generate config file. Example
Install `SkyAPM.DotNet.CLI`
```
dotnet tool install -g SkyAPM.DotNet.CLI
```
Use `dotnet skywalking config [your_service_name] [your_servers]` to generate config file.
Example
``` ```
dotnet skywalking config sample_app 192.168.0.1:11800 dotnet skyapm config sample_app 192.168.0.1:11800
``` ```
# Roadmap # Roadmap
[What are we going to do next?](/docs/roadmap.md) [What are we going to do next?](/docs/roadmap.md)
# Contributing # Contributing
This section is in progress here: [Contributing to SkyAPM-netcore](/CONTIBUTING.md) This section is in progress here: [Contributing to SkyAPM-dotnet](/CONTIBUTING.md)
# Contact Us # Contact Us
* Submit an issue * Submit an issue
......
...@@ -11,7 +11,7 @@ skip_commits: ...@@ -11,7 +11,7 @@ skip_commits:
- LICENSE - LICENSE
install: install:
- git submodule update --init - git submodule update --init
- dotnet build -c Release src/SkyWalking.Transport.Grpc.Protocol - dotnet build -c Release src/SkyApm.Transport.Grpc.Protocol
build_script: build_script:
- ps: ./scripts/build.ps1 - ps: ./scripts/build.ps1
artifacts: artifacts:
......
- [ASP.NET Core](https://github.com/aspnet) - [ASP.NET Core](https://github.com/aspnet)
- [.NET Core BCL types (HttpClient and SqlClient)](https://github.com/dotnet/corefx) - [.NET Core BCL types (HttpClient and SqlClient)](https://github.com/dotnet/corefx)
- [EntityFrameworkCore](https://github.com/aspnet/EntityFrameworkCore) - [EntityFrameworkCore](https://github.com/aspnet/EntityFrameworkCore)
- [EntityFrameworkCore.Sqlite](https://github.com/aspnet/EntityFrameworkCore)
- [Npgsql.EntityFrameworkCore.PostgreSQL](https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL) - [Npgsql.EntityFrameworkCore.PostgreSQL](https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL)
- [Pomelo.EntityFrameworkCore.MySql](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql) - [Pomelo.EntityFrameworkCore.MySql](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql)
- [CAP](https://github.com/dotnetcore/CAP) - [CAP](https://github.com/dotnetcore/CAP)
- ASP.NET
...@@ -4,11 +4,17 @@ ...@@ -4,11 +4,17 @@
- TraceContext refactoring. - TraceContext refactoring.
- Upgrade to Skywalking 6.0 protocol. - Upgrade to Skywalking 6.0 protocol.
- Fix known bugs in the issue list. - Fix known bugs in the issue list.
- CLR runtime monitoring. - ASP.NET request tracing.
- Support IIS monitoring and tracing.
- ASP.NET and WCF request tracing.
## v0.9.0 ## v0.9.0
- CLR runtime monitoring(need backend support).
- Support IIS monitoring and tracing.
- WCF request tracing.
- Custom Sampling Interceptor.
- Custom Configuration Loading.
- Performance optimization
## v1.0.0
- CLR Profiler(Experimental feature) - CLR Profiler(Experimental feature)
- Support plug-in. - Support plug-in.
- More third-party library support, such as mysql, redis, kafka, rabbitmq.. - More third-party library support, such as mysql, redis, kafka, rabbitmq..
# SkyWalking Config 配置说明 # SkyWalking Config 配置说明
# ApplicationCode # ServiceName
应用名称 服务名称
# SpanLimitPerSegment
每段限制
## Sampling ## Sampling
...@@ -14,6 +10,8 @@ ...@@ -14,6 +10,8 @@
1. SamplePer3Secs 每3秒采样数 1. SamplePer3Secs 每3秒采样数
2. Percentage 采样百分比,例如10%采样则配置为`10`
## Logging ## Logging
SkyWalking日志配置节点 SkyWalking日志配置节点
...@@ -26,8 +24,6 @@ SkyWalking日志配置节点 ...@@ -26,8 +24,6 @@ SkyWalking日志配置节点
传输配置节点 传输配置节点
1. Interval 每多少毫秒刷新 1. Interval 每多少毫秒刷新
2. PendingSegmentLimit 排队限制
3. PendingSegmentTimeout 排队超时毫秒,超时时排队的数据会被丢弃
### gRPC ### gRPC
...@@ -37,27 +33,33 @@ gRPC配置节点 ...@@ -37,27 +33,33 @@ gRPC配置节点
2. Timeout 创建gRPC链接的超时时间,毫秒 2. Timeout 创建gRPC链接的超时时间,毫秒
3. ConnectTimeout gRPC最长链接时间,毫秒 3. ConnectTimeout gRPC最长链接时间,毫秒
# skywalking.json 示例 # skyapm.json 示例
``` ```
{ {
"SkyWalking": { "SkyWalking": {
"ApplicationCode": "app", "ServiceName": "your_service_name",
"SpanLimitPerSegment": 300, "Namespace": "",
"HeaderVersions": [
"sw6"
],
"Sampling": { "Sampling": {
"SamplePer3Secs": -1 "SamplePer3Secs": -1,
"Percentage": -1.0
}, },
"Logging": { "Logging": {
"Level": "Information", "Level": "Information",
"FilePath": "logs\\SkyWalking-{Date}.log" "FilePath": "logs/skyapm-{Date}.log"
}, },
"Transport": { "Transport": {
"Interval": 3000, "Interval": 3000,
"PendingSegmentLimit": 30000, "ProtocolVersion": "v6",
"PendingSegmentTimeout": 1000, "QueueSize": 30000,
"BatchSize": 3000,
"gRPC": { "gRPC": {
"Servers": "localhost:11800", "Servers": "localhost:11800",
"Timeout": 2000, "Timeout": 10000,
"ConnectTimeout": 10000 "ConnectTimeout": 10000,
"ReportTimeout": 600000
} }
} }
} }
......
# SkyWalking Configuration # SkyWalking Configuration
# ApplicationCode # ServiceName
App name displayed. Service name displayed.
# SpanLimitPerSegment
"Span" Limit Per Segment Max.
## Sampling ## Sampling
...@@ -26,8 +22,6 @@ SkyWalking Logging Configuration Section ...@@ -26,8 +22,6 @@ SkyWalking Logging Configuration Section
Transport Configuration Section Transport Configuration Section
1. Interval, Flush Interval Millisecond,(unit:Millisecond) 1. Interval, Flush Interval Millisecond,(unit:Millisecond)
2. PendingSegmentLimit, PendingSegmentLimit Count
3. PendingSegmentTimeout, Data queued beyond this time will be discarded,(unit:Millisecond)
### gRPC ### gRPC
...@@ -37,27 +31,33 @@ gRPC Configuration Section ...@@ -37,27 +31,33 @@ gRPC Configuration Section
2. Timeout, Timeout for creating a link,(unit:Millisecond) 2. Timeout, Timeout for creating a link,(unit:Millisecond)
3. ConnectTimeout, gRPC Connectioning timed out,(unit:Millisecond) 3. ConnectTimeout, gRPC Connectioning timed out,(unit:Millisecond)
# skywalking.json sample # skyapm.json sample
``` ```
{ {
"SkyWalking": { "SkyWalking": {
"ApplicationCode": "app", "ServiceName": "your_service_name",
"SpanLimitPerSegment": 300, "Namespace": "",
"HeaderVersions": [
"sw6"
],
"Sampling": { "Sampling": {
"SamplePer3Secs": -1 "SamplePer3Secs": -1,
"Percentage": -1.0
}, },
"Logging": { "Logging": {
"Level": "Information", "Level": "Information",
"FilePath": "logs\\SkyWalking-{Date}.log" "FilePath": "logs/skyapm-{Date}.log"
}, },
"Transport": { "Transport": {
"Interval": 3000, "Interval": 3000,
"PendingSegmentLimit": 30000, "ProtocolVersion": "v6",
"PendingSegmentTimeout": 1000, "QueueSize": 30000,
"BatchSize": 3000,
"gRPC": { "gRPC": {
"Servers": "localhost:11800", "Servers": "localhost:11800",
"Timeout": 2000, "Timeout": 10000,
"ConnectTimeout": 10000 "ConnectTimeout": 10000,
"ReportTimeout": 600000
} }
} }
} }
......
@rem Generate the C# code for .proto files
@rem enter this directory
cd /d %~dp0
set PROTOC=%UserProfile%\.nuget\packages\google.protobuf.tools\3.5.1\tools\windows_x64\protoc.exe
set PLUGIN=%UserProfile%\.nuget\packages\grpc.tools\1.9.0\tools\windows_x64\grpc_csharp_plugin.exe
@rem dotnet restore
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/ApplicationRegisterService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/Common.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/DiscoveryService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/Downstream.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/JVMMetricsService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/KeyWithIntegerValue.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/KeyWithStringValue.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/NetworkAddressRegisterService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
%PROTOC% -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/TraceSegmentService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=%PLUGIN%
\ No newline at end of file
#!/usr/bin/env bash
PROTOC=~/.nuget/packages/google.protobuf.tools/3.5.1/tools/linux_x64/protoc
PLUGIN=~/.nuget/packages/grpc.tools/1.9.0/tools/linux_x64/grpc_csharp_plugin
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/ApplicationRegisterService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/Common.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/DiscoveryService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/Downstream.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/JVMMetricsService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/KeyWithIntegerValue.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/KeyWithStringValue.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/NetworkAddressRegisterService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/TraceSegmentService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
\ No newline at end of file
#!/usr/bin/env bash
PROTOC=~/.nuget/packages/google.protobuf.tools/3.6.1/tools/macosx_x64/protoc
PLUGIN=~/.nuget/packages/grpc.tools/1.15.0/tools/macosx_x64/grpc_csharp_plugin
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/ApplicationRegisterService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/Common.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/DiscoveryService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/Downstream.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/JVMMetricsService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/KeyWithIntegerValue.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/KeyWithStringValue.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/NetworkAddressRegisterService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
$PROTOC -I protos --csharp_out src/SkyWalking.Transport.Grpc/NetworkProtocol protos/TraceSegmentService.proto --grpc_out src/SkyWalking.Transport.Grpc/NetworkProtocol --plugin=protoc-gen-grpc=$PLUGIN
\ No newline at end of file
using System.Web.Mvc; using System.Web.Mvc;
using System.Web.Routing; using System.Web.Routing;
namespace SkyWalking.Sample.AspNet namespace SkyApm.Sample.AspNet
{ {
public class RouteConfig public class RouteConfig
{ {
......
using System.Web.Http; using System.Web.Http;
namespace SkyWalking.Sample.AspNet namespace SkyApm.Sample.AspNet
{ {
public static class WebApiConfig public static class WebApiConfig
{ {
......
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Web.Http; using System.Web.Http;
using SkyWalking.AspNet; using SkyApm.Agent.AspNet;
namespace SkyWalking.Sample.AspNet.Controllers namespace SkyApm.Sample.AspNet.Controllers
{ {
public class ValuesController : ApiController public class ValuesController : ApiController
{ {
......
<%@ Application Inherits="SkyApm.Sample.AspNet.Global" %>
...@@ -3,7 +3,7 @@ using System.Web.Mvc; ...@@ -3,7 +3,7 @@ using System.Web.Mvc;
using System.Web.Routing; using System.Web.Routing;
using System.Web.Http; using System.Web.Http;
namespace SkyWalking.Sample.AspNet namespace SkyApm.Sample.AspNet
{ {
public class Global : HttpApplication public class Global : HttpApplication
{ {
......
...@@ -5,11 +5,11 @@ using System.Runtime.InteropServices; ...@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("SkyWalking.Sample.AspNet")] [assembly: AssemblyTitle("SkyApm.Sample.AspNet")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SkyWalking.Sample.AspNet")] [assembly: AssemblyProduct("SkyApm.Sample.AspNet")]
[assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<ProjectTypeGuids>{349C5851-65DF-11DA-9384-00065B846F21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <ProjectTypeGuids>{349C5851-65DF-11DA-9384-00065B846F21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SkyWalking.Sample.AspNet</RootNamespace> <RootNamespace>SkyApm.Sample.AspNet</RootNamespace>
<AssemblyName>SkyWalking.Sample.AspNet</AssemblyName> <AssemblyName>SkyApm.Sample.AspNet</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<FileUpgradeFlags>40</FileUpgradeFlags> <FileUpgradeFlags>40</FileUpgradeFlags>
...@@ -174,13 +174,16 @@ ...@@ -174,13 +174,16 @@
</Content> </Content>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\src\SkyWalking.AspNet\SkyWalking.AspNet.csproj"> <Content Include="skyapm.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\SkyApm.Agent.AspNet\SkyApm.Agent.AspNet.csproj">
<Project>{3a454a8a-a1b7-4c6d-be08-52d956f95cc1}</Project> <Project>{3a454a8a-a1b7-4c6d-be08-52d956f95cc1}</Project>
<Name>SkyWalking.AspNet</Name> <Name>SkyApm.Agent.AspNet</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="skywalking.json" /> <Folder Include="logs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\packages\Grpc.Core.1.12.0\build\net45\Grpc.Core.targets" Condition="Exists('..\..\packages\Grpc.Core.1.12.0\build\net45\Grpc.Core.targets')" /> <Import Project="..\..\packages\Grpc.Core.1.12.0\build\net45\Grpc.Core.targets" Condition="Exists('..\..\packages\Grpc.Core.1.12.0\build\net45\Grpc.Core.targets')" />
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Web.config file for SkyWalking.Sample.AspNet.
The settings that can be used in this file are documented at The settings that can be used in this file are documented at
http://www.mono-project.com/Config_system.web and http://www.mono-project.com/Config_system.web and
http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
......
{ {
"SkyWalking": { "SkyWalking": {
"ServiceName": "aspnet-sample", "ServiceName": "asp-net-sample",
"Namespace": "",
"HeaderVersions": [
"sw6"
],
"Sampling": {
"SamplePer3Secs": -1,
"Percentage": -1.0
},
"Logging": { "Logging": {
"Level": "Debug", "Level": "Information",
"FilePath": "/tmp/logs/SkyWalking-{Date}.log" "FilePath": "logs/skyapm-{Date}.log"
}, },
"Transport": { "Transport": {
"Interval": 3000, "Interval": 3000,
"ProtocolVersion": "v6",
"QueueSize": 30000,
"BatchSize": 3000,
"gRPC": { "gRPC": {
"Servers": "localhost:11800", "Servers": "localhost:11800",
"Timeout": 10000, "Timeout": 10000,
"ConnectTimeout": 10000 "ConnectTimeout": 10000,
"ReportTimeout": 600000
} }
} }
} }
......
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using SkyWalking.Sample.Backend.Models; using SkyApm.Sample.Backend.Models;
namespace SkyWalking.Sample.Backend.Controllers namespace SkyApm.Sample.Backend.Controllers
{ {
[Route("api/[controller]")] [Route("api/[controller]")]
public class AppsController: Controller public class AppsController: Controller
......
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
namespace SkyWalking.Sample.Backend.Controllers namespace SkyApm.Sample.Backend.Controllers
{ {
[Route("api/[controller]")] [Route("api/[controller]")]
public class DelayController : Controller public class DelayController : Controller
......
using System; using System;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
namespace SkyWalking.Sample.Backend.Controllers namespace SkyApm.Sample.Backend.Controllers
{ {
[Route("api/[controller]")] [Route("api/[controller]")]
public class ErrorsController :Controller public class ErrorsController :Controller
......
...@@ -3,9 +3,9 @@ using System.Linq; ...@@ -3,9 +3,9 @@ using System.Linq;
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using SkyWalking.Sample.Backend.Models; using SkyApm.Sample.Backend.Models;
namespace SkyWalking.Sample.Backend.Controllers namespace SkyApm.Sample.Backend.Controllers
{ {
[Route("api/[controller]")] [Route("api/[controller]")]
public class ValuesController : Controller public class ValuesController : Controller
......
namespace SkyWalking.Sample.Backend.Models namespace SkyApm.Sample.Backend.Models
{ {
public class Application public class Application
{ {
......
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
namespace SkyWalking.Sample.Backend.Models namespace SkyApm.Sample.Backend.Models
{ {
public class SampleDbContext :DbContext public class SampleDbContext :DbContext
{ {
......
...@@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Hosting; ...@@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace SkyWalking.Sample.Backend namespace SkyApm.Sample.Backend
{ {
public class Program public class Program
{ {
......
...@@ -12,14 +12,16 @@ ...@@ -12,14 +12,16 @@
"commandName": "IISExpress", "commandName": "IISExpress",
"launchBrowser": true, "launchBrowser": true,
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "SkyAPM.Agent.AspNetCore"
} }
}, },
"SkyWalking.Sample.Backend": { "SkyWalking.Sample.Backend": {
"commandName": "Project", "commandName": "Project",
"launchBrowser": true, "launchBrowser": true,
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "SkyAPM.Agent.AspNetCore"
}, },
"applicationUrl": "http://localhost:5002/" "applicationUrl": "http://localhost:5002/"
} }
......
using SkyWalking.Tracing; using SkyApm.Tracing;
namespace SkyWalking.Sample.Backend.Sampling namespace SkyApm.Sample.Backend.Sampling
{ {
public class CustomSamplingInterceptor : ISamplingInterceptor public class CustomSamplingInterceptor : ISamplingInterceptor
{ {
......
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework> <TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.3" /> <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.3" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\src\SkyWalking.Agent.AspNetCore\SkyWalking.Agent.AspNetCore.csproj" /> <ProjectReference Include="..\..\src\SkyApm.Agent.AspNetCore\SkyApm.Agent.AspNetCore.csproj" />
<ProjectReference Include="..\..\src\SkyWalking.Diagnostics.EntityFrameworkCore.Sqlite\SkyWalking.Diagnostics.EntityFrameworkCore.Sqlite.csproj" /> <ProjectReference Include="..\..\src\SkyApm.Diagnostics.EntityFrameworkCore.Sqlite\SkyApm.Diagnostics.EntityFrameworkCore.Sqlite.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" /> <PackageReference Include="Microsoft.AspNetCore.App" />
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Update="skyapm.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="logs" /> <Folder Include="logs" />
......
...@@ -4,11 +4,11 @@ using Microsoft.Data.Sqlite; ...@@ -4,11 +4,11 @@ using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using SkyWalking.Sample.Backend.Models; using SkyApm.Sample.Backend.Models;
using SkyWalking.Sample.Backend.Sampling; using SkyApm.Sample.Backend.Sampling;
using SkyWalking.Tracing; using SkyApm.Tracing;
namespace SkyWalking.Sample.Backend namespace SkyApm.Sample.Backend
{ {
public class Startup public class Startup
{ {
......
...@@ -11,8 +11,5 @@ ...@@ -11,8 +11,5 @@
"Default": "Warning" "Default": "Warning"
} }
} }
},
"SkyWalking": {
"ServiceName": "asp-net-core-backend"
} }
} }
{
"SkyWalking": {
"ServiceName": "asp-net-core-backend",
"Namespace": "",
"HeaderVersions": [
"sw6"
],
"Sampling": {
"SamplePer3Secs": -1,
"Percentage": -1.0
},
"Logging": {
"Level": "Information",
"FilePath": "logs/skyapm-{Date}.log"
},
"Transport": {
"Interval": 3000,
"ProtocolVersion": "v6",
"QueueSize": 30000,
"BatchSize": 3000,
"gRPC": {
"Servers": "localhost:11800",
"Timeout": 10000,
"ConnectTimeout": 10000,
"ReportTimeout": 600000
}
}
}
}
\ No newline at end of file
...@@ -3,7 +3,7 @@ using System.Net.Http; ...@@ -3,7 +3,7 @@ using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
namespace SkyWalking.Sample.Frontend.Controllers namespace SkyApm.Sample.Frontend.Controllers
{ {
[Route("api/[controller]")] [Route("api/[controller]")]
public class ValuesController : Controller public class ValuesController : Controller
......
...@@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Hosting; ...@@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace SkyWalking.Sample.Frontend namespace SkyApm.Sample.Frontend
{ {
public class Program public class Program
{ {
......
...@@ -12,14 +12,16 @@ ...@@ -12,14 +12,16 @@
"commandName": "IISExpress", "commandName": "IISExpress",
"launchBrowser": true, "launchBrowser": true,
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "SkyAPM.Agent.AspNetCore"
} }
}, },
"SkyWalking.Sample.Frontend": { "SkyWalking.Sample.Frontend": {
"commandName": "Project", "commandName": "Project",
"launchBrowser": true, "launchBrowser": true,
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "SkyAPM.Agent.AspNetCore"
}, },
"applicationUrl": "http://localhost:5001/" "applicationUrl": "http://localhost:5001/"
} }
......
<Project Sdk="Microsoft.NET.Sdk.Web"> <Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework> <TargetFramework>netcoreapp2.1</TargetFramework>
<RootNamespace>SkyApm.Sample.Backend</RootNamespace>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.3" /> <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.3" />
...@@ -13,8 +14,15 @@ ...@@ -13,8 +14,15 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Update="skyapm.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\SkyApm.Agent.AspNetCore\SkyApm.Agent.AspNetCore.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\src\SkyWalking.Agent.AspNetCore\SkyWalking.Agent.AspNetCore.csproj" /> <Folder Include="logs" />
</ItemGroup> </ItemGroup>
</Project> </Project>
\ No newline at end of file
...@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Hosting; ...@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
namespace SkyWalking.Sample.Frontend namespace SkyApm.Sample.Frontend
{ {
public class Startup public class Startup
{ {
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
"Default": "Warning" "Default": "Warning"
} }
} }
},
"SkyWalking": {
"ServiceName": "asp-net-core-frontend"
} }
} }
{
"SkyWalking": {
"ServiceName": "asp-net-core-frontend",
"Namespace": "",
"HeaderVersions": [
"sw6"
],
"Sampling": {
"SamplePer3Secs": -1,
"Percentage": -1.0
},
"Logging": {
"Level": "Information",
"FilePath": "logs/skyapm-{Date}.log"
},
"Transport": {
"Interval": 3000,
"ProtocolVersion": "v6",
"QueueSize": 30000,
"BatchSize": 3000,
"gRPC": {
"Servers": "localhost:11800",
"Timeout": 10000,
"ConnectTimeout": 10000,
"ReportTimeout": 600000
}
}
}
}
\ No newline at end of file
<%@ Application Inherits="SkyWalking.Sample.AspNet.Global" %>
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Common namespace SkyApm.Common
{ {
public static class Components public static class Components
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Common namespace SkyApm.Common
{ {
public struct NullableValue public struct NullableValue
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Common namespace SkyApm.Common
{ {
public struct StringOrIntValue public struct StringOrIntValue
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Common namespace SkyApm.Common
{ {
public static class Tags public static class Tags
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System; using System;
namespace SkyWalking.Config namespace SkyApm.Config
{ {
public class ConfigAttribute : Attribute public class ConfigAttribute : Attribute
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Config namespace SkyApm.Config
{ {
public interface IConfigAccessor public interface IConfigAccessor
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System; using System;
namespace SkyWalking.Config namespace SkyApm.Config
{ {
[Config("SkyWalking")] [Config("SkyWalking")]
public class InstrumentConfig public class InstrumentConfig
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Config namespace SkyApm.Config
{ {
[Config("SkyWalking", "Sampling")] [Config("SkyWalking", "Sampling")]
public class SamplingConfig public class SamplingConfig
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Config namespace SkyApm.Config
{ {
[Config("SkyWalking", "Transport")] [Config("SkyWalking", "Transport")]
public class TransportConfig public class TransportConfig
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
using System; using System;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using SkyWalking.Logging; using SkyApm.Logging;
namespace SkyWalking namespace SkyApm
{ {
public abstract class ExecutionService : IExecutionService, IDisposable public abstract class ExecutionService : IExecutionService, IDisposable
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking namespace SkyApm
{ {
public interface IBase64Formatter public interface IBase64Formatter
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking namespace SkyApm
{ {
public interface IEnvironmentProvider public interface IEnvironmentProvider
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace SkyWalking namespace SkyApm
{ {
public interface IExecutionService public interface IExecutionService
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace SkyWalking namespace SkyApm
{ {
public interface IInstrumentStartup public interface IInstrumentStartup
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
*/ */
using System; using System;
using SkyWalking.Common; using SkyApm.Common;
namespace SkyWalking namespace SkyApm
{ {
public interface IRuntimeEnvironment public interface IRuntimeEnvironment
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking namespace SkyApm
{ {
public interface ITracingDiagnosticProcessor public interface ITracingDiagnosticProcessor
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System; using System;
namespace SkyWalking.Logging namespace SkyApm.Logging
{ {
public interface ILogger public interface ILogger
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System; using System;
namespace SkyWalking.Logging namespace SkyApm.Logging
{ {
public interface ILoggerFactory public interface ILoggerFactory
{ {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<PackageTags>SkyWalking;APM</PackageTags> <PackageTags>SkyWalking;APM</PackageTags>
<PackageReleaseNotes> <PackageReleaseNotes>
</PackageReleaseNotes> </PackageReleaseNotes>
<RootNamespace>SkyWalking</RootNamespace> <RootNamespace>SkyApm</RootNamespace>
<TargetFramework>netstandard2.0</TargetFramework> <TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
</Project> </Project>
\ No newline at end of file
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
*/ */
using System; using System;
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public static class SegmentSpanExtensions public static class SegmentSpanExtensions
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Common; using SkyApm.Common;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ICarrier public interface ICarrier
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ICarrierFormatter public interface ICarrierFormatter
{ {
......
using System.Collections.Generic; using System.Collections.Generic;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ICarrierHeaderCollection : IEnumerable<KeyValuePair<string, string>> public interface ICarrierHeaderCollection : IEnumerable<KeyValuePair<string, string>>
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ICarrierPropagator public interface ICarrierPropagator
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface IEntrySegmentContextAccessor public interface IEntrySegmentContextAccessor
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface IExitSegmentContextAccessor public interface IExitSegmentContextAccessor
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ILocalSegmentContextAccessor public interface ILocalSegmentContextAccessor
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ISamplerChainBuilder public interface ISamplerChainBuilder
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ISamplingInterceptor public interface ISamplingInterceptor
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
* *
*/ */
using SkyWalking.Common; using SkyApm.Common;
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ISegmentContextFactory public interface ISegmentContextFactory
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface ITracingContext public interface ITracingContext
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface IUniqueIdGenerator public interface IUniqueIdGenerator
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public interface IUniqueIdParser public interface IUniqueIdParser
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
* *
*/ */
using SkyWalking.Common; using SkyApm.Common;
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public delegate bool Sampler(SamplingContext samplingContext); public delegate bool Sampler(SamplingContext samplingContext);
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Tracing.Segments namespace SkyApm.Tracing.Segments
{ {
public class SegmentContext public class SegmentContext
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using SkyWalking.Common; using SkyApm.Common;
namespace SkyWalking.Tracing.Segments namespace SkyApm.Tracing.Segments
{ {
public class SegmentReference public class SegmentReference
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -20,9 +20,9 @@ using System; ...@@ -20,9 +20,9 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using SkyWalking.Common; using SkyApm.Common;
namespace SkyWalking.Tracing.Segments namespace SkyApm.Tracing.Segments
{ {
public class SegmentSpan public class SegmentSpan
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System; using System;
namespace SkyWalking.Tracing namespace SkyApm.Tracing
{ {
public class UniqueId : IEquatable<UniqueId> public class UniqueId : IEquatable<UniqueId>
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System; using System;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public class AgentOsInfoRequest public class AgentOsInfoRequest
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using SkyWalking.Transport; using SkyApm.Transport;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public interface IPingCaller public interface IPingCaller
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
* *
*/ */
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public interface ISegmentContextMapper public interface ISegmentContextMapper
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using SkyWalking.Tracing.Segments; using SkyApm.Tracing.Segments;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public interface ISegmentDispatcher public interface ISegmentDispatcher
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -20,7 +20,7 @@ using System.Collections.Generic; ...@@ -20,7 +20,7 @@ using System.Collections.Generic;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public interface ISegmentReporter public interface ISegmentReporter
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using SkyWalking.Common; using SkyApm.Common;
using SkyWalking.Transport; using SkyApm.Transport;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public interface IServiceRegister public interface IServiceRegister
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public class PingRequest public class PingRequest
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
*/ */
using System.Collections.Generic; using System.Collections.Generic;
using SkyWalking.Common; using SkyApm.Common;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public class SegmentRequest public class SegmentRequest
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
*/ */
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public class ServiceInstanceRequest public class ServiceInstanceRequest
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public class ServiceRequest public class ServiceRequest
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
using System; using System;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using SkyWalking.Common; using SkyApm.Common;
namespace SkyWalking.Transport namespace SkyApm.Transport
{ {
public interface ISkyWalkingClientV5 public interface ISkyApmClientV5
{ {
Task<NullableValue> RegisterApplicationAsync(string applicationCode, CancellationToken cancellationToken = default(CancellationToken)); Task<NullableValue> RegisterApplicationAsync(string applicationCode, CancellationToken cancellationToken = default(CancellationToken));
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -17,24 +17,24 @@ ...@@ -17,24 +17,24 @@
*/ */
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using SkyWalking.Config; using SkyApm.Config;
using SkyWalking.Diagnostics; using SkyApm.Diagnostics;
using SkyWalking.Logging; using SkyApm.Logging;
using SkyWalking.Sampling; using SkyApm.Sampling;
using SkyWalking.Service; using SkyApm.Service;
using SkyWalking.Tracing; using SkyApm.Tracing;
using SkyWalking.Transport; using SkyApm.Transport;
using SkyWalking.Transport.Grpc; using SkyApm.Transport.Grpc;
using SkyWalking.Transport.Grpc.V5; using SkyApm.Transport.Grpc.V5;
using SkyWalking.Transport.Grpc.V6; using SkyApm.Transport.Grpc.V6;
using SkyWalking.Utilities.Configuration; using SkyApm.Utilities.Configuration;
using SkyWalking.Utilities.Logging; using SkyApm.Utilities.Logging;
namespace SkyWalking.AspNet.Extensions namespace SkyApm.Agent.AspNet.Extensions
{ {
internal static class ServiceCollectionExtensions internal static class ServiceCollectionExtensions
{ {
public static IServiceCollection AddSkyWalkingCore(this IServiceCollection services) public static IServiceCollection AddSkyAPMCore(this IServiceCollection services)
{ {
services.AddSingleton<ISegmentDispatcher, AsyncQueueSegmentDispatcher>(); services.AddSingleton<ISegmentDispatcher, AsyncQueueSegmentDispatcher>();
services.AddSingleton<IExecutionService, RegisterService>(); services.AddSingleton<IExecutionService, RegisterService>();
...@@ -67,7 +67,7 @@ namespace SkyWalking.AspNet.Extensions ...@@ -67,7 +67,7 @@ namespace SkyWalking.AspNet.Extensions
services.AddSingleton<IExecutionService>(p => p.GetService<SimpleCountSamplingInterceptor>()); services.AddSingleton<IExecutionService>(p => p.GetService<SimpleCountSamplingInterceptor>());
services.AddSingleton<ISamplingInterceptor, RandomSamplingInterceptor>(); services.AddSingleton<ISamplingInterceptor, RandomSamplingInterceptor>();
services.AddSingleton<ISkyWalkingClientV5, SkyWalkingClientV5>(); services.AddSingleton<ISkyApmClientV5, SkyApmClientV5>();
services.AddSingleton<ISegmentReporter, SegmentReporter>(); services.AddSingleton<ISegmentReporter, SegmentReporter>();
services.AddSingleton<ConnectionManager>(); services.AddSingleton<ConnectionManager>();
services.AddSingleton<IPingCaller, PingCaller>(); services.AddSingleton<IPingCaller, PingCaller>();
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
using System; using System;
namespace SkyWalking.AspNet namespace SkyApm.Agent.AspNet
{ {
internal class HostingEnvironmentProvider : IEnvironmentProvider internal class HostingEnvironmentProvider : IEnvironmentProvider
{ {
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Web; using System.Web;
using SkyWalking.Tracing; using SkyApm.Tracing;
namespace SkyWalking.AspNet namespace SkyApm.Agent.AspNet
{ {
public class HttpRequestCarrierHeaderCollection : ICarrierHeaderCollection internal class HttpRequestCarrierHeaderCollection : ICarrierHeaderCollection
{ {
private readonly Dictionary<string, string> _headers; private readonly Dictionary<string, string> _headers;
......
/* /*
* Licensed to the OpenSkywalking under one or more * Licensed to the SkyAPM under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. * this work for additional information regarding copyright ownership.
* The OpenSkywalking licenses this file to You under the Apache License, Version 2.0 * The SkyAPM licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with * (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
...@@ -24,10 +24,11 @@ using System.Net.Http.Headers; ...@@ -24,10 +24,11 @@ using System.Net.Http.Headers;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using CommonServiceLocator; using CommonServiceLocator;
using SkyWalking.Tracing; using SkyApm.Tracing;
using SpanLayer = SkyWalking.Tracing.Segments.SpanLayer; using SkyApm.Tracing.Segments;
using SpanLayer = SkyApm.Tracing.Segments.SpanLayer;
namespace SkyWalking.AspNet namespace SkyApm.Agent.AspNet
{ {
public class HttpTracingHandler : DelegatingHandler public class HttpTracingHandler : DelegatingHandler
{ {
......
File moved
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment