Repository navigation
Add A365 Exporter - #15
Closed
Hector Hernandez (hectorhdzg) wants to merge 2 commits into
Closed
Hector Hernandez (hectorhdzg) wants to merge 2 commits into
Hector Hernandez (hectorhdzg) wants to merge 2 commits into
Conversation
Hector Hernandez (hectorhdzg)
requested review from
Jackson Weber (JacksonWeber),
Nev (MSNev),
Leighton Chen (lzchen) and
Radhika Gupta (rads-1996)
as code owners
April 11, 2026 04:14
Copilot started reviewing on behalf of
Hector Hernandez (hectorhdzg)
April 11, 2026 04:17
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces an A365 (Agent365) observability surface into the distro by adding a new src/a365 module (configuration + span exporter) and wiring it into the public API and existing tests.
Changes:
- Added
Agent365Exporter(SpanExporter) and supporting exporter utilities/index exports undersrc/a365/exporter. - Added
A365Configuration+ options/types, env-var handling, andsrc/a365barrel exports. - Updated internal imports/re-exports from the former
_a365path toa365, and expanded GenAI semconv constants.
Reviewed changes
Copilot reviewed 9 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/internal/unit/a365/agent365Exporter.test.ts | Updates test imports to the new src/a365 location. |
| test/internal/unit/a365/a365Configuration.test.ts | Updates test imports to the new src/a365 location. |
| src/shared/jsonConfig.ts | Switches A365Options type import to src/a365. |
| src/index.ts | Re-exports A365 public API from ./a365/index.js. |
| src/genai/utils.ts | Updates internal comment references from _a365 to a365. |
| src/genai/semconv.ts | Adds ATTR_MICROSOFT_TENANT_ID constant used by the exporter utilities. |
| src/distro/types.ts | Switches A365Options type import to src/a365. |
| src/a365/utils/utils.ts | Adds getEnv() helper for env-var reading. |
| src/a365/index.ts | Adds A365 barrel exports (configuration + exporter). |
| src/a365/exporter/utils.ts | Updates identity/message attribute handling to use semconv constants; contains endpoint resolution + truncation helpers. |
| src/a365/exporter/index.ts | Adds exporter barrel exports. |
| src/a365/exporter/ExporterEventNames.ts | Introduces exporter event-name enum. |
| src/a365/exporter/Agent365ExporterOptions.ts | Adds exporter options + resolved defaults class. |
| src/a365/exporter/Agent365Exporter.ts | Adds the Agent365Exporter implementation (partition, map, post with retries). |
| src/a365/configuration/index.ts | Adds configuration barrel exports. |
| src/a365/configuration/A365ConfigurationOptions.ts | Defines public A365 option types and ClusterCategory. |
| src/a365/configuration/A365Configuration.ts | Implements multi-source (defaults/options/json/env) A365 config resolution. |
| CHANGELOG.md | Adds an unreleased entry noting the new A365 exporter feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.