From 018d6a6592de2da58ba13d563055162a3c49996d Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Wed, 12 Aug 2026 21:32:50 +0000 Subject: [PATCH] docs: fix prometheus metric name and slack webhook backtick prometheus.md listed coderd_template_coderd_template_workspace_build_duration_seconds with a doubled coderd_template_ prefix; the correct name (per the metrics table at line 316 and the generated metrics) is coderd_template_workspace_build_duration_seconds. slack.md had a trailing backtick on the CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT export that bash treats as an unterminated command substitution on paste. Fixes DOCS-647. > This PR was created with AI assistance (Coder Agents). --- docs/admin/integrations/prometheus.md | 2 +- docs/admin/monitoring/notifications/slack.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/integrations/prometheus.md b/docs/admin/integrations/prometheus.md index 2d418b34a0b..0d580d68eb6 100644 --- a/docs/admin/integrations/prometheus.md +++ b/docs/admin/integrations/prometheus.md @@ -364,7 +364,7 @@ The following metrics support native histograms: * `coderd_workspace_creation_duration_seconds` * `coderd_prebuilt_workspace_claim_duration_seconds` -* `coderd_template_coderd_template_workspace_build_duration_seconds` +* `coderd_template_workspace_build_duration_seconds` Native histograms are an **experimental** Prometheus feature that removes the need to predefine bucket boundaries and allows higher-resolution buckets that adapt to deployment characteristics. Whether a metric is exposed as classic or native depends entirely on the Prometheus server configuration (see [Prometheus docs](https://prometheus.io/docs/specs/native_histograms/) for details): diff --git a/docs/admin/monitoring/notifications/slack.md b/docs/admin/monitoring/notifications/slack.md index 7509c1fbad2..4d6330b66f8 100644 --- a/docs/admin/monitoring/notifications/slack.md +++ b/docs/admin/monitoring/notifications/slack.md @@ -196,7 +196,7 @@ To enable webhook integration in Coder, define the POST webhook endpoint matching the deployed Slack bot: ```sh -export CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT=http://localhost:6000/v1/webhook` +export CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT=http://localhost:6000/v1/webhook ``` Finally, go to the **Notification Settings** in Coder and switch the notifier to