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
- GitHub Copilot CLI installed and authenticated (
copilot auth login) - Azure CLI installed and logged in (
az login)
Do it
-
Add the optix marketplace and install the skills:
copilot plugin marketplace add microsoft/code-optimizations-skills copilot plugin install optix@microsoft-optixTip: to install only the Setup skills, use
copilot plugin install optix-setup@microsoft-optix. -
Ask Copilot to enable the profiler:
copilot "Help me enable the Application Insights Profiler" -
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.