Git Product home page Git Product logo

skyapm-dotnet's People

Contributors

ahoo-wang avatar beckjin avatar dependabot[bot] avatar elderjames avatar feiyun0112 avatar guochen2 avatar inversionhourglass avatar itsvse avatar kaanid avatar kawhiwei avatar limfriend avatar linkinshi avatar liuhaoyang avatar lu-xiaoshuang avatar misaya avatar pengweiqhca avatar qq362220083 avatar refactor2 avatar rider11-dev avatar sampsonye avatar shaohans avatar snakorse avatar startewho avatar withlin avatar witskeeper avatar wu-sheng avatar xclw2000 avatar yang-xiaodong avatar zeaposs avatar zhujinhu21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skyapm-dotnet's Issues

Support Dapper

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • [*] Feature or performance improvement

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.

many people use Dapper , we should adopt that.

Requirement for supporting grpc

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Requirement

  • grpc client side and server side tracing implement

No Active Span异常

当循环并行调用HttpClient请求时,会偶发性得报如下异常
image
我的场景是,使用MediatR循环发布一个事件,有两个订阅,两个订阅内部都是HttpClient请求

使用skywalking中遇上一个异常

我们应用中使用skywalking中遇上一个异常,这个异常不定时出现。出现时的场景大概是这样的,asp.net core应用,在一个mvc的action中使用HttpClient/HttpWebRequest去发起一个http请求,发起的http请求就会报错,具体异常信息如下。
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An item with the same key has already been added. Key: status_code
at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)
at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at SkyWalking.Context.Trace.AbstractTracingSpan.Tag(String key, String value) at SkyWalking.Context.Trace.ExitSpan.Tag(String key, String value) at SkyWalking.Context.Tag.StringTag.Set(ISpan span, String tagValue) at SkyWalking.Diagnostics.HttpClient.HttpClientDiagnosticProcessor.HttpResponse(HttpResponseMessage response) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at SkyWalking.Diagnostics.TracingDiagnosticMethod.Invoke(String diagnosticName, Object value) at SkyWalking.Diagnostics.TracingDiagnosticObserver.OnNext(KeyValuePair2 value)
at System.Diagnostics.DiagnosticListener.Write(String name, Object value)
at System.Net.Http.DiagnosticsHandler.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at System.Net.Http.HttpClient.d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at publish_helper.HttpUtils.d__0.MoveNext()

关于cap的疑问

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

-有个疑问
image
image
这些不应该在一个TraceId里面吗?不然我怎么追踪一系列的操作?

Requirement for supporting redis

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

NetCore集成SK使用httpClientFactory调用api出现异常

NetCore集成SK使用httpClientFactory调用api出现异常

HttpRequestException: Request headers must contain only ASCII characters.

System.Net.Http.HttpConnection.WriteStringAsync(string s)

如果把Startup中的SK代码注了就能正常运行

 public async Task<string> A()
        {
            var client = _httpClientFactory.CreateClient();
            client.BaseAddress = new Uri("http://127.0.0.1:9000");
            client.DefaultRequestHeaders.Add("charset", "utf-8");
            string result = await client.GetStringAsync("/api/service2/values");
            return result;
        }

when using skywalking in docker ,state of the gRpc Channel is always Idle

I'm using skywalking in docker,and exposed the ports:10800、11800、12800.
image

When I start the sample project of skywalking-netcore,it fails at the first connection,and the follows connections are ok,as below:
image
But it can not work to send trace data to Skywalking.
I debugged the code ,and find that the state of the Channel is alwayes Idle,and Application can not registerd.
channle-idle
It may be something wrong with my environment,but I really can't solve the problem.
So,could you master give a help?
Thanks a lot!

Automatic-Agent based on CLR Profiling API

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.

In the CLR, the profiling API is used to write a code profiler, which is a program that monitors the execution of a managed application. We can use the JIT recompilation methods in the ICorProfilerCallback4 interface, to insert SkyWalking's tracing logic in the target method. For SkyWalking .NET Core Agent, this will be a very important change, realizing automatic proxy means that SkyWalking-NetCore will be comparable to some commercial APM products.

添加远程调用监控失败,提示“Grpc channel connect timeout.”

services.AddSkyWalking(option =>
{
option.DirectServers = "My IP:11800";
option.ApplicationCode = "Com.Ejsino.WebApi.ServiceGateway";
});

2018-09-18 11:07:49,137 [13] INFO Com.Ejsino.WebApi.ServiceGateway.Startup - Grpc channel connect timeout. Reached deadline.
warn: SkyWalking.Remote.GrpcConnection[0]
Grpc channel connect timeout. Reached deadline.
2018-09-18 11:08:09,205 [14] INFO Com.Ejsino.WebApi.ServiceGateway.Startup - Grpc channel connect timeout. Reached deadline.

