Skip to content

Add observability instructions for coding agents#371

Merged
sellakumaran merged 2 commits into
mainfrom
users/sellak/observabilityInstructions
Apr 16, 2026
Merged

Add observability instructions for coding agents#371
sellakumaran merged 2 commits into
mainfrom
users/sellak/observabilityInstructions

Conversation

@sellakumaran

@sellakumaran sellakumaran commented Apr 15, 2026

Copy link
Copy Markdown
Contributor
  • CHANGELOG: Added upgrade notes and detailed instructions for granting Observability API permissions (delegated + application) to existing agents.
  • a365-observability-instructions.md: New agent-oriented setup and instrumentation guide.
  • observability-skill-test-plan.md: New test plan for .NET project setup and code instrumentation, with agent behavior expectations.
  • ProjectSettingsSyncHelper: Writes EnableAgent365Exporter (boolean false) and a placeholder Agent365Observability section to .NET appsettings.json, and ENABLE_A365_OBSERVABILITY_EXPORTER=false to Python/Node.js .env. Existing values are preserved on re-run.
  • Logging: Clarified Observability API permission requirements and admin steps in PermissionsSubcommand and SetupHelpers.
  • ProjectSettingsSyncHelperTests: Added/updated tests to verify observability config for all platforms, including a new .NET section test.
image image image image

- CHANGELOG: Added upgrade notes and detailed instructions for granting Observability API permissions (delegated + application) to existing agents.
- a365-observability-instructions.md: New agent-oriented setup and instrumentation guide.
- observability-skill-test-plan.md: New test plan for .NET project setup and code instrumentation, with agent behavior expectations.
- ProjectSettingsSyncHelper: Writes EnableAgent365Exporter (boolean false) and a placeholder Agent365Observability section to .NET appsettings.json, and ENABLE_A365_OBSERVABILITY_EXPORTER=false to Python/Node.js .env. Existing values are preserved on re-run.
- Logging: Clarified Observability API permission requirements and admin steps in PermissionsSubcommand and SetupHelpers.
- ProjectSettingsSyncHelperTests: Added/updated tests to verify observability config for all platforms, including a new .NET section test.
@sellakumaran
sellakumaran requested review from a team as code owners April 15, 2026 00:39
Copilot AI review requested due to automatic review settings April 15, 2026 00:39

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 agent-focused guidance and CLI-generated configuration defaults to make Agent 365 observability setup/permissions clearer and consistent across .NET, Python, and Node.js.

Changes:

  • Add default observability config outputs during setup (EnableAgent365Exporter + Agent365Observability in .NET; ENABLE_A365_OBSERVABILITY_EXPORTER in .env).
  • Expand setup/permissions messaging with clearer Global Admin steps for delegated + application Observability API permissions.
  • Add docs/test plan coverage and tests verifying new generated observability config behavior.

Reviewed changes

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

Show a summary per file
File Description
src/Tests/Microsoft.Agents.A365.DevTools.Cli.Tests/Helpers/ProjectSettingsSyncHelperTests.cs Adds assertions and a new .NET test to validate observability defaults/sections.
src/Microsoft.Agents.A365.DevTools.Cli/Helpers/ProjectSettingsSyncHelper.cs Writes new observability settings into appsettings.json and .env defaults.
src/Microsoft.Agents.A365.DevTools.Cli/Commands/SetupSubcommands/SetupHelpers.cs Improves setup summary guidance for Observability API permissions.
src/Microsoft.Agents.A365.DevTools.Cli/Commands/SetupSubcommands/PermissionsSubcommand.cs Updates dry-run permissions output to reflect delegated + application requirement.
docs/agent365-guided-setup/a365-observability-instructions.md New agent-oriented observability setup + instrumentation instructions.
CHANGELOG.md Adds upgrade notes and notes new config defaults written by setup.

Comment thread docs/agent365-guided-setup/a365-observability-instructions.md Outdated
Comment thread docs/agent365-guided-setup/a365-observability-instructions.md
@github-actions

github-actions Bot commented Apr 15, 2026

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

ajmfehr
ajmfehr previously approved these changes Apr 15, 2026
- Updated instructions to clarify exporter config should be added but disabled by default, and improved user prompt wording.
- Removed setting of AgentId in ProjectSettingsSyncHelper; only AgentBlueprintId is now set.
- Adjusted tests to expect AgentId to be null and verify other fields.
@sellakumaran
sellakumaran enabled auto-merge (squash) April 16, 2026 00:04
@sellakumaran
sellakumaran merged commit d2d557d into main Apr 16, 2026
8 checks passed
@sellakumaran
sellakumaran deleted the users/sellak/observabilityInstructions branch April 16, 2026 00:12
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.

4 participants