Logo Ring:Creating Grafana Dashboards

Ring:Creating Grafana Dashboards

Tổ chức
LerianStudio
ring:creating-grafana-dashboards

Authoring Grafana dashboards for Go services instrumented with lib-observability telemetry (tracing, metrics, log), plus a reference mode for RED/USE panel patterns and Grafonnet templates. Sweep mode inventories telemetry, runs PM deliberation on themes/SLIs/alerts, authors Grafonnet libsonnet compiled to JSON, and installs a CI drift gate. Use when scaffolding dashboards. Skip when the service is non-Go or emits no telemetry.

Tổng quan

Nhà phát hànhLerianStudio
Kho mãring
Tên kỹ năngring:creating-grafana-dashboards
Sao
215
Bản fork
28
Tệp đi kèm
11
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được LerianStudio công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ring:Creating Grafana Dashboards trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/LerianStudio/ring/tree/main/pm-team/skills/creating-grafana-dashboards
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LerianStudio/ring.git /tmp/ring
mkdir -p .claude/skills
cp -r /tmp/ring/pm-team/skills/creating-grafana-dashboards .claude/skills/lerianstudio-ring-creating-grafana-dashboards
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ring:Creating Grafana Dashboards trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ring:Creating Grafana Dashboards ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ring:Creating Grafana Dashboards với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Creating Grafana Dashboards (lib-observability, PM-team)

When to use

Sweep mode:

  • "Create / scaffold Grafana dashboards for this service"
  • "Inventory telemetry / build telemetry dictionary"
  • "Audit observability before designing dashboards"
  • "Produce dashboards as code for {service}"
  • "PM wants visibility into {domain} — what dashboards do we need?"

Reference mode:

  • "What's the right panel for HTTP request latency?"
  • "RED vs USE methodology for this metric type?"
  • "How do I compose Grafonnet panels?"
  • "Which Grafonnet template fits a counter / histogram / gauge?"

