Skip to content

Rebrand Diagnostics Server #39792

@josalem

Description

@josalem

I'll continue to think about the naming. I'm not attached to the specific ones I suggested but I do worry that the term "reversed server" isn't currently planned to show up anywhere else in the overall experience or documentation. I know we have used the phrase internally, but if it shows up in the public facing name I anticipate customers won't find it intuitive. In order to understand 'reversed server' the customer would first need to know what the runtime diagnostic server is and that this term is a derivative from it. I don't think they will know either of those things.

One possibility is that because we haven't spoken much in public or in docs about "diagnostic server" there is probably room to change our planned terminology without causing too much confusion, though the window won't be open much longer. @josalem @shirhatti @wiktork @sywhang if you guys had thoughts?

One thought would be:

Runtime env var: DOTNET_MANAGEMENT_PORT=\foo\bar\mysocket
Tool: dotnet-monitor --dotnet-management-port=\foo\bar\mysocket

In both contexts I am making port refer by-default to the tool hosted port. If we did this I would stop talking about "Diagnostics Server" and instead say "the runtime has a management port" or "the runtime can connect to a tool's management port." We would also get rid of the current DiagnosticMonitorAddress* environment variables. We could support an optional more generalized syntax for DOTNET_MANAGEMENT_PORT allowing lists of ports, specifying if the runtime should connect or listen, and specifying if the runtime should suspend on start:
DOTNET_MANAGEMENT_PORT=\foo\bar\mysocket,connect,suspend;\baz\socket,listen,nosuspend

Originally posted by @noahfalk in dotnet/diagnostics#1303 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions