Coder Metrics Sampler
@twonines/coder-metrics-samplerv2026.07.20.1
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
03Behaviors
@twonines/coder-metrics-samplerv2026.07.20.1mod.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| metricsUrl | string |
fn scrape()
Scrape Prometheus metrics and record a typed sample
Resources
sample(infinite)— Prometheus metrics snapshot with key operational indicators
04Previous Versions
2026.05.31.3
2026.05.31.2
2026.05.31.1
05Stats
A
93 / 100
Downloads
27
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
- License1/2partial
no SPDX license declared
- Verified public repository2/2earned
06Platforms
07Labels