All skills
microsoft avatar

/appinsights-instrumentation

@b3c238e
by microsoftmicrosoft/skills3.1k stars
351

Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.

Use this Skill: https://skilld.dev/gh/microsoft/skills/appinsights-instrumentation

This session only. Nothing lands on disk.

referencessdkazure-monitor-opentelemetry-exporter-java.md

≈294 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Azure Monitor OpenTelemetry Exporter — Java SDK Quick Reference

Condensed from azure-monitor-opentelemetry-exporter-java. Full patterns (trace/metric/log export, spans, semantic conventions) in the azure-monitor-opentelemetry-exporter-java plugin skill if installed.

Install

<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-monitor-opentelemetry-exporter</artifactId>
    <version>1.0.0-beta.x</version>
</dependency>

DEPRECATED: Migrate to azure-monitor-opentelemetry-autoconfigure.

Quick Start

// Prefer autoconfigure instead:
// <artifactId>azure-monitor-opentelemetry-autoconfigure</artifactId>

Best Practices

  • Use autoconfigure — migrate to azure-monitor-opentelemetry-autoconfigure
  • Set meaningful span names — use descriptive operation names
  • Add relevant attributes — include contextual data for debugging
  • Handle exceptions — always record exceptions on spans
  • Use semantic conventions — follow OpenTelemetry semantic conventions
  • End spans in finally — ensure spans are always ended
  • Use try-with-resources — scope management with try-with-resources pattern

Source: SKILL.md on GitHub

1 warning15d4 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides guidance and technical reference for instrumenting applications with Azure Application Insights. It follows industry best practices for configuration management, including secret handling, and uses official Microsoft libraries and tools. No security issues were detected.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • Runlayer7mo

    12/12 files flagged

Signed by skilld at b3c238e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "1.2.1"
}

README badge

README badge for microsoft/skills/appinsights-instrumentation