Skip to content

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

Draft
nickvigilante wants to merge 1 commit into
mainfrom
vigilante/docs-647-docs-fix-monitoring-examples-prometheus-metric-name-slack
Draft

docs: fix prometheus metric name and slack webhook backtick#28085
nickvigilante wants to merge 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

DOCS-647

@github-actions

Copy link
Copy Markdown

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant