Repository navigation
Add a365 exporter - #20
Merged
Hector Hernandez (hectorhdzg) merged 5 commits intoApr 17, 2026
Merged
Hector Hernandez (hectorhdzg) merged 5 commits into
Hector Hernandez (hectorhdzg) merged 5 commits into
Conversation
Hector Hernandez (hectorhdzg)
requested a review
from Jackson Weber (JacksonWeber)
as a code owner
April 17, 2026 21:37
Hector Hernandez (hectorhdzg)
requested review from
Nev (MSNev),
Leighton Chen (lzchen) and
Radhika Gupta (rads-1996)
as code owners
April 17, 2026 21:37
Contributor
There was a problem hiding this comment.
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
MicrosoftOpenTelemetryOptionsand distro version constant intosrc/types.ts, keepingsrc/distro/types.tsas 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.
Radhika Gupta (rads-1996)
approved these changes
Apr 17, 2026
Hector Hernandez (hectorhdzg)
merged commit Apr 17, 2026
3f4da4c
into
microsoft:main
5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.