Skip to main content

Capturing Traffic

Speedscale captures traffic flowing through your application. This includes inbound as well as outbound, and is handled by a proxy sidecar added to your workloads.

Why capture traffic?

Capturing traffic is necessary for replaying traffic. This is more accurate than simulated tests because it's the actual data that would flow through your application. By using real data, it is easier to diagnose and reproduce problems, such as an occasional spike in traffic that causes downtime.

Additionally, that data can provide a basis for load testing. Using Speedscale's test configurations, the traffic can be multiplied, replayed over a longer period, or have various errors introduced to do chaos testing.


A snapshot is a point in time set of captured traffic. It contains all the inbound and outbound traffic to and from a service to be used for a replay later on. A snapshot is created using a set of filters, the minimum set being the service and time range. More filters can be added as shown here.

In addition to filtering, snapshots can be transformed before use in replays. For eg. you may have timestamps as part of the header in your captured ingress and your application rejects timestamps older than an hour. You can configure Traffic Transforms to achieve this.