GitHub Copilot · Direct Setup
Settings Config
Save to VS Code settings.json on each developer machine:
{
"github.copilot.chat.otel.enabled": true,
"github.copilot.chat.otel.exporterType": "otlp-http",
"github.copilot.chat.otel.otlpEndpoint": "https://telemetry.mstone.ai"
}
Set User Identity
Add to shell profile (~/.zshrc or ~/.bashrc):
export OTEL_RESOURCE_ATTRIBUTES="user.login=$(whoami),user.email=$(whoami)@<your-company-domain>.com"
export COPILOT_OTEL_ENABLED="true"
export OTEL_EXPORTER_OTLP_ENDPOINT="https://telemetry.mstone.ai"
export OTEL_EXPORTER_OTLP_HEADERS="x-shared-secret=<your-shared-secret>"
Then reload: source ~/.zshrc
Restart VS Code (Copilot Chat)
Close and reopen VS Code for settings to take effect.