remote_write format. To start sending metrics from a Prometheus instance, update its configuration.
Prerequisites
- If you don’t have a service account for observability services, create one.
-
Make sure that the service account is in a group that has at least the
editorrole within your tenant; for example, the defaulteditorsgroup. You can check this in the Administration → IAM section of the web console. If the service account is not in the required group, click → Add to group, and selecteditors. Only users with theadminrole can add a service account to a group. -
Issue a static key for the service account. Set the
serviceparameter toOBSERVABILITY. Copy the token of the static key. You will need it later in the configuration steps.
How to configure the instance
-
Add the
remote_writesection to the Prometheus configuration file:In this configuration, specify the following values:- Region ID from the region list.
- Project ID.
- Token value of the static key that you got earlier.
- Restart your Prometheus instance or reload its configuration.