Include Agent identification Env Var in telemetry

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • vNext
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      Based on this slack conversation: https://mongodb.slack.com/archives/C0ATJDWUP63/p1777373557546149

      Agents are injecting environment variables that could help identify their usage.

      Can we include this env vars in mongosh telemetry? A similar effort has been implemented for the Atlas CLI, see: https://jira.mongodb.org/browse/CLOUDP-400902

      Ultimately, this should be included as part of the effort for the planned telemetry in: https://jira.mongodb.org/browse/WRITING-37024

      However, in the interim can we also include it in the short-term telemetry effort that was implemented here: https://github.com/mongodb-js/mongosh/pull/2727 ? This would give us immediate visibility on which shell sessions are being assisted/managed by agents/llm's .

            Assignee:
            Alena Khineika
            Reporter:
            Victor Enciso
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: