Create a shadow experiment
Creates an experiment that mirrors a sampled portion of endpoint traffic to one or more target deployments without returning their responses to clients. Add a description with the update operation after creation.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Project identifier.
Endpoint identifier.
Body
Sampling strategy and optional initial targets for mirroring endpoint requests without affecting client responses.
Human-readable shadow experiment name, unique within the endpoint. At most 256 characters.
Endpoint source and sampling configuration for the experiment.
Optional initial target deployments. At most 100 targets; manage later changes through the target APIs.
Response
OK
Experiment that mirrors sampled endpoint requests to target deployments without changing client responses.
Output only. Unique shadow experiment identifier.
Output only. Project that owns the parent endpoint.
Output only. Endpoint whose traffic this experiment samples.
Human-readable shadow experiment name, unique within the endpoint. At most 256 characters.
Endpoint source and sampling configuration for mirrored requests.
Target deployments that receive mirrored traffic.
Identifier of the principal that created the experiment.
Timestamp when the experiment was created.
Timestamp when the experiment was last updated.
Opaque version tag for optimistic concurrency control. Returned on read; set it on update or delete requests for consistent read-modify-write.
Derived serving state, active when the experiment has at least one target.
SHADOW_EXPERIMENT_STATE_ACTIVE, SHADOW_EXPERIMENT_STATE_INACTIVE User defined description.