Add gRPC re-connection

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

  • What do you want to know?

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.
  • Support gRPC re-connection
  • Support gRPC client load balancing

Provide percentage-based sampling

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.

Currently our sampling mechanism only supports match the first N trace segments in the certain time window. But in some cases, we want to get more balanced sampling, such as percentage-based sampling, so we need to restructure SamplingService to provide multiple sampling implementations for the user to choose.

give a chance to modify the request uri before log to sw collector

Hello there,thanks for your great job.
We have a case that all our requests point to only one controller and action,something like "http://ip:port/Common/Service",and we use reflection to invoke special method depending on parameters provided by HttpRequest body.
So it causes a thing that in SW UI,all request uri are like the same,except the ip and port.
And it is hard to find out the invoke trace easily.
It can be solved by seperate the controller and action for each api,but we have lots of old codes and it's too hard to do this.
So is it possible that we have a chance to modify the request uri before setting the Tags.Url?
Maybe something like a Func?
Please think about the case ,thanks!

how to use it on docker ?

  • [* ] Question or discussion

Question

On Windows/Mac/Linux,we can use it by

dotnet tool install -g SkyWalking.DotNet.CLI

but docker dotnet-runtime not contains dotnet SDK.

that will get this error.

Step 11/12 : RUN dotnet tool install -g SkyWalking.DotNet.CLI
 ---> Running in b5e22d93ce49
Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
  http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
The command '/bin/sh -c dotnet tool install -g SkyWalking.DotNet.CLI' returned a non-zero code: 145

What should I do?

Requirement or improvement

  • microsoft/dotnet:2.1.3-aspnetcore-runtime

Active tag discards a request for Span

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Requirement or improvement

  • I want to have an externally configurable property in EnrtySpan to specify to ignore this request.

When I reimplement HostingDiagnosticProcessor, I can use some rules to determine if it is necessary to record the request.

Get the Custom Attribute on the Action through the ActionDescriptor in Microsoft.AspNetCore.Mvc.BeforeAction. It is logged when there is a Custom Attribute, and the Min Duration can be defined in a Custom Attribute. If it is lower than this threshold, it will be ignored.

So I may also need to have a property to access Span's EndTime or Duration.

skywalking-netcore 跟踪pgsql问题

Question

  • 在使用skywalking-netcore做SQL Trace相关验证,用于跟踪SqlServer时是可以实现正常跟踪的;在用于跟踪pgsql时,从dashboard页面可以看到有DB数据源,但是trace页面看不到具体的SQL信息,请问sw对不同数据库访问组件使用方式有什么不同吗?
    谢谢!

image

image

Connection processing ended abnormally System.InvalidOperationException: No active span.

NetCore 2.1.1 + 阿里云 CentOS 容器 + SqlServer

经过测试发现(高并发下):
1、直接Http访问无问题。
2、直接Http访问+业务处理无问题
3、Http访问+业务处理+Sqlserver操作。出现如下错误:

