observability-stack
БесплатноБез исполняемых скриптовНе проверенSpin up StreamKit's local observability stack (skit + Prometheus + Grafana, optional speech gateway) and validate the Grafana dashboards end-to-end. Use when…
от streamer45★ 24 звезды на GitHubОб этом скилле
Observability stack (local)
samples/observability/ is a docker compose stack that runs skit + Prometheus
- Grafana (and an optional speech gateway), auto-provisioning both bundled dashboards. Use it to validate metrics and dashboards without any cloud setup.
Run it
cd samples/observability
docker compose up -d
./generate-traffic.sh # direct-to-skit TTS+STT
# optional gateway row (overlay adds the service + its Prometheus scrape):
docker compose -f docker-compose.yml -f docker-compose.gateway.yml up -d --build
./generate-traffic.sh --gateway
Grafana: http://localhost:3000 (anonymous admin). Prometheus: http://localhost:9090. skit: http://localhost:4545.
How metrics flow
- skit → Prometheus via OTLP push. Prometheus runs with
--web.enable-otlp-receiver; skit'sSK_TELEMETRY__OTLP_ENDPOINTpoints at…/api/v1/otlp/v1/metrics. There is no scrape job for skit. - gateway → Prometheus via scrape of the gateway's
/metrics.
Validate dashboards (don't just eyeball)
OTLP renames dotted metrics and appends unit suffixes, so verify the metric names/labels the panels query actually exist before trusting a panel:
# list all metric names Prometheus knows about
curl -s localhost:9090/api/v1/label/__name__/values | jq -r '.data[]' | sort
# run a panel's exact PromQL and count series (0 == panel will be "No data")
curl -s --data-urlencode 'query=<promql>' localhost:9090/api/v1/query \
| jq '.data.result | length'
# inspect a metric's labels
curl -s 'localhost:9090/api/v1/series?match[]=<metric>' | jq
Key name/label facts:
- Plugin metrics:
plugin_call_duration_seconds_*(unit suffix present),plugin_calls_total; labelsplugin_kind,op. oneshot_pipeline_duration_*has no_secondssuffix (no unit set); labelsstatus, andserviceonly when the pipeline declaresattributes: { service: ... }and a service-label-aware skit has the matching[server.metrics.attributes.service]policy enabled.- Gateway:
gateway_requests_total{endpoint,code},gateway_request_duration_seconds,gateway_rejected_total{reason}(only appears after a 413/415/502 actually occurs).
Expected "No data" (not bugs)
- Plugin failure panels (
plugin_errors_totaletc.) — counters don't exist until a failure happens. - Oneshot "by Service" panels — empty unless the skit build emits the
servicelabel (pipelineattributes+ enabled[server.metrics.attributes.service]policy; the pinnedv0.5.0-demopredates this). - Video / MoQ / codec panels — only populate when you run those pipelines.
Gotchas
The canonical list of setup gotchas (stale latest-demo, demo-image plugin
layout, model-name matching, by Service panels, local-auth override,
${DS_PROMETHEUS} datasource) lives in
samples/observability/README.md
— keep it there to avoid drift. One detail specific to editing the stack: in
compose command: strings, escape the datasource input as $${DS_PROMETHEUS}
so compose doesn't interpolate it before dashboard-prep runs.
Установить observability-stack в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл observability-stack?
Spin up StreamKit's local observability stack (skit + Prometheus + Grafana, optional speech gateway) and validate the Grafana dashboards end-to-end. Use when testing metrics/dashboards, debugging empty dashboard panels, or reproducing the speech-gateway monitoring setup locally.
Как установить скилл observability-stack?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл observability-stack запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic