You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f47b62b
Browse filesBrowse the repository at this point in the historyBrowse files
authored
[SDK Parity] Add scope and domain overrides for observability pre-prod testing (#107)
* Initial plan
* Add scope and domain override support for observability
Co-authored-by: sergioescalera <8428450+sergioescalera@users.noreply.github.com>
* Fix code review feedback: move imports to top of file
Co-authored-by: sergioescalera <8428450+sergioescalera@users.noreply.github.com>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Address code review feedback: add validation, improve tests, optimize env var reading
Co-authored-by: sergioescalera <8428450+sergioescalera@users.noreply.github.com>
* fix comments
* fix formatting
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sergioescalera <8428450+sergioescalera@users.noreply.github.com>
Co-authored-by: Sergio Escalera <sergio.escalera.c@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Nikhil Chitlur Navakiran (from Dev Box) <nikhilc@microsoft.com>
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/exporters/agent365_exporter.py
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/exporters/utils.py
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,28 @@ def partition_by_identity(
142
142
returngroups
143
143
144
144
145
+
defget_validated_domain_override() ->str|None:
146
+
"""
147
+
Get and validate the domain override from environment variable.
148
+
149
+
Returns:
150
+
The validated domain override, or None if not set or invalid.
0 commit comments