Microsoft.AspNetCore.Server.Kestrel[0] Connection processing ended abnormally. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: No active span. at SkyWalking.Context.TracingContext.InternalActiveSpan() at SkyWalking.AspNetCore.Diagnostics.HostingDiagnosticProcessor.EndRequest(HttpContext httpContext) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at SkyWalking.Diagnostics.TracingDiagnosticMethod.Invoke(String diagnosticName, Object value) at SkyWalking.Diagnostics.TracingDiagnosticObserver.OnNext(KeyValuePair2 value)
at System.Diagnostics.DiagnosticListener.Write(String name, Object value)
at Microsoft.AspNetCore.Hosting.Internal.HostingApplicationDiagnostics.RecordEndRequestDiagnostics(HttpContext httpContext, Int64 currentTimestamp)
at Microsoft.AspNetCore.Hosting.Internal.HostingApplication.DisposeContext(Context context, Exception exception)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication1 application)`

Add client info collecting

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [ x ] Requirement

Requirement or improvement

There is a situation that we have many nodes would submit the data to central service, there were be slowly or fast, we did't found the slowly request where does it from? Why does it be slowly?

If we can collect the original datas from request, the client ip, that it will be a easy way to improve our system.

Otherwise, we are also like to collect the stacktrace when a exception thrown.

Sincerely hope that features will be provided.

Best wish to Skywalking Team!

Thanks!

Requirement for supporting mysql

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

是否能改善计录时间戳的精度

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Improvement

CLI报错

在windows下非C盘使用dotnet skywalking install会报错,应该是Windows下cd不能切盘符导致的。
log:


  •                                                               *
    
  •               Welcome to Apache SkyWalking                    *
    
  •                                                               *
    

Installing SkyWalking .NET Core Agent ...

Create tmp directory 'C:\Users\chen.ganshen\AppData\Local\Temp\skywalking.agent.aspnetcore'
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
D:\Projects\skywalking-netcore-master\skywalking-netcore-master\cli\SkyWalking.DotNet.CLI\bin\Debug\netcoreapp2.1>git clone https://github.com/OpenSkywalking/skywalking-netcore-hosting-startup.git C:\Users\chen.ganshen\AppData\Local\Temp\skywalking.agent.aspnetcore\repo
Cloning into 'C:\Users\chen.ganshen\AppData\Local\Temp\skywalking.agent.aspnetcore\repo'...
D:\Projects\skywalking-netcore-master\skywalking-netcore-master\cli\SkyWalking.DotNet.CLI\bin\Debug\netcoreapp2.1>cd C:\Users\chen.ganshen\AppData\Local\Temp\skywalking.agent.aspnetcore\repo\manifest
D:\Projects\skywalking-netcore-master\skywalking-netcore-master\cli\SkyWalking.DotNet.CLI\bin\Debug\netcoreapp2.1>dotnet build --configuration Release --verbosity q -nowarn:NU1701
Microsoft (R) Build Engine version 15.8.166+gd4e8d81a88 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
D:\Projects\skywalking-netcore-master\skywalking-netcore-master\cli\SkyWalking.DotNet.CLI\bin\Debug\netcoreapp2.1>dotnet store --manifest SkyWalking.Runtime.Store.csproj --framework netcoreapp2.1 --output C:\Progra~1\dotnet\store --runtime win-x64 --skip-symbols --verbosity q -nowarn:NU1701
Microsoft (R) Build Engine version 15.8.166+gd4e8d81a88 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: SkyWalking.Runtime.Store.csproj
D:\Projects\skywalking-netcore-master\skywalking-netcore-master\cli\SkyWalking.DotNet.CLI\bin\Debug\netcoreapp2.1>exit

在使用 await Task.WhenAll 发起http请求时,偶尔抛出 No active span 异常

在使用 await Task.WhenAll 发起http请求时,偶尔抛出 No active span 异常。


具体异常信息如下:

InvalidOperationException: No active span.
SkyWalking.Context.TracingContext.InternalActiveSpan()
SkyWalking.Diagnostics.HttpClient.HttpClientTracingDiagnosticProcessor.HttpResponse(HttpResponseMessage response)

Show raw exception details
System.InvalidOperationException: No active span.
at SkyWalking.Context.TracingContext.InternalActiveSpan()
at SkyWalking.Diagnostics.HttpClient.HttpClientTracingDiagnosticProcessor.HttpResponse(HttpResponseMessage response)
TargetInvocationException: Exception has been thrown by the target of an invocation.
System.RuntimeMethodHandle.InvokeMethod(object target, object[] arguments, Signature sig, bool constructor, bool wrapExceptions)
System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
SkyWalking.Diagnostics.TracingDiagnosticMethod.Invoke(string diagnosticName, object value)
SkyWalking.Diagnostics.TracingDiagnosticObserver.OnNext(KeyValuePair<string, object> value)
System.Diagnostics.DiagnosticListener.Write(string name, object value)
System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task sendTask, HttpRequestMessage request, CancellationTokenSource cts, bool disposeCts)
SyncSoft.App.Http.HttpClientBase.SendAsync(HttpRequestMessage requestMessage) in HttpClientBase.cs
SyncSoft.App.Http.HttpClientBase.SendAsync(HttpAuthorization authorization, HttpMethod httpMethod, Uri uri, object data) in HttpClientBase.cs
SyncSoft.App.Http.HttpClientBase.PostAsync(HttpAuthorization authorization, Uri uri, object data) in HttpClientBase.cs
SyncSoft.App.WebApi.DefaultApiClient.PostAsync(BearerAuthModeEnum authMode, Uri uri, object data) in DefaultApiClient.cs
SyncSoft.App.WebApi.Proxies.ApiProxyBase.PostAsync(BearerAuthModeEnum authMode, string relativeUri, object data) in ApiProxyBase.cs
SyncSoft.LIVNCo.Web.Areas.Product.Models.Family.FamilyDetailModel.SearchFamilyDetailAsync() in FamilyDetailModel.cs
+
await Task.WhenAll(getProductFamily, getSimpleFamily, getBreadcrumbs).ConfigureAwait(false);
SyncSoft.LIVNCo.Web.Areas.Product.Controllers.FamilyController.Detail(FamilyDetailModel model) in FamilyController.cs
+
await model.SearchFamilyDetailAsync();
Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
System.Threading.Tasks.ValueTask.get_Result()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
SyncSoft.ECP.AspNetCore.Middlewares.RouteDataMiddleware.Invoke(HttpContext httpContext) in RouteDataMiddleware.cs
SyncSoft.ECP.AspNetCore.Middlewares.ObjectContainerScopeMiddleware.Invoke(HttpContext context) in ObjectContainerScopeMiddleware.cs
SyncSoft.ECP.AspNetCore.Middlewares.RouteDataMiddleware.Invoke(HttpContext httpContext) in RouteDataMiddleware.cs
Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
SyncSoft.ECP.AspNetCore.Middlewares.UnauthorizedAjaxHandleMiddleware.Invoke(HttpContext httpContext) in UnauthorizedAjaxHandleMiddleware.cs
SyncSoft.ECP.AspNetCore.Middlewares.AuthEndpointsMiddleware.Invoke(HttpContext httpContext) in AuthEndpointsMiddleware.cs
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

How you decide to use class member, not pull them from DI?

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

  • What do you want to know?
    Why you design and use non-thread-safe class members such as ContextManager.StopSpan,
    which will crash production business code by throwing a InvalidException with message "no active span"

I suggest to register your internal components with scoped lifestyle to the DI,
then create scope for every context and use them.


Bug

  • Which version of SkyWalking, OS and .NET Runtime?
    oap version: 6.0.0-beta , not important.
    agent version: 0.6.0, offical nuget package.
    .NET Runtime: .NET Core 2.2.0.100, with meta package Microsoft.AspNetCore.App
  • Which company or project?
    Secret yet.
  • What happen?
    Agent crashes production business code.
    Agent throw a InvalidException when Calling DbContext.SaveChangeAsync

Requirement or improvement

  • Please describe about your requirements or improvement suggestions.

Support collect basic info like cpu, memory, GC eg..

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Do you have any plan to support collect some basic info in the future? Like cpu, memory, io, GC eg..

Please consider setting ServiceCollectionExtensions to public

If it's public, we can install SkyWalking. Agent. AspNetCore via the nuget package, use services.AddSkyWalkingCore () in ConfigureServices.

default

public void ConfigureServices(IServiceCollection services)
{
	services.AddSkyWalkingCore();
	services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
}

可以设置哪些请求不需要追踪吗

skywaliking 可以设置哪些请求不需要追踪吗?比如以下的
向注册中心拉取服务列表
向配置中心拉取配置
向各基础组件发送心跳等

how to remove history data

hi friends , it's a great soft,
now ,i have a problem :'no space left on device'
when the history is to much ,how to remove ?

DllNotFoundException

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

Platform: Windows 10 x64 17134.376
dotnet --version
2.1.500
skywalking store: C:\Program Files\dotnet\store
skywalking deps: C:\Program Files\dotnet\x64\additionalDeps\skywalking.agent.aspnetcore

code is here: https://github.com/MaiReo/skysample

I was followed the "Getting Started" section at README. but i got

D:\Repos\dev\sky_sample>set ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyWalking.Agent.AspNetCore

D:\Repos\dev\sky_sample>set DOTNET_ADDITIONAL_DEPS="C:\Program Files\dotnet\x64\additionalDeps\skywalking.agent.aspnetcore"

D:\Repos\dev\sky_sample>dotnet run
从 D:\Repos\dev\sky_sample\Properties\launchSettings.json 使用启动设置...
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using 'C:\Users\MaiReo\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Development
Content root path: D:\Repos\dev\sky_sample
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
crit: Microsoft.AspNetCore.Hosting.Internal.WebHost[11]
      Hosting startup assembly exception
System.InvalidOperationException: Startup assembly SkyWalking.Agent.AspNetCore failed to execute. See the inner exception for more details. ---> System.IO.FileNotFoundException: Could not load file or assembly 'SkyWalking.Agent.AspNetCore, Culture=neutral, PublicKeyToken=null'. 系统找不到指定的文件。
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, IntPtr ptrLoadContextBinder)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, IntPtr ptrLoadContextBinder)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
   --- End of inner exception stack trace ---

Update Nuget Package

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Question

  • What do you want to know?
    Hello, When will you release next version and update nuget package, because of #99 issue we can't register necessary services to IServiceCollection in asp.net core.

Bug

  • Which version of SkyWalking, OS and .NET Runtime?

  • Which company or project?

  • What happen?
    If possible, provide a way for reproducing the error. e.g. demo application, component version.


Requirement or improvement

  • Please describe about your requirements or improvement suggestions.

安装agent报错

在windows下安装agent,指令如下:dotnet skywalking install
出现如下错误:
qq 20181017181641

Provide dynamic refresh file in agent

Sync apache/skywalking#1181

This requirement came from the upgrade, SkyWalking's agent and protocol are stable enough, and didn't need to update for a long time. But considering right now, there are a lot of buffer in agent, so end users must reboot the monitored applications to upgrade backend, which caused by backend upgrade is not forward-compatible.
By having this feature, the backend break upgrade should be:

  1. Stop all backends.
  2. Clear the ElasticSearch data.
  3. Set all flush file to true, and wait all agents refreshed and updated the new refresh time.
  4. Start up new version collector.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.