How much time a metric takes to dessapear from DX ui after disconnect?
DX O2 SaaS
The metric stay live until the underlying metrics got purged, you can check the "hide disconnected agent" option above the metric tree panel to not show those disconnected agents and not need to wait the metric got purged.
From Metrics Agent By Trace: To hide disconnected agents from the metric tree, select the Hide disconnected agents option.