jozef
CCoder.com
•Created by jozef on 1/14/2025 in #help
Parameter validation
We are trying to use parameter validation with a "coder_param" that has no default value. We use the cli tool to push the template in our gitlab ci. Unfortunately this seems to be impossible as the cli runs terraform plan which fails due to an empty parameter.
Has anybody found a solution to this? Am I missing something obvious?
18 replies
CCoder.com
•Created by jozef on 11/20/2024 in #help
git clone using https does not work in an rstudio environment
I am creating an rstudio docker container, I can get git clone via ssh to work by copying over the relevant env vars to a .Renviron file in the use home dir. If I start the same workspace with code-server I can immediately clone a repo from the gitlab server that I have set up with external auth. I cannot however do the same if I start this workspace in the context of R studio.
I instead am asked to add the username and password.
Any help would be greatly appreciated
4 replies
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:
and
18 replies