---
title: "ezgh run traffic"
description: "Split a service's traffic between revisions."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh run traffic

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh run traffic <service> <revision>=<percent>...
```

Split a service's requests between revisions by percent, adding up to 100. A revision is latest (the latest ready revision, which follows each deploy) or a ready or retired revision's ID; naming a retired revision again is a rollback. A revision left out gets no traffic and is retired.

Part of [`ezgh run`](/cli/reference/run).

## Examples

```sh
ezgh run traffic web latest=90 rrv_k3f9a0x2m7qp=10
ezgh run traffic web latest=100
```

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/run-traffic/index.mdx
