本頁面由機器翻譯。閱讀英文原文。

FeatureRecipe

traffic-shadowing-nginx

Component-scope FeatureRecipe for core/traffic-shadowing on the NGINX gateway, core/gateway/nginx, under Docker Compose. The copy is a setting inside the server configuration the gateway's own Recipe writes rather than a service of its own, so this recipe emits nothing: the NGINX Recipe reads the attachment and adds the mirror to the location it forwards, sending a copy of every forwarded request, with its original URI, to the service the attachment's infra names, and discarding that service's response. NGINX copies every request it forwards and has no setting that copies a share of them — the gateway declares dataplane.aggrega.ai/request-mirroring: full-rate — so this recipe halts on a shadow_percent below 100 rather than copying more traffic than was asked for. It also halts when the attachment is carried by any component other than core/gateway/nginx, because no other component's Recipe reads it, and the attachment would render no copy at all. The service the copies go to has to resolve on the compose network when NGINX starts, as the upstream does.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:9fd4b95f884540f834a75c29cc52d87dabed58a2191d088fb8e2723f6c1a8b7d
發布時間
2026-11-10T10:15:01Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:6bb9d9c58f0d92fdb9593e173d3b01c8cd52dfda617dd54b6beccd9c9ce4a01e

此版本的參照

oci://hub.aggrega.ai/featurerecipe/compose/traffic-shadowing-nginx:1.0.0
目標
—
實作
core/traffic-shadowing:1.0.0

提供

此配方為使用端連接的確定性指標範本。

未宣告任何 provides 範本。

Workload

未宣告任何工作負載範本。

Locals

未宣告任何 locals。

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

目錄中沒有任何項目相依於此實體。

FeatureRecipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權