Skip to content

Add local aspire script for OTel and Copilot Studio Client - #16

Open
sw-joelmut wants to merge 4 commits into
mainfrom
southworks/add/aspire
Open

Add local aspire script for OTel and Copilot Studio Client#16
sw-joelmut wants to merge 4 commits into
mainfrom
southworks/add/aspire

Conversation

@sw-joelmut

Copy link
Copy Markdown
Collaborator

Fixes # 678

Summary

Adds optional local Aspire orchestration for Node.js observability samples.

  • Adds npm run aspire to the OTel agent sample.

    • Starts agent, Agents Playground, and Aspire Dashboard.
    • Supports anonymous and credentialed Playground flows.
    • Keeps Docker as the documented primary dashboard flow.
  • Adds npm run aspire to the Copilot Studio React WebChat sample.

    • Starts WebChat through Aspire.
    • Adds browser OpenTelemetry document-load and fetch instrumentation.
    • Exports browser traces through local OTLP/HTTP.
  • Adds AppHost configuration, generated-file ignores, dependencies, and TypeScript exclusions required by both samples.

Testing

The following images show the OTel and CopilotStudio Client samples working with aspire.
image
image

Comment thread samples/nodejs/copilotstudio-webchat-react/apphost/package.json Outdated
Comment thread samples/nodejs/copilotstudio-webchat-react/src/instrumentation.ts
Comment thread samples/nodejs/copilotstudio-webchat-react/README.md
Comment thread samples/nodejs/otel/apphost/package.json Outdated
Comment thread samples/nodejs/otel/package.json Outdated
Comment thread samples/nodejs/otel/README.md
@sw-joelmut

Copy link
Copy Markdown
Collaborator Author

Feedback applied thanks

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