Expand the rollout to staging and production
Once dev looks healthy, you’ll incrementally expand the pipeline’s matching expression to include staging and then production environments. Because you set the operator to =~ in the previous milestone, you can broaden the rollout by editing the regex value — no new pipeline needed.
To expand the rollout, complete the following steps:
Click the Edit icon next to the pipeline you want to expand to the next environment. This reopens the wizard so you can update the matching attributes.
Click Next to advance to the attribute assignment step.
In the same value field for the
envattribute, addstaging. The resulting valuedev|stagingmatches all collectors whereenvis eitherdevorstaging. The collector list updates in real time.Click Save to deploy the pipeline to staging.
Wait and verify that staging collectors are receiving the configuration and behaving as expected. When staging looks healthy, repeat these steps and expand the regex to cover each production environment in turn:
dev|staging|prod-eudev|staging|prod-eu|prod-us
Each expansion is a low-risk incremental step. If a problem appears at any stage, you can deactivate the pipeline before it reaches more of your fleet.
Your pipeline is now deployed across all environments. In the next milestone, you’ll learn how to halt the rollout immediately if a problem occurs.