Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cx-dashboards

БесплатноБез исполняемых скриптовНе проверен

Build and deploy a Coralogix dashboard for a given service from its logs, spans, metrics, and service specs. Discovers telemetry via cx CLI commands, emits…

coralogixот coralogix★ 243 звезды на GitHub

Об этом скилле

Create Coralogix Dashboard

Produces a Coralogix dashboard for a target service and deploys it via the cx CLI. Workflow: discover the service's telemetry, align on intent with the user, draft a plan, emit the JSON, live-verify every query through cx, then create the dashboard in a chosen folder.

Only use metric names, log fields, and span attributes you can cite from the service's code, README, configuration, or a live query that returned a result. Do not invent them.


Reference files

Load these files for domain-specific guidance:

Task Reference
DataPrime query syntax references/dataprime-reference.md
PromQL query syntax, counters vs gauges, histograms references/promql-guidelines.md
Log field discovery, query patterns, wildfind policy references/logs-querying.md
Span field discovery, latency analysis, trace queries references/spans-querying.md
Dashboard-specific query gotchas (${__range}, promqlQueryType) references/query-syntax.md
Widget JSON templates references/widget-templates.md
Requested per-series colors Color overrides

For choosing the right signal (metrics / logs / traces), use cx-telemetry-querying.


Dashboard Management

Beyond creating dashboards, use these commands to manage existing ones:

Command Purpose
cx dashboards catalog -o json List all dashboards in the catalog
cx dashboards get <id> -o json Get a dashboard definition (useful as a template)
cx dashboards folders list -o json List dashboard folders
cx dashboards folders create --name "Name" Create a dashboard folder
cx dashboards folders create --name "Sub" --parent-id <id> Create a nested folder
cx dashboards replace --from-file dashboard.json Replace an existing dashboard with updated JSON
cx dashboards check --from-file dashboard.json Validate a dashboard definition without persisting (server-side strict check; exits non-zero on errors)
cx dashboards check <dashboard-id> Validate a stored dashboard by id

To update an existing dashboard:

cx dashboards get <dashboard-id> -o json > dashboard.json
cp dashboard.json dashboard.orig.json
# Edit dashboard.json (change name, modify widgets, etc.)
cx dashboards check --from-file dashboard.json
diff <(jq -S . dashboard.orig.json) <(jq -S . dashboard.json)
cx dashboards replace --from-file dashboard.json

replace overwrites the whole dashboard with no conflict check, so run get right before replace and change only what the user asked for in the fetched JSON. Edits made since an older copy was fetched are silently lost. If check reports an issue in a part the diff does not show as changed, the fetched JSON is damaged: stop and tell the user rather than deleting that part to pass the check. Full steps: references/deploy.md section 5.

Preserve existing colorOverrides during unrelated edits. When the user requests a color change, edit only the requested entries at the requested scope and re-fetch the dashboard after replacing it to confirm those entries.

To duplicate a dashboard as a new copy:

cx dashboards get <dashboard-id> -o json > dashboard.json
# Remove the "id" field, then create as new:
cx dashboards create --from-file dashboard.json

Workflow

Track progress through this checklist:

Dashboard Progress:
- [ ] Phase 1: Discover telemetry & business meaning
- [ ] Phase 2: Gather dashboard specifications from user
- [ ] Phase 3: Draft internal dashboard plan (sections/rows/widgets)
- [ ] Phase 4: Generate the Coralogix JSON
- [ ] Phase 5: Live-verify every query through the cx CLI
- [ ] Phase 6: Self-verify structure against the checklist
- [ ] Phase 7: Server-side validation via `cx dashboards check`
- [ ] Phase 8: Deploy via `cx dashboards create`
- [ ] Phase 9: Share the dashboard link with the user

Proceed in order. Don't jump to Phase 4 before the user approves the Phase 3 plan, and don't run Phase 8 before Phases 5–7 all pass. Phase 9 is mandatory — the workflow is not done until the user has a clickable link.


Phase 1: Discover telemetry & business meaning

For the target service, gather:

  1. Business purpose - read README.md and the top-level entrypoint (main.*, index.*, cmd/main.go, etc.). Summarize in 2–3 sentences what it does, its key stages, and what can go wrong.
  2. Metrics - for each candidate keyword (service name, subsystem, verbs like request, error, latency, dlq) run cx metrics search --name '*<keyword>*'. When a metric looks promising, list its labels with cx metrics get-labels <metric>. Only use names `cx metrics sea
Полный SKILL.md на GitHub

Установить cx-dashboards в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/dataprime-reference.mdreferences/deploy.mdreferences/logs-querying.mdreferences/promql-guidelines.mdreferences/query-syntax.mdreferences/spans-querying.mdreferences/verification.mdreferences/widget-templates.md

FAQ

Что делает скилл cx-dashboards?

Build and deploy a Coralogix dashboard for a given service from its logs, spans, metrics, and service specs. Discovers telemetry via cx CLI commands, emits importable Coralogix JSON, verifies every PromQL and DataPrime query live through the `cx` CLI, and creates or updates dashboards via `cx dashboards create` and `cx dashboards replace`. Use whenever the user asks to create, build, generate, deploy, update, replace, or modify a Coralogix dashboard, monitoring dashboard, or observability dashboard for a service, app, or pipeline, including requests to set, change, or remove per-series colors.

Как установить скилл cx-dashboards?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cx-dashboards запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cx-dashboards с