Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
168bad8
Creating otel boilerplate sample
rodrigobr-msft Dec 5, 2025
62e9eb1
Merge branch 'main' of https://github.com/microsoft/Agents-for-python…
rodrigobr-msft Feb 19, 2026
b4d8e60
Basis for otel support
rodrigobr-msft Feb 20, 2026
8cc8757
Improving design
rodrigobr-msft Feb 20, 2026
d17a161
Using telemetry hooks in storage
rodrigobr-msft Feb 20, 2026
8d2266a
Adding telemetry hooks to adapters
rodrigobr-msft Feb 20, 2026
e306fa8
Setting up OTEL testing
rodrigobr-msft Feb 23, 2026
d0acb1d
Fix to ActivityTemplate
rodrigobr-msft Feb 24, 2026
d7fad12
Fixed field resolution when provided from and from_property in templates
rodrigobr-msft Feb 24, 2026
d75395f
Another commit
rodrigobr-msft Feb 24, 2026
980628d
Refining observability integration tests
rodrigobr-msft Feb 27, 2026
77cb9a2
configure_telemetry helper
rodrigobr-msft Feb 27, 2026
7f35261
Small changes to dev/ directory w.r.t. testing
rodrigobr-msft Mar 2, 2026
20dd033
Adding READMEs to support new folder structure change
rodrigobr-msft Mar 2, 2026
fe3bc1f
Fixing package issues
rodrigobr-msft Mar 2, 2026
5a0aad8
Unit tests for all of the AgentTelemetry instrumentatin methods
rodrigobr-msft Mar 2, 2026
7eca80b
Another commit
rodrigobr-msft Mar 2, 2026
803465a
Renaming for consistency
rodrigobr-msft Mar 4, 2026
13a5930
Change towards organizing telemetry like error codes
rodrigobr-msft Mar 5, 2026
7adb513
Adding auth telemetry hooks and module
rodrigobr-msft Mar 5, 2026
8752b0d
Adding telemetry hooks to TurnContext
rodrigobr-msft Mar 5, 2026
f03fd05
Addressing test cases
rodrigobr-msft Mar 5, 2026
79f9fd1
Cleaning up tests and OTEL integration
rodrigobr-msft Mar 5, 2026
bc2f692
Polishing and passing integration tests
rodrigobr-msft Mar 6, 2026
6c9caba
Adding createConnectorClient span
rodrigobr-msft Mar 6, 2026
b42583b
OTEL sample updated to use WIP built-in telemetry layer
rodrigobr-msft Mar 10, 2026
c11a0a2
Beginning work on ScriptScenario
rodrigobr-msft Mar 11, 2026
c785d83
Commit
rodrigobr-msft Mar 12, 2026
0664b8f
Beginning of cross-sdk end-to-end tests
rodrigobr-msft Mar 12, 2026
db01bdc
Fixed bug with AiohttpScenario endpoint
rodrigobr-msft Mar 16, 2026
ec5f9e0
First batch of cross-sdk tests functioning for quickstart scenario
rodrigobr-msft Mar 16, 2026
c6bcb4b
Fixed comment
rodrigobr-msft Mar 17, 2026
a1b63b6
Revision to scoping
rodrigobr-msft Mar 23, 2026
29bf82f
Revised all existing span cms into SpanWrapper implementations
rodrigobr-msft Mar 23, 2026
a6a24bc
Telemetry submodules for turn context and adapter
rodrigobr-msft Mar 24, 2026
dcad8ad
active state of SpanWrapper bug fixed
rodrigobr-msft Mar 24, 2026
b884333
Adding authorization spans
rodrigobr-msft Mar 24, 2026
22b1a76
Fixing small bugs and formatting
rodrigobr-msft Mar 24, 2026
9413d31
Adding call to share route handling info to AppOnTurn span
rodrigobr-msft Mar 24, 2026
d3cec64
Mapping attributes for metric readings
rodrigobr-msft Mar 24, 2026
866f885
Improved test coverage of OTEL layer
rodrigobr-msft Mar 24, 2026
c0428d7
Adding share call in clients
rodrigobr-msft Mar 24, 2026
703cd0a
agents_telemetry tests
rodrigobr-msft Mar 25, 2026
54b050a
Adding core telemetry tests
rodrigobr-msft Mar 25, 2026
7ba0a96
Adding span tests
rodrigobr-msft Mar 25, 2026
7e8e21f
Addressing fixture cleanup for test_telemetry fixture
rodrigobr-msft Mar 25, 2026
050c7ac
Cleaning up span creation across files
rodrigobr-msft Mar 25, 2026
67a46f9
Fixing SimpleSpanWrapper setting attribute after yielding
rodrigobr-msft Mar 25, 2026
6cabad8
Integration testing
rodrigobr-msft Mar 25, 2026
e963b7a
More comprehensive integration tests and fixed consistency for AppOnTurn
rodrigobr-msft Mar 25, 2026
0f8c2c3
Another commit
rodrigobr-msft Mar 25, 2026
b982006
Addressing merge conflicts
rodrigobr-msft Mar 25, 2026
c7892ce
Formatting and updating OTEL sample
rodrigobr-msft Mar 26, 2026
2bab051
Removing unused imports and other small improvements
rodrigobr-msft Mar 26, 2026
7590fbd
Addressing PR comments
rodrigobr-msft Mar 26, 2026
d6d1ca1
Formatting
rodrigobr-msft Mar 26, 2026
0f94df8
Fix review comments: constants header, storage metrics attributes, po…
Copilot Mar 26, 2026
2a564ed
Merge branch 'main' into users/robrandao/otel
rodrigobr-msft Mar 27, 2026
2d77968
Merge branch 'main' into users/robrandao/otel
rodrigobr-msft Mar 31, 2026
0b233d9
Merge branch 'main' into users/robrandao/otel
rodrigobr-msft Apr 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions dev/README.md

