Replies: 2 comments 3 replies
-
I was just working on this yesterday; I simply created a pipeline behaviour.
Or are you saying out of the box would be better?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Juliano Leal Goncalves ***@***.***>
Sent: Tuesday, July 12, 2022 11:31:25 PM
To: jbogard/MediatR ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [jbogard/MediatR] OpenTelemetry instrumentation for MediatR (Discussion #762)
Every major framework is now being instrumented with OpenTelemetry (aspnet itself, http, ef, etc). I think it would make sense for MediatR to have its own instrumentation library (or built-in instrumentation) to work with OpenTelemetry standards.
Thoughts? Has this been considered before?
From a developer perspective, it would be nice to have custom spans for MediatR operations show up in traces, as well as any metrics that would be particular to the library.
—
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjbogard%2FMediatR%2Fdiscussions%2F762&data=05%7C01%7C%7C0b1c4b7d90e64288d89b08da64564218%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637932618884205313%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DAvXT1oyxh%2FNJZZGALT3pxcLTiGtpj1STeWrS66IZ9o%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADE3ZABP3GM6QRIGLPWWDQLVTXW33ANCNFSM53MRZE2A&data=05%7C01%7C%7C0b1c4b7d90e64288d89b08da64564218%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637932618884205313%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=m0TUfY0zciqDd9zRtYxH1TVBnQ6f8%2BMbE%2BUwalPrDCk%3D&reserved=0>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I dunno, I'm not sure if it would add more noise to your traces. The frameworks you listed are all dealing with I/O, so I'd already have traces around incoming HTTP requests, any data access, any messages consumed/produced, and any outgoing HTTP requests. I don't know what another trace would add. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Every major framework is now being instrumented with OpenTelemetry (aspnet itself, http, ef, etc). I think it would make sense for MediatR to have its own instrumentation library (or built-in instrumentation) to work with OpenTelemetry standards.
Thoughts? Has this been considered before?
From a developer perspective, it would be nice to have custom spans for MediatR operations show up in traces, as well as any metrics that would be particular to the library.
Beta Was this translation helpful? Give feedback.
All reactions