azure-webjobs-sdk-extensions icon indicating copy to clipboard operation
azure-webjobs-sdk-extensions copied to clipboard

Re-add ErrorTrigger

Open brettsam opened this issue 7 years ago • 8 comments

ErrorTrigger was removed when we removed internal usage of TraceWriter as it was built on the TraceWriter. This issue tracks the re-adding of this to the .NET Core branch.

brettsam avatar Dec 01 '17 22:12 brettsam

The feature is currently built on the TraceWriter event stream, so should be directly portable over to the ILogger event stream, since the whole infrastructure is simply sliding window monitoring over an event stream.

I still think it is is a logical design for this to be based on the log stream. While we might consider invention of a new message bus to base this on, I don't think we need to do that.

mathewc avatar Dec 15 '17 19:12 mathewc

Is there any way we can get examples of this new pattern? I happened to start a new webjob project within a week of the release of SDK 3.0 and had lots of trouble finding documentation on the changes. I waited for updates to the wiki or microsoft documentation but still can only find the old documentation which no longer works. I have went through the sample code and unit tests on the git hub pages and I find it difficult to find tests or examples for many things such as logging, di in a webjob, activators, webjob hosting (this may be better now), and error handling. With large breaking changes to patterns, libraries, and application design with each major release it makes it very hard to keep on top of best practices. It doesn't feel like there is functional parity between versions; I am sure there is but its very difficult to find especially as functionalities are moved into different objects and namespaces.

rholsman avatar Dec 11 '18 23:12 rholsman

Do you have any ETA on when the ErrorTriggerAttribute will be added to .NET Core?

simongullberg avatar May 15 '19 07:05 simongullberg

No plans or ETA for this currently.

mathewc avatar May 15 '19 17:05 mathewc

Still in wiki: https://github.com/Azure/azure-webjobs-sdk-extensions/wiki/Error-Monitoring and Readme references a code sample not in the repository.

OzBob avatar Sep 11 '19 07:09 OzBob

Any update ? Error management is pretty useful in real world :)

jonathanantoine avatar Mar 03 '20 10:03 jonathanantoine

Again, 18 months from the last comment, is there any progress on this? I just inherited a .NET 4.5.2 project that uses v1 of the WebJobs SDK and it's impossible to update in any meaningful way because it uses this feature and it's been removed with no replacement. If it's as simple as replacing every usage of TraceWriter with ILogger, why is the feature still missing after nearly 4 years and another major version release of the SDK?

jimpaton-ufx avatar Sep 08 '21 16:09 jimpaton-ufx

Hi -- 18 months after the last comment, is there any progress or alternative for this?

remde avatar Apr 27 '23 19:04 remde