|
1 | 1 | Google Managed Prometheus |
2 | 2 | ========================= |
3 | 3 |
|
4 | | -.. warning:: |
5 | | - |
6 | | - Due to updates in the Google Managed Prometheus API, these instructions may be outdated. |
7 | | - Please contact our team for support on Slack (https://bit.ly/robusta-slack) or by email ( [email protected]). |
8 | | - We're working on updating the documentation. |
9 | | - |
10 | | -Configure Robusta to use Google Cloud's Managed Service for Prometheus. |
| 4 | +Configure Robusta to work with Google Cloud’s Managed Prometheus service. |
11 | 5 |
|
12 | 6 | Prerequisites |
13 | 7 | ------------- |
14 | 8 |
|
15 | | -Before configuring Robusta, ensure you have: |
| 9 | +Before setting up Robusta, make sure you have: |
16 | 10 |
|
17 | | -1. Google Managed Prometheus configured with: |
18 | | - |
19 | | - - `Prometheus Frontend <https://cloud.google.com/stackdriver/docs/managed-prometheus/query#ui-prometheus>`_ |
20 | | - - `Node Exporter <https://cloud.google.com/stackdriver/docs/managed-prometheus/exporters/node_exporter>`_ |
21 | | - - `Kubelet/cAdvisor scraping <https://cloud.google.com/stackdriver/docs/managed-prometheus/exporters/kubelet-cadvisor>`_ |
22 | | - - `Kube State Metrics <https://cloud.google.com/stackdriver/docs/managed-prometheus/exporters/kube_state_metrics>`_ |
| 11 | +* Google Managed Prometheus enabled |
| 12 | +* A Prometheus Frontend endpoint accessible from your cluster |
| 13 | + (If you don’t already have one, you can create it following the instructions `here <https://docs.cloud.google.com/stackdriver/docs/managed-prometheus/query-api-ui#ui-prometheus>`_). |
23 | 14 |
|
24 | 15 | Quick Start |
25 | 16 | ----------- |
26 | 17 |
|
27 | | -Add the following to your ``generated_values.yaml``: |
| 18 | +Add the following configuration to your ``generated_values.yaml`` file: |
28 | 19 |
|
29 | 20 | .. code-block:: yaml |
30 | 21 |
|
31 | 22 | globalConfig: |
32 | | - prometheus_url: "http://frontend.default.svc.cluster.local:9090" |
33 | | - alertmanager_url: "http://alertmanager.gmp-system.svc.cluster.local:9093" |
| 23 | + # Set this to the URL of your Prometheus Frontend endpoint, it may change depending on the namespace you deployed it to. |
| 24 | + prometheus_url: http://frontend.default.svc.cluster.local:9090 |
34 | 25 | check_prometheus_flags: false # Required for Google Managed Prometheus |
35 | 26 |
|
36 | 27 | Then :ref:`update Robusta <Simple Upgrade>`. |
|
0 commit comments