Skip to content

copilot -p does not emit OTEL telemetry even with server-managed settings overrides #4169

Description

@ek-expd

Describe the bug

Running copilot cli with -p doesn't emit telemetry with server-managed settings:

{
  "telemetry": {
    "enabled": true,
    ...
  }
}

This could also contribute to sessions running under the CLI in the chat window do not show telemetry in IntelliJ:

Image

We need both of these scenarios covered with telemetry.

Affected version

1.0.71

Steps to reproduce the behavior

copilot -p "test"

or in IntelliJ select CLI as the harness and use the chat normally

Expected behavior

OTEL telemetry gets emitted no matter how copilot is triggered when OTEL is forced on in managed settings.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions