Skip to main content

Coder Metrics Sampler

@twonines/coder-metrics-samplerv2026.07.20.1· 11d agoMODELS
01README

Scrapes Prometheus metrics from Coder's metrics endpoint. Extracts key operational indicators (API latency, workspace counts, agent connections) and writes typed snapshots for trend analysis.

02Release Notes

Fix bare import specifiers and align model version for quality scoring

03Models1
@twonines/coder-metrics-samplerv2026.07.20.1mod.ts

Global Arguments

ArgumentTypeDescription
metricsUrlstring
fn scrape()
Scrape Prometheus metrics and record a typed sample

Resources

sample(infinite)— Prometheus metrics snapshot with key operational indicators
04Previous Versions3
2026.05.31.3
2026.05.31.2
2026.05.31.1
05Stats
A
100 / 100
Downloads
0
Archive size
4.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels