jozef
jozef
CCoder.com
Created by jozef on 9/26/2024 in #help
Active workspace metrics via prometheus
We are unfortunately not using k8s for our current coder deployment, and I already looked at the observability repo here: https://github.com/coder/observability/tree/main?tab=readme-ov-file and found that many of the dashboards there are strongly tied to k8s metrics on top of the prometheus metrics from coder. I would like to display on a dashboard the current active workspaces, however, this does not seem possible with the current prometheus metrics, maybe I'm wrong.. Has anyone figured out a way to reliably display the current "running" workspace count, purely with the coder prometheus metrics?
10 replies
CCoder.com
Created by jozef on 8/22/2024 in #help
VS Code Desktop - fails to activate extension
Hi everybody, a colleague and I are setting up coder in GCP. We have a control plane VM and a docker VM that runs the containerized workspaces. All is so far working very well, except for the VS Code Desktop button. When I click this, I get the relevant popup and upon clicking this vscode attempts to connect, but I get an error regarding hostname resolution. I am able to connect to my workspace using the ssh connection from vscode. Any pointers would be greatly appreciated In the VS code devtools I see the following errors after trying to connect:
CSRF token not found
CSRF token not found
and
Activating extension 'coder.coder-remote' failed: Extension 'coder.coder-remote' CANNOT use API proposal: resolvers.
Its package.json#enabledApiProposals-property declares: [] but NOT resolvers.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api coder.coder-remote.
Activating extension 'coder.coder-remote' failed: Extension 'coder.coder-remote' CANNOT use API proposal: resolvers.
Its package.json#enabledApiProposals-property declares: [] but NOT resolvers.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api coder.coder-remote.
18 replies