Command Palette

Search for a command to run...

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

copilot-otel-metrics

БесплатноЗапускает вложенные скриптыНе проверен

Set up GitHub Copilot OpenTelemetry capture: configure the VS Code export settings, generate a local Grafana stack and dashboard, or generate the Azure…

microsoftот microsoft★ 1 654 звезды на GitHub

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

Copilot OpenTelemetry Metrics

Goal

Take the user from "I want Copilot telemetry" to telemetry they can query. Do the work for them where doing it is safe and reversible, and walk them through it where it is not.

Done means export is enabled in the settings file that actually resolves, a backend is receiving data, a dashboard exists for that backend, and the user has confirmed data landed by querying the store rather than by trusting an HTTP 200.

Modes

Modes are independent. A user may run one, several, or all. Local capture and organization capture are separate journeys, not stages of the same one.

Mode Use when the user wants to Consent gate Reference
local-setup Turn on Copilot's OTel export on this machine Show the exact settings diff and write only after approval references/local-setup.md
local-stack Get a backend on this machine to receive it Write the files, then hand over the command; never run it references/local-stack.md
org-distribution Push OTel settings to a fleet of developers Nothing is applied; draft the configuration and explain it references/org-distribution.md
azure-capture Collect a fleet's telemetry into Azure and chart it Write the templates, then hand over the deploy commands references/azure-capture.md

references/verification.md is shared by every mode. Read it before telling anyone their telemetry works.

When the request names a goal rather than a mode, pick the mode that reaches the goal and say which one was picked. "Set up Copilot metrics" with no other context means local-setup followed by local-stack. Confirm before assuming the organization path, because it spends money and places a shared write credential on every workstation.

Flow

  1. Pick the mode and state the pick. Ask only when local and organization scope are genuinely ambiguous.
  2. Read that mode's reference before acting. The table above is routing only; the procedure, the failure modes, and the artifact contents live in the reference.
  3. Offer rather than assume. Say what would change, where, and what cannot be undone. Every automated step has a manual equivalent, and a user who declines gets the exact block to paste or the exact command to run.
  4. Write files; do not run them. The agent writes settings after an approved diff, writes generated artifacts to disk, and may run read-only queries against a local telemetry store. Every command that touches Docker, a cloud control plane, or an infrastructure-as-code toolchain belongs to the user: print it and stop.
  5. Verify by querying the store, following the shared verification reference. Report what proved the data landed.
  6. Offer the dashboard. Local capture gets a generated PromQL dashboard; the Azure path gets a generated KQL dashboard. They target different backends and are not interchangeable.

Content capture is not governed by the content-capture setting

Raise this before anyone enables export, in every mode.

github.copilot.chat.otel.captureContent defaults to false and is documented as controlling whether input and output messages, system instructions, and tool definitions reach span attributes. A false value does not mean the store holds no prompt text. With that setting disabled, this stack observed six attributes populated in plaintext on spans:

copilot_chat.user_request, gen_ai.input.messages, gen_ai.output.messages, gen_ai.tool.call.arguments, gen_ai.tool.call.result, and gen_ai.system_instructions.

A seventh, copilot_chat.reasoning_content, was present but marked [encrypted].

So treat any Copilot telemetry store as holding prompt content regardless of the setting, and treat the endpoint and the backing volume as sensitive. That exposure carries a Medium residual rating in SECURITY.md; it is a decision the user owns and cannot make if this skill describes the setting instead of the observed behavior.

Where sources disagree, prefer the stricter one. Microsoft's published Azure guidance enables captureContent: true without comment, while the VS Code setting description marks it Contains potentially sensitive data.

Currency: verify rather than trust this file

Every setting name, metric name, and API version here is a snapshot of one build. The extension moves faster than the skill, and a wrong name fails silently: Prometheus returns an empty re

Полный SKILL.md на GitHub

Установить copilot-otel-metrics в Claude Code и Claude Desktop

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

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

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

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

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

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

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

SECURITY.mdexamples/README.mdexamples/_input_policy.pyexamples/azure/README.mdexamples/azure/agent-host-relay/compose.yamlexamples/azure/agent-host-relay/otel-collector-config.yamlexamples/azure/deploy.shexamples/azure/main.bicepexamples/azure/main.tfexamples/azure/otel-collector-config.yamlexamples/azure/outputs.tfexamples/azure/variables.tfexamples/azure/versions.tfexamples/baseline.pyexamples/compose.yamlexamples/dashboards/copilot-otel-azure.jsonexamples/dashboards/copilot-otel.jsonexamples/inspect_metrics.pyexamples/otel-collector-local.yamlexamples/settings_upsert.pyexamples/validate_dashboard.pyexamples/verify.pypyproject.tomlreferences/azure-capture.mdreferences/local-setup.mdreferences/local-stack.mdreferences/org-distribution.mdreferences/verification.mduv.lock

FAQ

Что делает скилл copilot-otel-metrics?

Set up GitHub Copilot OpenTelemetry capture: configure the VS Code export settings, generate a local Grafana stack and dashboard, or generate the Azure collector, infrastructure, and dashboard for an organization.

Как установить скилл copilot-otel-metrics?

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

Скилл copilot-otel-metrics запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить copilot-otel-metrics с