fix(docs): fix prometheus metric name and slack webhook backtick (backport to release/2.34) by nickvigilante · Pull Request #28174 · coder/coder · GitHub
Skip to content

fix(docs): fix prometheus metric name and slack webhook backtick (backport to release/2.34) - #28174

Merged
nickvigilante merged 1 commit into
release/2.34from
backport/28085-to-2.34
Aug 14, 2026
Merged

fix(docs): fix prometheus metric name and slack webhook backtick (backport to release/2.34)#28174
nickvigilante merged 1 commit into
release/2.34from
backport/28085-to-2.34

Conversation

@nickvigilante

Copy link
Copy Markdown
Contributor

Backport of #28085 to release/2.34 (ESR).

Cherry-picked 3145cc8386f9 from main via git cherry-pick -x. prometheus.md applied cleanly.

Conflict resolved manually: docs/admin/monitoring/notifications/slack.md. On release/2.34 the fence is ```bash where main uses ```sh; that fence difference is an unrelated cross-branch divergence. This backport keeps 2.34's existing bash fence and applies only #28085's intended change: removing the stray trailing backtick from the CODER_NOTIFICATIONS_WEBHOOK_ENDPOINT export.

The backport label on the original merged PR did not produce a 2.34 backport, so this is created by hand. 2.34 is listed in scripts/release_channels/esr_versions.txt, so it is a valid backport target.

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

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

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`.

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](https://linear.app/codercom/issue/DOCS-647/docs-fix-monitoring-examples-prometheus-metric-name-slack-webhook)

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

(cherry picked from commit 3145cc8)
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

@nickvigilante nickvigilante changed the title docs: fix prometheus metric name and slack webhook backtick (backport to release/2.34) fix(docs): fix prometheus metric name and slack webhook backtick (backport to release/2.34) Aug 14, 2026
@nickvigilante
nickvigilante marked this pull request as ready for review August 14, 2026 17:28
@nickvigilante
nickvigilante enabled auto-merge (squash) August 14, 2026 17:28
@nickvigilante
nickvigilante merged commit 23ed566 into release/2.34 Aug 14, 2026
59 checks passed
@nickvigilante
nickvigilante deleted the backport/28085-to-2.34 branch August 14, 2026 17:34
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants