docs(docs/admin): apply the Administration content review copy fixes (#32638)
Applies the page-level copy notes from the [DOCS-738](https://linear.app/codercom/issue/DOCS-738) Administration content review that still hold after the Install spine move (#29304), and fixes the control plane terminology drift left in hand-written Administration pages since #28960. This is the copy-only first slice of [DOCS-1192](https://linear.app/codercom/issue/DOCS-1192). No page moves, so no redirects. The sidebar restructure comes in a separate PR once the IA decisions are settled. <details> <summary>Status of each DOCS-738 note</summary> | Page | Note | Status | |---|---|---| | `admin` | Server, control plane, and `coderd` overlap | Settled by the "Naming Coder's components" rule in #28960. This PR fixes the drift that has crept in since. | | `admin` | "configuration guide" link text | Applied. The link text now matches the page title, "Configure control plane access", which replaced "Setup" after the review. | | `admin` | Landing page by role, terminology list | Deferred to the restructure PR, because the role routes depend on the new sections. | | `admin/setup` | Configuration reference linked only from the Tip | Applied. It's linked from the intro now, and the Tip is gone. | | `admin/setup` | Empty Up Next | Already filled. Renamed it to "Next steps" and fixed "Setup" used as a verb. | | `admin/setup/telemetry` | TL;DR note | Applied. "Turn telemetry on or off" now leads the page. | | `admin/setup/telemetry` | "Why we collect" | Applied: "Why we collect telemetry" and "What telemetry we collect". The old anchors still resolve. | | `admin/setup/telemetry` | Heading case | No change. The headings are already sentence case, which is the current style guide rule. | | `admin/infrastructure` | Section blurb | Gone. #29304 moved the section to Install > Plan. | | `admin/infrastructure/architecture` | `coderd` versus control plane | Settled by #28960 and the glossary. | | `admin/templates/extending-templates` | Too many subtopics | Tracked in [DOCS-874](https://linear.app/codercom/issue/DOCS-874). | | `admin/templates/open-in-coder` | Spacing after the intro | No change. The page is now `templates/open-in-coder.md`, and a caption paragraph has since been added between the video and the first heading. I haven't checked the rendered page. | | `admin/integrations` | "container compute" | Applied. | | `admin/networking` | "Tailscale's open source" | Applied. The sentence now names Coder's Tailscale fork and what it provides. | | `admin/networking/stun` | "The below glosses over" | Applied as "The following description simplifies NAT traversal." I didn't use "oversimplifies" because that would say the description is wrong. | | `admin/monitoring` | Helm chart quick start leads the page | Applied. The page opens with Coder's monitoring capabilities and a `<children>` list (the hand-written list was missing two child pages), followed by the Helm chart as its own section. | </details> <details> <summary>Terminology fixes</summary> - `monitoring/health-check.md`: "Coder server logs" becomes "`coderd` logs" (EPS01, EPS02), and "the server running Coder" becomes "the control plane host". - `monitoring/logs.md`, `integrations/oauth2-provider/troubleshooting.md`, `users/password-auth.md`: "the server" becomes `coderd` or "the control plane". - `networking/workspace-proxies.md`: "primary coderd" becomes "the control plane". - `networking/reverse-proxy-caddy.md`: a firewall comment. - `users/organizations-best-practices.md`: backticks around the `coderd` Terraform provider name. Left alone: peer-sense "server" in NAT prose, the NATS, webhook, and hook servers, and the generated `configuration-reference.md`, which still says "Coder server" and needs a `configdocgen` change. </details> Checks: `make lint/emdash`, `make lint/docs-html`, and `make lint/docs-redirects` pass. markdownlint reports 0 errors on the changed files. Vale reports nothing new compared with `main` on the changed files. The doc-check self-check ran in author mode. It tightened two claims and left no blocking findings. Refs DOCS-1192 > [!NOTE] > This PR was generated by Coder Agents on behalf of @nickvigilante.
This commit is contained in:
1 parent
0aa72056c1
commit
262301db05
14 files changed
+47
-47
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ title: Administration
|
||||
|
||||
These guides contain information on managing the Coder control plane and [authoring templates](../templates/index.md).
|
||||
|
||||
First time viewers looking to set up control plane access can start with the [configuration guide](./setup/index.md).
|
||||
First-time administrators can start with [Configure control plane access](./setup/index.md).
|
||||
If you're a team lead looking to design environments for your developers, refer to our [templates guides](../templates/index.md).
|
||||
If you are a developer using Coder, we recommend the [user guides](../workspaces/index.md).
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ title: Integrations
|
||||
---
|
||||
|
||||
Coder is highly extensible and is not limited to the platforms outlined in these docs.
|
||||
The control plane can be provisioned on any VM or container compute, and workspaces can include any Terraform resource.
|
||||
See our [architecture diagram](../../install/plan/architecture.md) for more details.
|
||||
You can run the control plane on any VM, container, or compute resource, and workspaces can include any Terraform resource.
|
||||
For how the components fit together, refer to the [architecture diagram](../../install/plan/architecture.md).
|
||||
|
||||
You can host your deployment on almost any infrastructure.
|
||||
To learn how, read our [installation guides](../../install/index.md).
|
||||
|
||||
@@ -10,7 +10,7 @@ This page collects the error conditions the OAuth2 provider returns, matched by
|
||||
## OAuth2 endpoints return 404
|
||||
|
||||
The provider is off.
|
||||
Set `CODER_OAUTH2_PROVIDER_ENABLE=true` and restart the server.
|
||||
Set `CODER_OAUTH2_PROVIDER_ENABLE=true` and restart the control plane.
|
||||
Refer to [Enable OAuth2 Provider](./index.md#enable-oauth2-provider).
|
||||
|
||||
## "Invalid redirect_uri"
|
||||
|
||||
@@ -224,7 +224,7 @@ Coder was unable to establish a WebSocket connection over its own Access URL.
|
||||
**Solution:**
|
||||
There are multiple possible causes of this problem:
|
||||
|
||||
1. Make sure Coder's configured Access URL can be reached from the server running Coder, using standard troubleshooting tools like `curl`:
|
||||
1. From the control plane host, confirm that Coder's Access URL is reachable, for example with `curl`:
|
||||
|
||||
```sh
|
||||
curl -v "https://coder.company.com"
|
||||
@@ -345,7 +345,7 @@ While the replica is disconnected, it misses events, so features that depend on
|
||||
**Solution:**
|
||||
Coder tries to reconnect automatically, so this might be a transient issue.
|
||||
If it persists with the `postgres` backend, investigate the health of the database and the network path between Coder and the database.
|
||||
If it persists with the `nats` backend, inspect the Coder server logs for NATS errors and restart the affected replica.
|
||||
If it persists with the `nats` backend, inspect the `coderd` logs for NATS errors and restart the affected replica.
|
||||
|
||||
### EPS02
|
||||
|
||||
@@ -356,7 +356,7 @@ The embedded NATS server in the Coder replica isn't running.
|
||||
The replica can't send or receive pubsub events until the server runs again.
|
||||
|
||||
**Solution:**
|
||||
Inspect the Coder server logs for NATS errors, then restart the affected replica.
|
||||
Inspect the `coderd` logs for NATS errors, then restart the affected replica.
|
||||
|
||||
### EUNKNOWN
|
||||
|
||||
|
||||
@@ -2,19 +2,20 @@
|
||||
title: Monitor Coder
|
||||
---
|
||||
|
||||
Learn about our the tools, techniques, and best practices to monitor your Coder deployment.
|
||||
Coder exposes logs, metrics, health checks, connection logs, and notifications so you can monitor the control plane, provisioners, and workspaces with the tools you already use.
|
||||
Start with the page that matches what you need to watch:
|
||||
|
||||
## Quick Start: Observability Helm Chart
|
||||
- [Logs](./logs.md): how Coder services write logs to standard error and how to collect them.
|
||||
- [Deployment metrics](./metrics.md): the Prometheus metrics Coder exposes and how to use them to monitor health.
|
||||
- [Deployment health](./health-check.md): the health page for your control plane and its dependencies.
|
||||
- [Connection logs](./connection-logs.md): SSH, app, and agent connections to your workspaces (Premium).
|
||||
- [Trace workspace connections](./trace-connections.md): correlate client, `coderd`, and agent logs by session ID.
|
||||
- [Notifications](./notifications/index.md): how Coder sends notifications for deployment events over email and webhooks, including Slack and Microsoft Teams.
|
||||
|
||||
Deploy Prometheus, Grafana, Alert Manager, and pre-built dashboards on your Kubernetes cluster to monitor the Coder control plane, provisioners, and workspaces.
|
||||
## Observability Helm chart
|
||||
|
||||
If you run Coder on Kubernetes, the Observability Helm chart deploys Prometheus, Grafana, Alertmanager, and pre-built dashboards that monitor the control plane, provisioners, and workspaces.
|
||||
|
||||

|
||||
|
||||
Learn how to install & read the docs on the [Observability Helm Chart GitHub](https://github.com/coder/observability)
|
||||
|
||||
## Table of Contents
|
||||
|
||||
- [Logs](./logs.md): Learn how to access `coderd` logs, agent logs, and even how to expose Kubernetes pod scheduling logs.
|
||||
- [Metrics](./metrics.md): Learn about the valuable metrics to measure on a Coder deployment, regardless of your monitoring stack.
|
||||
- [Health Check](./health-check.md): Learn about the periodic health check and error codes that run on Coder deployments.
|
||||
- [Connection Logs](./connection-logs.md): Monitor connections to workspaces.
|
||||
To install the chart and run its dashboards, visit the [Observability Helm chart repository](https://github.com/coder/observability) on GitHub.
|
||||
@@ -18,7 +18,7 @@ You can access these logs via `kubectl logs deployment/coder -n <coder-namespace
|
||||
> To disable human-readable logging, set `--log-human` (or `CODER_LOGGING_HUMAN`) to `/dev/null`.
|
||||
> If you set no JSON or Stackdriver log location, Coder then writes no logs.
|
||||
> Do not use an empty value to disable logging.
|
||||
> If every log location is empty and [`--trace`](../../reference/cli/server/index.md#--trace) (`CODER_TRACE_ENABLE`) is off, the server exits with `no loggers provided, use /dev/null to disable logging`.
|
||||
> If every log location is empty and [`--trace`](../../reference/cli/server/index.md#--trace) (`CODER_TRACE_ENABLE`) is off, `coderd` exits with `no loggers provided, use /dev/null to disable logging`.
|
||||
|
||||
Events such as server errors, audit logs, user activities, and single sign-on (SSO) & OpenID Connect logs are all captured in the `coderd` logs.
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Direct connections are as fast as connecting to the workspace outside of Coder.
|
||||
When Network Address Translation (NAT) traversal fails, connections are relayed through the control plane.
|
||||
All user-workspace connections are end-to-end encrypted.
|
||||
|
||||
[Tailscale's open source](https://tailscale.com) backs our websocket/HTTPS networking logic.
|
||||
Connections between users and workspaces run on [Coder's fork](https://github.com/coder/tailscale) of the open-source [Tailscale](https://github.com/tailscale/tailscale) networking stack, which encrypts them with WireGuard and relays them over HTTPS and WebSockets when a direct connection isn't possible.
|
||||
|
||||
## Requirements
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ To use Caddy to generate TLS certificates, you'll need a domain name that resolv
|
||||
sudo ufw allow 80
|
||||
sudo ufw allow 443
|
||||
|
||||
# Deny direct access to Coder server
|
||||
# Deny direct access to the control plane
|
||||
sudo ufw deny 3000
|
||||
|
||||
# Enable UncomplicatedFirewall
|
||||
|
||||
@@ -22,8 +22,8 @@ In order for the Coder client and agent to establish a direct connection with ea
|
||||
Once communication succeeds in one direction, we can inspect the source address of the received packet to determine the return address.
|
||||
|
||||
> [!TIP]
|
||||
> The below glosses over a lot of the complexity of traversing NATs.
|
||||
> For a more in-depth technical explanation, see [How NAT traversal works (tailscale.com)](https://tailscale.com/blog/how-nat-traversal-works).
|
||||
> The following description simplifies NAT traversal.
|
||||
> For a more in-depth technical explanation, refer to [How NAT traversal works (tailscale.com)](https://tailscale.com/blog/how-nat-traversal-works).
|
||||
|
||||
At a high level, STUN works like this:
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ Workspace proxies can be used in the browser by navigating to the user `Account
|
||||
## Step 1: Create the proxy
|
||||
|
||||
Create the workspace proxy and make sure to save the returned authentication token for said proxy.
|
||||
This is the token the workspace proxy will use to authenticate back to primary coderd.
|
||||
This is the token the workspace proxy will use to authenticate back to the control plane.
|
||||
|
||||
```sh
|
||||
$ coder wsproxy create --name=newyork --display-name="USA East" --icon="/emojis/2194.png"
|
||||
|
||||
@@ -2,12 +2,10 @@
|
||||
title: Configure control plane access
|
||||
---
|
||||
|
||||
The control plane's primary configuration is done via environment variables.
|
||||
For a full list of the options, run `coder server --help` or see our [CLI documentation](../../reference/cli/server/index.md).
|
||||
|
||||
> [!TIP]
|
||||
> Need to look up an exact environment variable, CLI flag, or YAML key for a setting?
|
||||
> See the [configuration reference](./configuration-reference.md) for a searchable list of every option.
|
||||
You configure the control plane primarily with environment variables.
|
||||
This page covers access URLs, listen addresses, TLS, the database, and outbound proxies.
|
||||
To look up any other setting by its environment variable, CLI flag, or YAML key, refer to the [configuration reference](./configuration-reference.md).
|
||||
You can also run `coder server --help` or read the [`coder server` CLI reference](../../reference/cli/server/index.md).
|
||||
|
||||
## Access URL
|
||||
|
||||
@@ -153,7 +151,7 @@ External authentication can also be used to integrate with external services lik
|
||||
|
||||
Refer to the [external authentication](../external-auth.md) section for more information.
|
||||
|
||||
## Up Next
|
||||
## Next steps
|
||||
|
||||
- [Setup and manage templates](../../templates/index.md)
|
||||
- [Setup external provisioners](../../install/operate/provisioners/index.md)
|
||||
- [Set up and manage templates](../../templates/index.md)
|
||||
- [Set up external provisioners](../../install/operate/provisioners/index.md)
|
||||
@@ -2,13 +2,18 @@
|
||||
title: Telemetry
|
||||
---
|
||||
|
||||
> [!NOTE]
|
||||
> TL;DR: disable telemetry by setting <code>CODER_TELEMETRY_ENABLE=false</code>.
|
||||
|
||||
Coder collects telemetry from all installations by default.
|
||||
We believe our users should have the right to know what we collect, why we collect it, and how we use the data.
|
||||
|
||||
## What we collect
|
||||
<a id="toggling"></a>
|
||||
|
||||
## Turn telemetry on or off
|
||||
|
||||
You can turn telemetry on or off using either the `CODER_TELEMETRY_ENABLE=[true|false]` environment variable or the `--telemetry=[true|false]` command-line flag.
|
||||
|
||||
<a id="what-we-collect"></a>
|
||||
|
||||
## What telemetry we collect
|
||||
|
||||
You can find a full list of the data we collect in our source code [here](../../../coderd/telemetry/telemetry.go).
|
||||
In particular, look at the struct types such as `Template` or `Workspace`.
|
||||
@@ -37,7 +42,9 @@ Workspace agent statistics include session counts keyed by normalized applicatio
|
||||
|
||||
For start builds of workspaces that Agent Relay creates, we read the `agent_relay_*` parameters that Agent Relay sets. We report the agent provider, the attempt number, and the client platform, lowercased and cut to 15 characters. We also report SHA-256 hashes of the session ID and pool name. The hashes let us count sessions and pools, but they do not hide common pool names such as `default`. We do not collect other parameter values.
|
||||
|
||||
## Why we collect
|
||||
<a id="why-we-collect"></a>
|
||||
|
||||
## Why we collect telemetry
|
||||
|
||||
Telemetry helps us understand which features are most valuable, what use cases to focus on, and which bugs to fix first.
|
||||
|
||||
@@ -49,9 +56,3 @@ We want to wield some of that product development power to build self-hosted, op
|
||||
## Security
|
||||
|
||||
In the event we discover a critical security issue with Coder, we will use telemetry to identify affected installations and notify their administrators.
|
||||
|
||||
<a id="toggling"></a>
|
||||
|
||||
## Turn telemetry on or off
|
||||
|
||||
You can turn telemetry on or off using either the `CODER_TELEMETRY_ENABLE=[true|false]` environment variable or the `--telemetry=[true|false]` command-line flag.
|
||||
@@ -101,6 +101,6 @@ We’re interested in identifying new use cases for custom roles.
|
||||
|
||||
Using ClickOps to onboard new organizations, set quotas, and single sign-on (SSO) sync can be cumbersome, especially if you want to "seed" organizations with provisioners and starter templates.
|
||||
|
||||
We suggest using the coderd Terraform provider to manage organizations at scale.
|
||||
We suggest using the `coderd` Terraform provider to manage organizations at scale.
|
||||
Documentation and examples for the Organization and Group Sync resources is available at https://registry.terraform.io/providers/coder/coderd/latest/docs.
|
||||
Feature requests for additional functionality can be created at https://github.com/coder/terraform-provider-coderd/issues.
|
||||
@@ -14,8 +14,8 @@ Before you enable it, make sure at least one owner can sign in through your iden
|
||||
|
||||
## Restore the `Owner` user
|
||||
|
||||
If you remove the admin user account (or forget the password), you can run the [`coder server create-admin-user`](../../reference/cli/server/create-admin-user.md)command on your server.
|
||||
If password authentication is disabled, unset `CODER_DISABLE_PASSWORD_AUTH` and restart the server first, or the new admin will not be able to sign in.
|
||||
If you remove the admin user account (or forget the password), you can run the [`coder server create-admin-user`](../../reference/cli/server/create-admin-user.md) command.
|
||||
If password authentication is disabled, unset `CODER_DISABLE_PASSWORD_AUTH` and restart the control plane first, or the new admin will not be able to sign in.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> You must run this command on the same machine running the control plane.
|
||||
|
||||
Reference in new issue
Block a user