Skip to content

Behavior for MediatR that writes basic diagnostic information to a DiagnosticSource. Works best with ElasticApm.MediatR!

License

Notifications You must be signed in to change notification settings

f1ana/MediatR.Pipeline.Diagnostics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MediatR.Pipeline.Diagnostics

Behavior for MediatR that writes basic diagnostic information to a DiagnosticSource. Works best with ElasticApm.MediatR!

What does this do?

This library utilizes System.Diagnostics.DiagnosticSource to report some common events within MediatR. These currently include request started, request completed, and request error.

Why would I use this?

If you rely on Elastic APM and utilize MediatR for queries and commands, this library will help you gain visibility to when your handlers are running, and for how long.

How to use

This is not meant to be used directly, unless you intend on writing your own instrumentation wrapper. Please see ElasticApm.MediatR for more details.

Contributions

I welcome any and all suggestions or improvements to the codebase. Thanks for dropping by and hope you find a good use for this library!

About

Behavior for MediatR that writes basic diagnostic information to a DiagnosticSource. Works best with ElasticApm.MediatR!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages