Grafana Ext
@shrug/grafana-extv2026.07.11.1
01README
Grafana swamp-native gaps: a control-plane admin model (idempotent ensureServiceAccount over basic-auth) plus a queryLogs extension that adds LogQL/Loki reads to @keeb/grafana/instance alongside its queryMetrics.
02Models
@shrug/grafana-admin/instancev2026.07.11.1grafana_admin.ts
fn ensureServiceAccount(orgId: number, name: string)
Idempotently ensure a service account with the given role exists in an org, optionally minting a token. Dry-run unless confirm:true; the minted secret is printed once and never persisted.
| Argument | Type | Description |
|---|---|---|
| orgId | number | Target Grafana org id (e.g. 1 = Main Org.) |
| name | string | Service account name (match key for idempotency) |
Resources
serviceAccount(infinite)— State + plan for an ensured service account (never stores the token secret)
03Stats
A
100 / 100
Downloads
1
Archive size
14.4 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
04Platforms
05Labels