Enable the Profiler with optix

July 2, 2026 · View on GitHub

The easiest way to enable the Azure Monitor OpenTelemetry Profiler is to let optix — the Code Optimizations skills for GitHub Copilot CLI — do it for you. optix ships a dedicated enable-profiler setup skill that detects your platform and walks you through the changes.

Why?

  • Fast setup (≈2–3 minutes)
  • Consistent and low risk — the skill knows the current best practices
  • Works for both the Azure Monitor OpenTelemetry distro and the Application Insights SDK

Prerequisites

Do it

  1. Add the optix marketplace and install the skills:

    copilot plugin marketplace add microsoft/code-optimizations-skills
    copilot plugin install optix@microsoft-optix
    

    Tip: to install only the Setup skills, use copilot plugin install optix-setup@microsoft-optix.

  2. Ask Copilot to enable the profiler:

    copilot "Help me enable the Application Insights Profiler"
    
  3. Review the changes optix proposes, apply them, and commit.

Next

Once the profiler is running, optix can also help you act on the data — explore errors, inspect profiler hot paths, and get code-level optimization recommendations. See the optix skills catalog.

Or return to the Readme.