You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/current/cockroachcloud/export-metrics-advanced.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,8 @@ Perform the following steps to enable metrics export from your CockroachDB {{ si
89
89
1. Select **Roles** and click **Create role**.
90
90
1. For **Trusted entity type**, select**AWS account**.
91
91
1. Choose **Another AWS account**.
92
-
1. For **Account ID**, provide the CockroachDB {{ site.data.products.advanced }} cloud provider account ID from step 3.
92
+
1. For **Account ID**, provide the CockroachDB {{ site.data.products.advanced }} cloud provider account ID from step 3.
93
+
1. (Optional) Select the option to **Require external ID**, and forthe value of **External ID**, provide a string determined by your security policy. If **External ID** is set, you **must** include itin the `POST`commandin Step 8.
93
94
1. Finish creating the IAM role with a suitable name. These instructions will use the role name `CockroachCloudMetricsExportRole`. You do not need to add any permissions.
94
95
95
96
{{site.data.alerts.callout_info}}
@@ -139,7 +140,7 @@ Perform the following steps to enable metrics export from your CockroachDB {{ si
@@ -148,6 +149,7 @@ Perform the following steps to enable metrics export from your CockroachDB {{ si
148
149
- `{aws_region}` is your AWS region, like `us-east-1`.
149
150
- `{role_arn}` is the ARN forthe `CockroachCloudMetricsExportRole` role you copiedin step 7. If you used a different role name there, be sure to use your role name in place of `CockroachCloudMetricsExportRole`in the above command.
150
151
- `{log_group_name}` is the target Amazon CloudWatch log group you created in step 1. This **must** be the same group name you provided in step 6.
152
+
- `{external_id}` is the **External ID** specified in the target Amazon cross-account IAM role in step 4.d.b. If specified, this **must** match the string provided in step 4.d.b. If not specified, leave this value empty, for example: `"external_id": ""`.
151
153
152
154
Specifying an AWS region (to `{aws_region}`) that you do not have a cluster in, or a region that only partially covers your cluster's nodes will result in missing metrics.
0 commit comments