Updates an existing metric policy. System policies cannot be modified.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the metric policy to update
Input for updating an existing metric policy
Name of the metric policy
1Status of the policy
ACTIVE, INACTIVE Condition groups. Omit to keep existing, provide empty array to remove all conditions.
Metric definitions to collect when this policy matches
1The updated metric policy
A metric policy defining when metrics should be collected