Skip when

  • Service is not a Go project (lib-observability is Go-only at this skill's scope)
  • Service emits no telemetry (pre-instrumentation; instrument the service before dashboard authoring, then use ring:implementing-tasks to verify observability checks pass)
  • Task is purely Grafana folder organization or dashboard import (no authoring)
  • Service is consumer-only sidecar with no metrics surface

Sequence

Runs before: ring:running-dev-cycle, ring:running-dev-cycle-frontend

Related

Complementary: ring:implementing-tasks, ring:codebase-explorer, ring:mapping-streaming-events, ring:using-lib-observability, ring:using-tracing Similar: ring:using-runtime, ring:using-assert

Prerequisites

  • Go service with lib-observability initialized in bootstrap (tracing.NewTelemetry, metrics.NewFactory, zap.NewLogger)
  • At least one metric, span, or structured log emission point present
  • docs/ directory writable
  • Grafonnet toolchain available in CI (jsonnet + grafonnet-lib) — installer instructions in ci-drift-check.md

Orchestrates a 3-phase, 8-gate workflow to produce Grafana dashboards grounded in real telemetry. You orchestrate. Agents explore. PM iterates. You NEVER read, write, or edit source code directly during the sweep.

Announce at start: "Using ring:creating-grafana-dashboards through 8 gates (0–7)."

Mode Selection

Request ShapeMode
"Create / scaffold dashboards" / "build telemetry dictionary"Sweep (run gates 0–7)
"Which panel for X?" / "RED vs USE?" / "Grafonnet template for Y?"Reference (load sub-files/reference.md)

SWEEP MODE

Telemetry Architecture (lib-observability)

Lerian Go services emit telemetry through github.com/LerianStudio/lib-observability:

  • Tracing via lib-observability/tracing — tracer.Start(ctx, name, opts...) returning context.Context, trace.Span
  • Metrics via lib-observability/metrics — fluent factory producing meter.Int64Counter, meter.Float64Histogram, meter.Int64UpDownCounter, meter.Int64ObservableGauge
  • Logs via lib-observability/log (interface) and lib-observability/zap (implementation) — structured fields, automatically correlated with active span via trace_id/span_id
  • OTel attribute / metric / event names via lib-observability/constants — canonical string constants; dashboards reference these for label and metric names
  • Cross-cutting — tenant_id propagation through context, error attribution via span.RecordError + span.SetStatus

Deprecated shims: lib-commons/v5/commons/{opentelemetry,zap,log,metrics} still compile but route through lib-observability. New emission sites MUST import lib-observability directly. The sweep detects both canonical and shim imports.

WebFetch canonical docs (lib-observability — develop branch; main has only LICENSE + README):

  • Tracing: https://raw.githubusercontent.com/LerianStudio/lib-observability/develop/tracing/doc.go
  • Metrics: https://raw.githubusercontent.com/LerianStudio/lib-observability/develop/metrics/doc.go
  • Log: https://raw.githubusercontent.com/LerianStudio/lib-observability/develop/log/doc.go
  • Constants: https://raw.githubusercontent.com/LerianStudio/lib-observability/develop/constants/doc.go

WebFetch changelog: https://raw.githubusercontent.com/LerianStudio/lib-observability/develop/CHANGELOG.md

Authoring Format: Grafonnet (Mandatory)

Dashboards are authored as Grafonnet (Jsonnet templating language) — compiled to JSON in CI. Raw JSON dashboards are FORBIDDEN.

Reasons:

  • Diffable in PR review (libsonnet is code-shaped, JSON is not)
  • Composable via import and inheritance
  • Templated panel patterns reusable across themes
  • Single source of truth — JSON is a build artifact, not a checked-in source

Toolchain setup: sub-files/ci-drift-check.md. Panel templates: sub-files/grafonnet-templates/.

Theme Taxonomy

Free-form per service. PM defines the theme directories under docs/dashboards/{theme}/ during Gate 5. No enforced taxonomy — Lerian services are observability islands and theme naming reflects each service's domain.

Common-but-not-mandatory examples: transactions/, auth/, ledger/, infrastructure/, business-kpis/, sla/. The skill SUGGESTS themes from dictionary contents in Gate 4; PM ACCEPTS, RENAMES, MERGES, or SPLITS in Gate 5.

Drift Gate Posture

CI drift detection is BLOCKING from day 1. Any divergence between regenerated dictionary and committed telemetry-dictionary.md fails the PR. This is a deliberate cold-start choice — the skill is greenfield, no installed base to retrofit, every new metric emits under the strict regime.

Drift gate spec: sub-files/ci-drift-check.md.

Gate Overview

GateNameAgentCadence
0Stack DetectionOrchestrator (grep + read)Once per run
1Telemetry Sweep (7 angles)ring:codebase-explorer × 7 parallelOnce per run
2Dictionary Assembly + ValidationOrchestrator (deterministic merge)Once per run
3Dictionary RenderingOrchestrator → markdown writerOnce per run
4Theme Proposal + Dashboard PlansOrchestrator (LLM opinion via reference.md)Once per run
5PM Iteration — NEVER SKIPPABLEUser (PM team)Loops until APPROVED
6Grafonnet Authoringring:backend-go per themePer approved theme
7CI Drift Gate SetupOrchestratorOnce (idempotent)

Gates execute sequentially. Gate 1 parallelizes internally across 7 angles. Gate 6 parallelizes per approved theme.

Gate 0: Stack Detection

Orchestrator executes directly. Detect in parallel:

1. Go version:                grep "^go " go.mod | head -1
2. lib-observability version: grep "lib-observability" go.mod
3. lib-commons version:       grep "lib-commons" go.mod
4. Tracing package present:   grep -rn "lib-observability/tracing\|lib-commons/v5/commons/opentelemetry" internal/ cmd/   # canonical + deprecated shim
5. Metrics package present:   grep -rn "lib-observability/metrics\|lib-commons/v5/commons/opentelemetry" internal/ cmd/   # canonical + deprecated shim
6. Meter init:                grep -rn "Meter(\|NewMeter\|meter.Int64Counter\|meter.Float64Histogram" internal/ cmd/
7. Tracer init:               grep -rn "Tracer(\|NewTracer\|tracer.Start" internal/ cmd/
8. Log emission:              grep -rn "lib-observability/log\|lib-observability/zap\|lib-commons/v5/commons/log\|lib-commons/v5/commons/zap" internal/ cmd/   # canonical + deprecated shim
9. HTTP framework:            grep -rn "gofiber/fiber\|labstack/echo\|gin-gonic" go.mod
10. gRPC server:              grep -rn "grpc.NewServer" internal/ cmd/
11. RabbitMQ command consumers: grep -rn "lib-commons/v5/commons/rabbitmq" internal/ cmd/   # command queues; event emission goes through lib-streaming
12. lib-streaming present:    grep "lib-streaming" go.mod
13. Tenant source:            grep -rn "tmcore.GetTenantIDContext\|GetTenantID" internal/
14. Existing dictionary:      test -f docs/dashboards/telemetry-dictionary.md
15. Existing dashboards:      ls docs/dashboards/ 2>/dev/null
16. Grafonnet in CI:          test -f .github/workflows/telemetry-drift.yml
17. Service identity:         cat go.mod | grep "^module"

Emit /tmp/dashboards-recon.json:

json
{
  "service_name": "...",
  "go_version": "...",
  "lib_observability_version": "...",
  "lib_commons_version": "...",
  "lib_streaming_present": false,
  "tracing_initialized": true,
  "metrics_initialized": true,
  "metric_emission_present": true,
  "trace_emission_present": true,
  "structured_log_present": true,
  "deprecated_shim_imports": ["lib-commons/v5/commons/opentelemetry"],
  "http_framework": "fiber|echo|gin|none",
  "grpc_server_present": true,
  "rabbitmq_command_consumers_present": true,
  "tenant_source": "tmcore.GetTenantIDContext",
  "existing_dictionary": true,
  "existing_themes": ["transactions", "ledger"],
  "drift_gate_installed": false
}

HARD GATE:

  • If not Go → STOP.
    • If no lib-observability tracing/metrics usage detected (canonical or deprecated shim) → STOP, surface "service is not instrumented; instrument the service before dashboard authoring, then use ring:implementing-tasks to verify observability checks pass" to user.
  • If service has < 3 metric/trace/log emissions → STOP, surface "insufficient telemetry surface for dashboards".

Gate 1: Telemetry Sweep (7 Parallel Angles)

⛔ STOP-CHECK BEFORE DISPATCH

Before emitting any Task call, count the explorers you intend to launch in this turn.

  • Count MUST equal 7.
  • If count < 7 → STOP. Do not partial-dispatch. Reconcile against the 7 angles below and try again.
  • The 7 angles are the canonical sweep. No substitutions, no omissions.

⛔ MUST NOT trickle-dispatch

All 7 explorers leave in the SAME TURN, before reading any explorer output.

Forbidden sequences:

  • Dispatch explorer 1 → read result → dispatch explorer 2
  • Dispatch a subset → wait → dispatch the rest
  • Dispatch follow-up explorers conditioned on partial output
  • Loop sequentially over the angle list

If you find yourself about to dispatch an explorer in a turn AFTER any explorer has already returned a result → STOP. You violated parallel dispatch. Report the violation and mark the gate INCOMPLETE rather than completing the trickle.

Self-verify after dispatch

After the dispatch turn, verify all 7 Task calls were emitted in that single turn. If fewer than 7 went out, the gate did NOT execute correctly. Mark INCOMPLETE and surface the dispatch failure — do NOT silently continue with a partial pool.

Parallel dispatch — atomic batch

Emit all 7 Task calls in a SINGLE TURN, as one atomic batch.

If your runtime exposes a multi_tool_use.parallel wrapper, use it to dispatch the complete pool in one wrapped invocation. This is the canonical fan-out mechanism on OpenAI-style tool envelopes and on certain Anthropic SDK consumers — naming it explicitly activates parallel emission on runtimes where trickle-dispatch is the default behavior.

If your runtime emits parallel tool_use blocks natively (Claude Code with Claude models), multi_tool_use.parallel may not be needed — but naming it is harmless and serves as an enforcement anchor.

The STOP-CHECK, anti-trickle, and self-verify guards above remain binding regardless of which mechanism your runtime uses.

Dispatch all 7 angles in one parallel batch. Wait for all before Gate 2.

Per-explorer dispatch (subagent_type: ring:codebase-explorer):

## Target: <absolute path>
## Your Angle: <angle number + name>
## Severity / Detection Patterns / Schema / Notes
<verbatim from sub-files/sweep-angles.md for this angle>

## Output
Write to: /tmp/dashboards-sweep-{N}-{angle-slug}.json
Schema: { angle_number, angle_name, primitives: [...] }
Each primitive includes file:line, name, description, labels/attributes, unit, type-specific fields.
If no findings: write file with empty primitives array.

The 7 angles cover:

  1. Counter metrics — meter.Int64Counter, Float64Counter, increments, labels, descriptions, units
  2. Histogram metrics — meter.Float64Histogram, Int64Histogram, boundaries, units, labels
  3. Gauge metrics — meter.Int64UpDownCounter, Int64ObservableGauge, callbacks
  4. Trace spans — tracer.Start, span names, kind, attributes, parent-child structure, error recording
  5. Structured log fields — log.With, level usage, contexts where emitted, trace correlation
  6. Cross-cutting concerns — tenant_id labeling, trace_id/span_id propagation, error attribution, request correlation
  7. Framework instrumentation — Fiber/gRPC/RabbitMQ middleware, auto-spans, manual override sites

Full angle specifications: sub-files/sweep-angles.md.

Verification: 7 JSON files exist, all parse, schema-valid per sub-files/dictionary-schema.md.

HARD GATE: Missing/malformed file → re-dispatch ONLY failing angle.

Gate 2: Dictionary Assembly + Validation

Orchestrator merges 7 angle JSONs into /tmp/dashboards-dictionary.json. Validate per sub-files/dictionary-schema.md:

  • Metric names match ^[a-z][a-z0-9_]*$ (Prometheus convention)
  • Span names match ^[a-z][a-z0-9_.-]*$
  • All primitives have description ≥ 30 chars
  • Histograms declare unit (seconds, bytes, count) and boundaries if custom
  • Tenant-scoped primitives have tenant_id in labels/attributes
  • No duplicate (name, type) pairs across angle outputs
  • Cross-cutting Angle 6 findings cross-reference primitives from Angles 1–4

Validation failures → re-dispatch failing angle's explorer with correction notes. Do NOT manually edit JSON.

Gate 3: Dictionary Rendering

Orchestrator writes docs/dashboards/telemetry-dictionary.md from validated JSON, following sub-files/dictionary-schema.md rendering contract:

  • YAML frontmatter _meta block: service name, generated-at timestamp, source commit SHA, lib-commons version, primitive counts
  • Metrics section: one ### {metric_name} per metric, with stable YAML block (type, unit, labels, description, emission_sites)
  • Traces section: one ### {span_name} per span, with stable YAML block (kind, attributes, parents, emission_sites)
  • Logs section: structured fields catalog with levels and emission contexts
  • Cross-cutting section: tenant propagation map, trace correlation map, error attribution map

Critical: rendering MUST be deterministic — same input JSON produces byte-identical output. Order alphabetically within each section. Sort labels alphabetically within each primitive. This is what makes drift detection in Gate 7 possible.

Gate 4: Theme Proposal + Dashboard Plans

Orchestrator analyzes the dictionary and proposes themes + dashboards. This is the LLM-opinion gate — apply sub-files/reference.md (RED/USE methodology, panel pattern catalog) to dictionary contents.

For each proposed theme, produce a dashboard plan stub at /tmp/dashboards-plan-{theme}.md:

markdown
# Theme: {theme_name}

## Audience (proposed)
- Primary: <engineering | product | exec | ops | support>
- Secondary: <...>

## Dashboards
### {dashboard_1_name}
- Methodology: RED | USE | hybrid
- SLIs surfaced: <list>
- Time range default: <1h | 6h | 24h | 7d>
- Panels:
  1. {panel_name} — {panel_pattern} on metric {metric_ref} — Grafonnet template: {template}
  2. ...
- Alert candidates: <list with thresholds>

### {dashboard_2_name}
...

Themes are SUGGESTIONS only. PM may rename, merge, split, or reject in Gate 5.

Gate 5: PM Iteration — NEVER SKIPPABLE

Present sub-files/pm-iteration-prompts.md checklist to PM team:

  • Theme names — accept, rename, merge, split?
  • Audience per theme — correct?
  • Methodology choice (RED vs USE vs hybrid) — sound for this domain?
  • SLIs surfaced — match what stakeholders actually need?
  • Time range defaults — match operational cadence?
  • Alert thresholds vs informational — which panels need alerts attached?
  • Missing dashboards — anything PM expected that wasn't proposed?

Response options:

  • APPROVED: <theme1> <theme2> ... → proceed to Gate 6 for listed themes
  • REVISE theme {name}: <change> → loops Gate 4 for that theme only
  • RENAME theme {old} -> {new} → renames in plan, loops Gate 4 light
  • REJECT theme {name} → drops from approval list
  • ADD theme {name}: <description> → orchestrator generates new plan, loops Gate 4
  • BLOCKED: <reason> → halts skill, returns with surface for triage

HARD GATE: Must not proceed to Gate 6 without explicit APPROVED: ... listing at least one theme.

Gate 6: Grafonnet Authoring (Per Approved Theme)

For EACH approved theme, dispatch ring:backend-go (Lerian's Go specialist; Grafonnet is jsonnet, but the engineer's discipline around code quality and reusability transfers — and they own the lib-commons mental model that makes label correctness checkable).

Per-theme dispatch:

## Target: docs/dashboards/{theme}/
## Inputs:
- /tmp/dashboards-plan-{theme}.md (PM-approved plan)
- docs/dashboards/telemetry-dictionary.md (canonical primitive contract)
- pm-team/skills/creating-grafana-dashboards/sub-files/grafonnet-templates/ (panel libsonnet templates)
- pm-team/skills/creating-grafana-dashboards/sub-files/reference.md (panel pattern → template mapping)

## Task:
1. Create docs/dashboards/{theme}/ directory
2. Write {theme}.libsonnet importing relevant grafonnet-templates panels
3. Materialize each panel from the plan with concrete metric refs from the dictionary
4. Compose into a Dashboard with rows/grid per plan structure
5. Write README.md per theme explaining: audience, SLIs, intended use, alert thresholds
6. Validate: jsonnet compiles cleanly, panel queries reference only primitives present in dictionary

## Output:
- docs/dashboards/{theme}/{theme}.libsonnet
- docs/dashboards/{theme}/README.md
- /tmp/dashboards-build-{theme}.log (compilation output)

## Constraints:
- MUST NOT invent metric names — every PromQL/LogQL/TraceQL query references primitives from telemetry-dictionary.md
- MUST template tenant_id as a Grafana variable when present in primitive labels
- MUST follow Grafonnet conventions (no raw JSON; if a panel pattern isn't in templates/, propose a new template)

Verification: Per theme — libsonnet compiles to JSON, README present, no metric references missing from dictionary.

HARD GATE: Compilation failure → re-dispatch with diagnostic, do not move to Gate 7.

Gate 7: CI Drift Gate Setup

Orchestrator installs (idempotent) the drift detection workflow per sub-files/ci-drift-check.md:

  1. Write .github/workflows/telemetry-drift.yml (blocking PR check)
  2. Write scripts/regenerate-telemetry-dictionary.sh (regenerates dictionary; called by CI and locally)
  3. Update Makefile: add make telemetry-dictionary target invoking the regenerate script
  4. Compile all theme libsonnet to JSON in docs/dashboards/{theme}/{theme}.json and add to .gitignore (build artifact)
  5. Surface to user: workflow path, local regen command, expected first-CI-run behavior

Idempotence: If .github/workflows/telemetry-drift.yml already exists, diff against canonical version. Update only if drift detected. Surface diff to user before overwriting.

State Persistence

Save to /tmp/dashboards-state.json:

json
{
  "skill": "creating-grafana-dashboards",
  "service_name": "<from Gate 0>",
  "current_gate": 0,
  "gates": {
    "0": "PENDING",
    "1": "PENDING",
    "2": "PENDING",
    "3": "PENDING",
    "4": "PENDING",
    "5": "PENDING_USER_APPROVAL",
    "6": "PENDING",
    "7": "PENDING"
  },
  "metrics": {
    "primitives_counters": 0,
    "primitives_histograms": 0,
    "primitives_gauges": 0,
    "primitives_spans": 0,
    "primitives_log_fields": 0,
    "themes_proposed": 0,
    "themes_approved": 0,
    "dashboards_authored": 0
  }
}

REFERENCE MODE

Full reference content in sub-files/reference.md. Load sections relevant to the question.

Quick Navigation

#SectionWhat you'll find
1RED MethodologyRate, Errors, Duration — when each metric type fits
2USE MethodologyUtilization, Saturation, Errors — for resources
3Panel Pattern CatalogMapping primitive type → panel pattern → Grafonnet template
4Theme Decision TreeHow to suggest themes from dictionary contents
5Grafonnet ConventionsNaming, composition, variable conventions, tenant templating
6Alert Threshold HeuristicsWhen to attach alerts, default thresholds, escalation tiers
7Cross-cutting PatternsTenant variable, trace exemplars, log-to-trace links
8Anti-pattern CatalogSix failure modes (vanity panels, alert noise, etc.)

Read sub-files/reference.md for full detail.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ring:Creating Grafana Dashboards làm được gì?

Authoring Grafana dashboards for Go services instrumented with lib-observability telemetry (tracing, metrics, log), plus a reference mode for RED/USE panel patterns and Grafonnet templates. Sweep mode inventories telemetry, runs PM deliberation on themes/SLIs/alerts, authors Grafonnet libsonnet compiled to JSON, and installs a CI drift gate. Use when scaffolding dashboards. Skip when the service is non-Go or emits no telemetry.

Vì sao nên dùng Ring:Creating Grafana Dashboards trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ring:Creating Grafana Dashboards là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ring:Creating Grafana Dashboards trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/LerianStudio/ring/tree/main/pm-team/skills/creating-grafana-dashboards. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ring:Creating Grafana Dashboards?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ring:Creating Grafana Dashboards với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ring:Creating Grafana Dashboards với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ring:Creating Grafana Dashboards có miễn phí không?

Có. Kỹ năng này được LerianStudio phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