mausworks / pidget Goto Github PK
View Code? Open in Web Editor NEWError reporting for .NET using sentry.io
License: MIT License
Error reporting for .NET using sentry.io
License: MIT License
The sentry documentation states the following:
If an empty DSN is passed, you should treat it as valid option which signifies disabling the SDK.
Currently, the library throws for an empty DSN.
The user interface is currently not supported: https://docs.sentry.io/clientdev/interfaces/user/
0.3.0 should support:
HttpContext
in the Pidget ASP.NET Middleware.Pidget.Client -Version 1.0.3
InnerException.InnerException.StackTrace
bei Pidget.Client.VersionNumber.Get()
bei Pidget.Client.SentryClient..cctor()
bei System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext* pContext) in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\Runtime\CompilerServices\ClassConstructorRunner.cs: Zeile92
One of the missing features from Sentry's list of "expected features".
In 1.0.0 the following should be handled:
The project currently does not work with the new DSN format, which omits the private key.
A IndexOutOfBoundsException
occurs when calling Dsn.Create(<new-key-format>)
Hi. I'm trying to use your project into my own. It is asp.net core 2.0 app. I have installed the last version from NuGet and tried last from releases. Also tried to create new asp.net core 2.0 project.
Every time I had a startup error:
Unhandled Exception: System.InvalidOperationException: Cannot resolve scoped service 'Pidget.Client.SentryClient' from root provider.
dotnet --info and Startup.cs: https://gist.github.com/offi/2461d0f8e6e10f0c2f9d97c7372312f2
I'm using Pidget on a .NET Core app in Linux. The problem is that I use nginx to proxy the requests to the application.
All my Sentry user tags are therefore ip:localhost.
One of the other missing features from the "expected features" list. Closely related to #12, but more elaborate.
I don't think it's a good idea to have the client manage its own "retry"-logic, as I want the client to simply be the "transfer mechanism" in the project. But retrial should be supported at least in the ASP.NET middleware.
Some objects supports using only arbitrary data such as ExtraData
.
Other objects support both arbitrary data and predefined keys. Such as the contexts object and its members.
To support this, dynamic key must be allowed to get set for some objects.
0.3.0 should support:
The contexts interface is currently not supported: https://docs.sentry.io/clientdev/interfaces/contexts/
0.3.0 should support:
This is embarrassing, but … Pidget.AspNet does not currently work with newer versions of AspNetCore MVC … and I don't know since when.
Create a new MVC project and install Pidget.AspNet:
dotnet new mvc --auth None
dotnet add package Pidget.AspNet
Then, follow the instructions from the README in Pidget.AspNet, and set it up.
Then, throw an exception in HomeController
/ Index()
, like so:
public class HomeController : Controller
{
public IActionResult Index()
{
throw new Exception("Sorry :(");
return View();
}
// ...
The Middleware will throw a NullReferenceException
when attempting to extract FrameData
, and no error is sent to sentry.
I came along from reddit comments to here and want to use your package in one of my projects.
The problem is that how I will integrate it to .net 4.6.2 project in the best way to filter and having some tags sent to sentry and also in a clever way using breadcrumbs.
At the moment I wrote a console app and can write to sentry using the pidget.client but I want to use Pidget.AspNet and capture my 4.6.2 app errors.
Right now we use nlog.
I figured out also nlogs can be sent to pidget right ?
Thanks.
erkin
Pretty much the same as #21. Useful for handling rate-limiting.
Expected functionality:
The easiest way to add full support for #13, is to simply not support it, but instead allow the implementor of the library to handle "after-send" as they see fit.
Expected functionality:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.