Uh oh!
There was an error while loading. Please reload this page.
Allow tools to specify a specific OS transport - #770
Conversation
noahfalk
left a comment
There was a problem hiding this comment.
A little worried about the naming, but otherwise looks good : )
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
shirhatti
commented
Feb 19, 2020
@josalem I remember us having a hallway conversation about using URIs for the address/transportPath (e.g., Is that no longer being considered? |
josalem
commented
Feb 20, 2020
We just chatted about it offline, but I wanted to document it here. Making this a URI is an implementation detail that we can tackle later without changing the name/functionality added here. So, for now, I'm going to leave it out, but we can certainly add it if we ever add more transports. |
* Add IpcTransport to abstract pid and named connections
b502643 to
dff80eeCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
<Noah being pedantic> |
josalem
commented
Mar 19, 2020
I'm closing this as the design of this feature has pivoted (see: dotnet/runtime#33307) a bit during development and this code needs to change accordingly. |
Once dotnet/runtime#1600 is merged in, the runtime will be able to create the diagnostics server transport at a specific location. This change allows the tools to consume the path to a Unix Domain Socket or a specific Named Pipe.
Example:
dotnet trace collect --transport-path /diagnostics/myapp.sockThe client library is also updated to allow for creating a
DiagnosticsClientusing astring(for path) instead of anint(for pid).CC - @shirhatti@tommcdon