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
This document is for users of the previous Stackdriver Prometheus integration [strackdriver-prometheus](https://github.com/Stackdriver/stackdriver-prometheus) who wish to migrate to the integration in this repository ([stackdriver-prometheus-sidecar](https://github.com/Stackdriver/stackdriver-prometheus-sidecar/new/master/docs)). For full instruction on how to set up the sidecar, refer to the [README](README.md).
4
+
5
+
The old integration packaged some of the Prometheus Server functionality in the same binary and was configured in the Prometheus Server configuration file. The new integration runs side-by-side with an existing Prometheus Server and is configured directly.
6
+
7
+
## Required configuration
8
+
9
+
In the old configuration you had a block like:
10
+
11
+
```yaml
12
+
global:
13
+
external_labels:
14
+
_stackdriver_project_id: 'prometheus-to-sd'
15
+
_kubernetes_cluster_name: 'prom-test-cluster-1'
16
+
_kubernetes_location: 'us-central1-a'
17
+
```
18
+
19
+
In the new configuration you pass those variables as command-line flags to the sidecar:
0 commit comments