This file was deleted.

13 changes: 13 additions & 0 deletions dev/testing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Testing

This folder contains three test-related directories:

`cross-sdk-tests`: End-to-end tests across all SDKs (Python, JavaScript, .NET). This is a work in progress.

`microsoft-agents-testing`: This is the testing framework used to facilitate testing agents. This is only for internal development purposes.

`python-sdk-tests`: These are integration tests related to the Python SDK. These are an extension of the Python SDK's unit tests. These tests are more specific that the ones in `cross-sdk-tests` because they look into the internals of Python SDK components for the running agents while the other test suite communicates purely over HTTP/HTTPS.

## Running tests and installation

The instructions to install the `microsoft-agents-testing` library are specificed in `microsoft-agents-testing/README.md`. To run the `python-sdk-tests`, `cd` into that directory and run `pytest` via Powershell. `cross-sdk-tests` still does not have an entry point for testing.
244 changes: 244 additions & 0 deletions dev/testing/cross-sdk-tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
target/

# Cake
/.cake
/version.txt
/PSRunCmds*.ps1

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
/bin/
/binSigned/
/obj/
Drop/
target/
Symbols/
objd/
.config/

# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# Benchmark Results
BenchmarkDotNet.Artifacts/

# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json

# Visual Studio code coverage results
*.coverage
*.coveragexml

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

#nodeJS stuff
/node_modules/

#local development
appsettings.local.json
appsettings.Development.json
appsettings.Development*
appsettings.Production.json
**/[Aa]ppManifest/*.zip
.deployment

# JetBrains Rider
*.sln.iml
.idea

# Mac files
.DS_Store

# VS Code files
.vscode
src/samples/ModelContextProtocol/GitHubMCPServer/Properties/ServiceDependencies/GitHubMCPServer20250311143114 - Web Deploy/profile.arm.json

# Claude Code temporary files
tmpclaude*


node_modules/
dist/
*.env
*.key
*.pem
test-report.xml
tsconfig.tsbuildinfo
devTools/
3 changes: 3 additions & 0 deletions dev/testing/cross-sdk-tests/agents/core-agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Core Agent

An agent that has various routes to test diverse the Agents SDK core functionalities.
3 changes: 3 additions & 0 deletions dev/testing/cross-sdk-tests/agents/quickstart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Quickstart Agent

This agent echos responses back to the user. As presently configured, the agent enables JWT token validation.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
npm install

npm run build
npm run start:anon
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# rename to .env
connections__serviceConnection__settings__clientId= # App ID of the App Registration used to log in.
connections__serviceConnection__settings__clientSecret= # Client secret of the App Registration used to log in
connections__serviceConnection__settings__tenantId= # Tenant ID of the App Registration used to log in

connectionsMap__0__connection=serviceConnection
connectionsMap__0__serviceUrl=*

DEBUG=agents:*:error
Loading
Loading