Updated internal statsbeat routing to follow the customer's effective ingestion route after an accepted redirect so EU SDK statistics are reported to the EU statsbeat destination. - #48817
Draft
Radhika Gupta (rads-1996) wants to merge 6 commits into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Azure Monitor redirect handling so Statsbeat follows the customer’s effective regional ingestion route.
Changes:
- Groups trusted redirect domains by Azure cloud.
- Dynamically updates Statsbeat routing and host dimensions.
- Adds redirect, region-classification, and reconfiguration tests.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
CHANGELOG.md |
Documents the redirect-routing fix. |
_constants.py |
Groups trusted suffixes and adds Germany North. |
export/_base.py |
Handles cross-suffix redirects and notifies Statsbeat. |
statsbeat/_manager.py |
Reconfigures Statsbeat after redirects. |
statsbeat/_statsbeat.py |
Exposes the endpoint-update hook. |
statsbeat/_statsbeat_metrics.py |
Refreshes the host metric dimension. |
statsbeat/_utils.py |
Extracts regions and selects Statsbeat destinations. |
tests/test_base_exporter.py |
Tests redirect handling and propagation. |
tests/statsbeat/test_manager.py |
Tests Statsbeat route updates. |
tests/statsbeat/test_metrics.py |
Tests host-dimension updates. |
tests/statsbeat/test_utils.py |
Tests region and boundary selection. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Radhika Gupta (rads-1996)
force-pushed
the
fix-eu-sdkstats-routing
branch
2 times, most recently
from
September 15, 2026 20:11
bd3e916 to
72ab7ea
Compare
Radhika Gupta (rads-1996)
force-pushed
the
fix-eu-sdkstats-routing
branch
from
September 16, 2026 15:53
72ab7ea to
5b4794d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines