github.com/observiq/bindplane-agent@v1.51.0/config/google_managed_prometheus/README.md (about)

     1  # Google Managed Prometheus
     2  
     3  The Prometheus Exporter can be used to send metrics to [Google Managed Prometheus](https://cloud.google.com/stackdriver/docs/managed-prometheus) (GMP). This directory contains sub directories with usercase specific configurations, all of which are compatible with GMP.
     4  
     5  ## Google Cloud APIs
     6  
     7  Enable the following APIs.
     8  - Cloud Metrics
     9  
    10  To learn more about enabling APIs, see the [documentation](https://cloud.google.com/endpoints/docs/openapi/enable-api).
    11  
    12  ## Prometheus
    13  
    14  It is assumed that you have Google's [Prometheus fork](https://github.com/GoogleCloudPlatform/prometheus/tree/main) running within your
    15  environment.
    16  
    17  An example Prometheus configuration:
    18  
    19  ```yaml
    20  global:
    21    external_labels:
    22      project_id: otel-managed-prometheus
    23      location: us-east1-b
    24      namespace: otelprom
    25  
    26  scrape_configs:
    27    # Collector metrics
    28    - job_name: "otelcol"
    29      static_configs:
    30        - targets:
    31          # Prometheus exporter metrics
    32          - "localhost:9000"
    33  ```