agentleFS
Microsoft AzureKnown publisherAzure/azure-managed-grafana/.claude/skills/doc-pull-otlp-appinsights/SKILL.md

doc-pull-otlp-appinsights

Skill15 starsChanged 7 months agoMITView on GitHub

Update the local OTLP → App Insights guide (solutions/otel-app-insights/otel-app-insights.md) by reconciling it with the upstream Microsoft Learn page on Azure Managed Grafana + OpenTelemetry + Application Insights. Use when the user asks to refresh the doc, sync with upstream Microsoft Learn, or pull latest changes for the otel-app-insights guide.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Preserve project-specific sections verbatim: Do NOT rewrite these from upstream:

    line 30
  2. Very specific:

    All per-application config blocks under "## 2.

    line 32
  3. Distinctive:

    If wording is materially different (new step, renamed UI element, new config knob, changed default port, updated KQL operator, new …

    line 38
  4. Distinctive:

    If wording is equivalent, leave it alone.

    line 39
  5. Distinctive:

    If upstream introduces a new step that fits the pipeline (e.g., a new processor, a new auth method) — add it in the appropriate numbered …

    line 40
  6. Distinctive:

    If upstream content is ambiguous (truncated, paywalled, JS-only render) — flag the ambiguity and skip rather than guess.

    line 41
  7. Distinctive:

    Treat the App Insights connection-string schema as load-bearing literal text.

    line 48
  8. Distinctive:

    Do not delete the project-specific content even if upstream has nothing equivalent — that content is the reason the local guide exists.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pull upstream OTLP → App Insights doc

Sources

The local guide is broader than upstream: it covers the same Collector → App Insights pipeline but adds three project-specific app integrations (GitHub Copilot, Claude Code, OpenClaw) and dashboard import notes. Only the upstream-derived portions should be reconciled.

Procedure

  1. Fetch upstream via WebFetch on the Microsoft Learn URL above. Extract sections, step lists, code blocks (YAML / Docker / KQL), and outbound links.
  2. Read the local target to understand the current structure and wording.
  3. Reconcile only the upstream-derived sections. These track Microsoft Learn and should be updated to match upstream:
    • The architecture overview (Application → OTel Collector → Application Insights pipeline)
    • "Get the Application Insights connection string" — Azure Portal navigation steps and connection-string format
    • Sample collector config (receivers.otlp, exporters.azuremonitor, service.pipelines)
    • Running the collector (Docker command, image tag, port mapping 4317/4318)
    • Verifying telemetry in Application Insights via KQL
    • The References section's pointers to upstream Microsoft docs
  4. Preserve project-specific sections verbatim. Do NOT rewrite these from upstream:
    • The opening paragraph that names the three dashboards (GitHub Copilot, Claude Code, OpenClaw) and their aka.ms/amg/dash/... short links
    • All per-application config blocks under "## 2. Configure each application" — GitHub Copilot, Claude Code, OpenClaw — including settings.json snippets, screenshots, and inline tips
    • The cloud_RoleName-scoped KQL examples that filter on copilot-chat, claude_code, openclaw-gateway
    • The image references under ./attachments/
    • The "## 4. Import the dashboards into Grafana" section and its links
  5. Apply edits surgically. For each upstream-derived section:
    • If wording is materially different (new step, renamed UI element, new config knob, changed default port, updated KQL operator, new authoritative link) — Edit with upstream-matching content while preserving the local doc's tone and heading structure.
    • If wording is equivalent, leave it alone. Do not churn for stylistic differences.
    • If upstream introduces a new step that fits the pipeline (e.g., a new processor, a new auth method) — add it in the appropriate numbered section.
    • If upstream content is ambiguous (truncated, paywalled, JS-only render) — flag the ambiguity and skip rather than guess.
  6. Report a change summary at the end of the run: bullet list of sections updated, what specifically changed, anything skipped, and the upstream "last updated" date if visible on the page.

Notes

  • The architecture ASCII diagram in the local doc is illustrative — keep it unless upstream introduces an actual architectural change (new exporter, removed component, etc.).
  • Treat the App Insights connection-string schema as load-bearing literal text. Only modify if Microsoft has published a different format.
  • Preserve the local doc's heading hierarchy and section numbering (## 1., ## 2., …). If upstream renumbers or restructures, keep the local numbering and just update content within sections.
  • Do not delete the project-specific content even if upstream has nothing equivalent — that content is the reason the local guide exists.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.