docs: fix prometheus metric name and slack webhook backtick by nickvigilante · Pull Request #28085 · coder/coder · GitHub
Skip to content

docs: fix prometheus metric name and slack webhook backtick - #28085

Merged
nickvigilante merged 1 commit into
mainfrom
vigilante/docs-647-docs-fix-monitoring-examples-prometheus-metric-name-slack
Aug 14, 2026
Merged

docs: fix prometheus metric name and slack webhook backtick#28085
nickvigilante merged 1 commit into
mainfrom
vigilante/docs-647-docs-fix-monitoring-examples-prometheus-metric-name-slack

Conversation

@nickvigilante

Copy link
Copy Markdown
Contributor

What

Two small monitoring-doc fixes surfaced by the runtime drift sweep.

docs/admin/integrations/prometheus.md

The native-histograms list showed coderd_template_coderd_template_workspace_build_duration_seconds (doubled coderd_template_ prefix). The correct metric name, per the metrics table earlier on the same page and the generated metrics, is coderd_template_workspace_build_duration_seconds.

docs/admin/monitoring/notifications/slack.md

The CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT export ended with a stray backtick:

export CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT=http://localhost:6000/v1/webhook`

On paste, bash treats the trailing backtick as an unterminated command substitution and errors. Removed it.

Both reproduced during the runtime drift sweep and verified against main.

Linear: DOCS-647

This PR was created with AI assistance (Coder Agents).

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).
@linear-code

linear-code Bot commented Aug 12, 2026

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

@nickvigilante
nickvigilante marked this pull request as ready for review August 14, 2026 16:20

@BobbyHo BobbyHo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nickvigilante
nickvigilante merged commit 3145cc8 into main Aug 14, 2026
56 of 57 checks passed
@nickvigilante
nickvigilante deleted the vigilante/docs-647-docs-fix-monitoring-examples-prometheus-metric-name-slack branch August 14, 2026 16:42
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants