Dotnet-Monitor Release - v5.0.0-preview.6.21370.3
Today we are releasing the next official preview of the dotnet-monitor
tool. This release includes:
MonitorApiKey
now supports a configurable key length and hash algorithm. Both the key length (--key-length
) and hash algorithm (--hash-algorithm
) can also be supplied to thegeneratekey
command via command line parameters. (#361)- The
/logs
endpoint now supports egressing logs with theapplication/json-seq
Content-Type. (#468) ⚠️ Process selection uses query string instead of path segments. For example, a call to collect a gcdump of process id 21632 would now look likeGET /gcdump?pid=21632
. In addition topid
all other process selectors (uid
andname
) can also be specified via query string. This change impacts the/process
,/dump
,/gcdump
,/trace
, and/logs
endpoint. (#496)⚠️ Change in configuration for egress providers to allow for easier discoverability and greater extensibility. Each provider has a top-level configuration node under theEgress
section. (#515)- New
/info
API endpoint for diagnostics that provides thedotnet monitor
version number, the runtime version, and the diagnostic port settings used to connect to a target process. (#540) ⚠️ New operational-style API by endpoints that produce a diagnostic artifact when egressed (/dump
,/gcdump
,/trace
, and/logs
). Prior to this change, long-running operations synchronously waited until the diagnostic artifact had been handled by an egress provider (e.g., a call to/dump
would not return a HTTP response until the dump was written to Azure blob storage). The new API, will immediately return a 202 response with an operation id. Clients can then use this operation id to query the newly introduced/operations
API to querydotnet monitor
about the status of the operation. (#425)
*