Skip to content

OSPP: feat(metrics): add canary routing metrics - #8090

Merged
yuluo-yx merged 1 commit into
apache:masterfrom
SouthwestAsiaFloat:ospp-canary-observability
Oct 24, 2026
Merged

yuluo-yx merged 1 commit into
apache:masterfrom
SouthwestAsiaFloat:ospp-canary-observability

Conversation

@SouthwestAsiaFloat

Copy link
Copy Markdown
Contributor

Add three Canary metrics for request outcomes, initial fallback counts, and routing decision duration using the existing Metrics/Prometheus pipeline.

Each external request is counted once across retries. Existing latency metrics remain unchanged.

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@yuluo-yx
yuluo-yx merged commit 434366a into apache:master Oct 24, 2026
51 checks passed
dmsolr pushed a commit that referenced this pull request Oct 25, 2026
Sync to current master to resolve the stable shenyu-integrated-test-http CI failure (CachePluginTest.testMemoryModle/testRedisModle). Root cause: this branch predated #8079, whose pre-fix CachedResponse.capture() refused to store any response carrying a Vary header, so the cached endpoint was never reused and both requests hit the backend. #8079 keys Vary responses on the selecting request headers instead. Also pulls in the divide/loadbalancer work (#8076, #7172, #7986, #8005, #7821, #8033, #8090).

#7172 removeStaleUpstreams reconciles via removeFromMap/triggerRemoveOne, which republish the immutable healthy snapshot under the same lock, so the read-only snapshot model stays correct with no stale retained instances.
@Aias00 Aias00 added this to the 2.7.2 milestone Nov 13, 2026
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.

3 participants