Skip to content
Agentmart
Submit a tool

liftoff-observability

Observability via loctl (promtool, grafanactl, logs).

Skill by kirinnee

IndexedMIT★ 4
Write a review

Chalk Labs

Need help deploying liftoff-observability?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kirinnee-liftoff-observability

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Observability via loctl (promtool, grafanactl, logs). Use when querying metrics in Mimir, logs in Loki, or browsing Grafana dashboards.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/liftoff-observability

What's inside

Skill name
liftoff-observability
Description
Observability via loctl (promtool, grafanactl, logs). Use when querying metrics in Mimir, logs in Loki, or browsing Grafana dashboards.
License
MIT
Instructions
89 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Observability via loctl

## Tools: grafanactl, promtool, logs (native Loki client)

## Environment Routing

- **grafanactl**: qa → `https://grafana-dash.qa.vungle.io` (`GRAFANA_TOKEN_QA`), ops → `https://grafana-prod.vungle.io` (`GRAFANA_TOKEN_OPS`)
- **logs**: qa → `http://loki.qa.vungle.io`, ops → `http://loki-prod.ops.vungle.io:30669`
- **promtool**: qa → `http://mimir.qa.vungle.io/prometheus`, ops → `http://mimir.ops.vungle.io/prometheus`

## Loki Tenants

The authoritative tenant list is `loctl <env> list tenants`. The tables below add purpose annotations.

### QA (`loctl qa`)

| Tenant          | Description    |
| --------------- | -------------- |
| `lokiTenantQA1` | QA Loki tenant |

### Ops (`loctl ops`)

| Tenant                   | Description                                                                             |
| ------------------------ | --------------------------------------------------------------------------------------- |
| `dmx-logs`               | **Primary tenant** -- most Kubernetes pod logs and application logs across all clusters |
| `kafka`                  | Kafka broker logs (GC, controller, etc.)                                                |
| `gr-logs`                | Growth & revenue services (account, analyser, feedserver, keycloak, etc.)               |
| `sdk-logs`               | Mobile SDK logs                                                                         |
| `redis`                  | Redis (redis-prod) logs                                                                 |
| `rocksdb`                | RocksDB / KVRocks logs (ddlookup, hbp, loid, winazon, sit)                              |
| `albatross`              | Albatross service logs                                                                  |
| `consul-server-internal` | Consul server internal logs                                                             |
| `creative-dump-logs`     | Creative dump / ad manager logs                                                         |
| `data-all`               | Data platform logs                                                                      |
| `haproxy`                | HAProxy load balancer logs                                                              |
| `hyperouter`             | Hyperouter / Loki source journal                                                        |
| `tailscale-router`       | Tailscale router and vault-agent logs                                                   |
| `valkey`                 | Valkey (Redis-compatible) logs                                                          |

## Safety

- grafanactl: only `resources` is allowed at the top level, and only `resources <list|get|pull|serve|validate>`; every other grafanactl command (push, delete, edit, config, ...) is blocked client-side
- promtool: `push`, `test`, `tsdb` blocked
- A `--help` flag anywhere in the args bypasses these checks

## grafanactl

Read-oriented access to Grafana dashboards and resources. Requires service account tokens: `GRAFANA_TOKEN_QA` for qa, `GRAFANA_TOKEN_OPS` for ops.

```bash
loctl qa grafanactl resources get dashboards
loctl ops grafanactl resources get dashboards
loctl ops grafanactl resources get dashboards/<uid>
```

## promtool

Server URL auto-injected. Use `instant` queries (no time args needed). Range queries require RFC3339 timestamps.

```bash
loctl qa promtool query instant 'up{cluster="eks-qa-us-east-1b"}'
loctl ops promtool query instant 'up{cluster="eks-ops-us-east-1c"}'
```

## logs (recommended)

Fast native Loki HTTP client. **No `LOKI_ORG_ID` env var needed** — tenant is a positional argument. Replaces `logcli` for all log queries.

```bash
loctl ops logs dmx-logs labels
loctl ops logs dmx-logs labels service_name
loctl ops logs dmx-logs query '{service_name="<service>"}' --limit=10
loctl ops logs dmx-logs query '{service_name="<service>"} |= "error"' --limit=10
loctl ops logs dmx-logs query '{service_name="<service>"} |= "error"' --since=1h
loctl ops logs dmx-logs instant 'count_over_time({service_name="<service>"}[5m])'
loctl ops logs dmx-logs series '{namespace="<namespace>"}'
```

Flags: `--limit=N` (default 30), `--since=DURATION`, `--from=TIME`, `--to=TIME`, `--direction=forward|backward`, `-o default|raw|jsonl`, `-q` (quiet), `-z TZ`

### Best Practices

- Always specify `--limit` (start with 10)
- Use `|= "error"` (exact match, fast) before `|~ "err.*"` (regex, slow)
- Label filters are fast; full-text requires scanning — filter by labels first
- Use `--since` or `--from`/`--to` for time ranges
- Broad queries like `{cluster=~".+"}` are very slow — use specific label values

From kirinnee/home-manager, MIT.

More from kirinnee/home-manager

Signals

Stars
4
Forks
0
Open issues
0
Last commit (this folder)
Oct 20, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from kirinnee

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get liftoff-observability running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying liftoff-observability?

CallGet help
Cite this page

liftoff-observability skill. Agent Mart. https://agentmart.dev/skills/kirinnee-liftoff-observability (last updated 2026-10-24)