MirrorPolicy
Proto: mirror_policy.proto
Package: trafficcontrol.policy.gloo.solo.io
Types:
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 | Description |
---|---|
applyToRoutes |
(repeated common.gloo.solo.io.RouteSelector )select the routes where the policy will be applied if left empty, will apply to all routes in the workspace. |
config |
(MirrorPolicySpec.Config )The details of the Mirror policy to apply to the selected routes |
MirrorPolicySpec.Config
Field | 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. For information about the value format, see the Google protocol buffer documentation. |
MirrorPolicyStatus
reflects the status of the MirrorPolicy
Field | Description |
---|---|
global |
(common.gloo.solo.io.GenericGlobalStatus ) |
workspaces |
(repeated MirrorPolicyStatus.WorkspacesEntry )The status of the resource in each workspace that it exists in. |
selectedRoutes |
(repeated common.gloo.solo.io.RouteReference )Routes selected by the policy |
MirrorPolicyStatus.WorkspacesEntry
Field | Description |
---|---|
key |
(string ) |
value |
(common.gloo.solo.io.WorkspaceStatus ) |