mirror_policy.proto

Package : trafficcontrol.policy.gloo.solo.io

Top

mirror_policy.proto

Table of Contents

MirrorPolicySpec

MirrorPolicy is used to mirror/shadow traffic to a another destination (traffic will be sent to its original destination in addition to the mirrored destinations). MirrorPolicies are applied at the Route level.

Field Type Label Description
applyToRoutes []common.gloo.solo.io.RouteSelector repeated select the routes where the policy will be applied if left empty, will apply to all routes in the workspace.
config trafficcontrol.policy.gloo.solo.io.MirrorPolicySpec.Config The details of the Mirror policy to apply to the selected routes

MirrorPolicySpec.Config

Field Type Label Description
destination common.gloo.solo.io.DestinationReference The destination to which to send mirrored traffic
percentage google.protobuf.DoubleValue Percentage of traffic to mirror. If omitted all traffic will be mirrored. Values must be between 0 and 100.

MirrorPolicyStatus

reflects the status of the MirrorPolicy

Field Type Label Description
global common.gloo.solo.io.GenericGlobalStatus
workspaces []trafficcontrol.policy.gloo.solo.io.MirrorPolicyStatus.WorkspacesEntry repeated The status of the resource in each workspace that it exists in.
selectedRoutes []common.gloo.solo.io.RouteReference repeated Routes selected by the policy

MirrorPolicyStatus.WorkspacesEntry

Field Type Label Description
key string
value common.gloo.solo.io.WorkspaceStatus