Skip to main content
Observability supports receiving data in the Prometheus remote_write format. To start sending metrics from a Vector instance, set up a sink of the prometheus_remote_write type.

Prerequisites

  1. If you don’t have a service account for observability services, create one.
  2. Make sure that the service account is in a group that has at least the editor role within your tenant; for example, the default editors group. 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 select editors. Only users with the admin role can add a service account to a group.
  3. Issue a static key for the service account. Set the service parameter to OBSERVABILITY. Copy the token of the static key. You will need it later in the configuration steps.

How to configure a sink

  1. Add the following remote_write section to the Vector configuration file:
    In this configuration, specify the following values:
  2. Restart or reload your Vector instance.
Now, your Vector instance sends metrics to Observability Metrics.