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
*[Deployment with the Prometheus Operator](./kube/prometheus-meta-operated.yaml)
46
46
47
+
### Configuration
48
+
49
+
The majority of configuration options for the sidecar are set through flags. To see all available flags, run:
50
+
51
+
```
52
+
stackdriver-prometheus-sidecar --help
53
+
```
54
+
55
+
#### Filters
56
+
57
+
The `--filter` flag allows to provide filters which all series have to pass before being sent to Stackdriver. The flag may be repeated to provide several filters. Filters use the same syntax as the well-known PromQL label matchers, e.g.:
This drops all series which do not have a `job` label `k8s` and all metrics that have a name starting with `cadvisor_`.
64
+
65
+
#### File
66
+
67
+
The sidecar can also be provided with a configuration file. It allows to define static metric renames and to overwrite metric metadata which is usually provided by Prometheus. A configuration file should not be required for the majority of users.
0 commit comments