You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code/JetBrains plugins: Make resources usage more visible #11720
The VS Code and JetBrains IDE plugins do not show workspace resource in a visible spot. The user needs to dig into the workspace list panel and find and expand their current workspace to see resource usage.
I'd suggest adding CPU, memory, disk usage, and etc to the lower IDE bar near where the tunnel latency is:
This is useful in cases where a user unknowingly saturates one or more resources without realizing. For example: we've had a few users use all of their disk space, only to spend several minutes debugging why everything started breaking.
As an additional consideration: perhaps disk space and mem usage could gently draw attention downwards when they stay maxed. A different text color for the metric?
@gtaylor Currently, all agent metadata fields are user-controlled. Coder can't know if a template has them defined and with what keys. We can either show all of them or none.
We may show all of them as an expandable entry where the first metadata item always shows, and others expand if a user clicks on it and optionally blinks or changes color in case of hitting limits.
@code-asher, do we have a way to display agent metadata in JetBrains IDEs?
Not at the moment, unfortunately. We would need to write a separate plugin that gets deployed on the backend somehow, as we are not able to manipulate the IDE from the Gateway plugin. See also coder/jetbrains-backend-coder#33.
Currently, all agent metadata fields are user-controlled. Coder can't know if a template has them defined and with what keys. We can either show all of them or none.
@matifali That could work, especially if the user is able to hide or show them individually based on their preferences or maybe even a setting that we could ship via our IDE management tooling. Though, that certainly balloons the feature scope!
Not at the moment, unfortunately. We would need to write a separate plugin that gets deployed on the backend somehow, as we are not able to manipulate the IDE from the Gateway plugin. See also coder/jetbrains-backend-coder#33.
@code-asher Bummer. Stepping back a bit, the problem we're trying to solve is a user exhausting a resource without realizing it. Of the resources that we care about, disk space exhaustion is probably the most disruptive since it can lead to unpredictable failures. Perhaps a balloon notification that disk space is getting low and another when it's exhausted may solve the problem? These should be doable without a separate plugin.
Activity
matifali commentedon Jan 20, 2024
@gtaylor Currently, all agent metadata fields are user-controlled. Coder can't know if a template has them defined and with what keys. We can either show all of them or none.
We may show all of them as an expandable entry where the first metadata item always shows, and others expand if a user clicks on it and optionally blinks or changes color in case of hitting limits.
@code-asher, do we have a way to display agent metadata in JetBrains IDEs?
code-asher commentedon Jan 22, 2024
Not at the moment, unfortunately. We would need to write a separate plugin that gets deployed on the backend somehow, as we are not able to manipulate the IDE from the Gateway plugin. See also coder/jetbrains-backend-coder#33.
gtaylor commentedon Jan 26, 2024
@matifali That could work, especially if the user is able to hide or show them individually based on their preferences or maybe even a setting that we could ship via our IDE management tooling. Though, that certainly balloons the feature scope!
@code-asher Bummer. Stepping back a bit, the problem we're trying to solve is a user exhausting a resource without realizing it. Of the resources that we care about, disk space exhaustion is probably the most disruptive since it can lead to unpredictable failures. Perhaps a balloon notification that disk space is getting low and another when it's exhausted may solve the problem? These should be doable without a separate plugin.
code-asher commentedon Jan 27, 2024
That sounds like a good workaround to me! I opened coder/jetbrains-coder#352
matifali commentedon Jan 27, 2024
I created coder/vscode-coder#191 to track this request for vscode.