{{ message }}
fix(docs): fix prometheus metric name and slack webhook backtick (backport to release/2.34) - #28174
Merged
Merged
Conversation
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)
Contributor
Contributor
nickvigilante
marked this pull request as ready for review
August 14, 2026 17:28
nickvigilante
enabled auto-merge (squash)
August 14, 2026 17:28
BobbyHo
approved these changes
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Backport of #28085 to
release/2.34(ESR).Cherry-picked
3145cc8386f9frommainviagit cherry-pick -x.prometheus.mdapplied cleanly.Conflict resolved manually:
docs/admin/monitoring/notifications/slack.md. Onrelease/2.34the fence is```bashwheremainuses```sh; that fence difference is an unrelated cross-branch divergence. This backport keeps 2.34's existingbashfence and applies only #28085's intended change: removing the stray trailing backtick from theCODER_NOTIFICATIONS_WEBHOOK_ENDPOINTexport.The
backportlabel on the original merged PR did not produce a 2.34 backport, so this is created by hand. 2.34 is listed inscripts/release_channels/esr_versions.txt, so it is a valid backport target.