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
未声明工作负载模板。
局部变量
未声明局部变量。
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现
core/traffic-shadowing:1.0.0
被使用
目录中没有任何内容依赖此实体。