Skip to content

Add A365 Exporter - #15

Closed
Hector Hernandez (hectorhdzg) wants to merge 2 commits into
microsoft:mainfrom
hectorhdzg:hectorhdzg/a365-semconv-cleanup
Closed

Hector Hernandez (hectorhdzg) wants to merge 2 commits into
microsoft:mainfrom
hectorhdzg:hectorhdzg/a365-semconv-cleanup

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

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 under src/a365/exporter.
  • Added A365Configuration + options/types, env-var handling, and src/a365 barrel exports.
  • Updated internal imports/re-exports from the former _a365 path to a365, 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.

Comment thread CHANGELOG.md
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.

2 participants