pardahlman / RawRabbit

A modern .NET framework for communication over RabbitMq
MIT License
746 stars 144 forks source link

[WIP] Add Stackify Enricher #358

Closed Alegrowin closed 4 years ago

Alegrowin commented 6 years ago

Description

Added Stackify Middleware Enricher with GlobalExecutionId support (no dependency).

How to test

  1. Install Prefix from Stackify
  2. Execute WebApi and Any ConsoleApp

Check List

Alegrowin commented 6 years ago

WIP State

This PR is still in WIP state, I wanted to get a little feedback as I want to do some kind of transaction when handling events.

Help Required

There seems to be a problem when overriding Pipe.Middleware.HandlerInvocationMiddleware. The thread used by the HandlerInvocationMiddleware is terminated before the ExecAsync from the ProfileTracer... Maybe you could look on how I implemented the Stackify Plugin and give me feedback on it. I am surely missing something. :)

Thank you!