Skip to content

Add a365 exporter - #20

Merged
Hector Hernandez (hectorhdzg) merged 5 commits into
microsoft:mainfrom
hectorhdzg:hectorhdzg/a365-exporter
Apr 17, 2026
Merged

Hector Hernandez (hectorhdzg) merged 5 commits into
microsoft:mainfrom
hectorhdzg:hectorhdzg/a365-exporter

Conversation

@hectorhdzg

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds A365 (Agent365) observability export support to the Microsoft OpenTelemetry distro, including configuration/type surfacing, distro wiring, and updated docs/samples.

Changes:

  • Wire up A365 exporter in useMicrosoftOpenTelemetry() and expose A365 configuration/types through the public API.
  • Consolidate MicrosoftOpenTelemetryOptions and distro version constant into src/types.ts, keeping src/distro/types.ts as a compatibility re-export.
  • Add/extend docs and samples for enabling A365 export, plus update internal A365 test imports.

Reviewed changes

Copilot reviewed 16 out of 25 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test/internal/unit/a365/agent365Exporter.test.ts Update imports to the new src/a365/... path.
test/internal/unit/a365/a365Configuration.test.ts Update imports to the new src/a365/... path.
src/types.ts Introduce MicrosoftOpenTelemetryOptions and MICROSOFT_OPENTELEMETRY_VERSION in the main types module.
src/shared/jsonConfig.ts Point config parsing types at src/types.ts and src/a365/index.js.
src/shared/envConfig.ts Point env config types at src/types.ts.
src/shared/config.ts Consolidate type imports from src/types.ts.
src/index.ts Re-export A365 API from ./a365/index.js and types from ./types.js.
src/genai/utils.ts Update comment references from _a365 to a365.
src/genai/semconv.ts Add microsoft.tenant.id semantic attribute constant.
src/distro/types.ts Convert to a re-export shim for backward compatibility.
src/distro/distro.ts Enable A365 exporter via configuration/env and attach as a span processor.
src/_a365/exporter/utils.ts Switch identity/message keys to constants from genai/semconv.
samples/src/a365Export.ts Add a sample showing A365 export setup.
samples/README.md Link the new A365 sample.
README.md Document a365 options and env vars.
CHANGELOG.md Add unreleased entry for A365 exporter and fix a typo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread samples/src/a365Export.ts Outdated
Comment thread samples/src/a365Export.ts Outdated
Comment thread src/distro/distro.ts
Comment thread src/distro/distro.ts Outdated
@hectorhdzg
Hector Hernandez (hectorhdzg) merged commit 3f4da4c into microsoft:main Apr 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants