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
<2> The authentication method and credentials for the endpoint.
79
75
Currently supported authentication methods are AWS Signature Version 4, authentication using HTTP in an `Authorization` request header, Basic authentication, OAuth 2.0, and TLS client.
For `<your_write_relabel_configs>` substitute a list of write relabel configurations for metrics that you want to send to the remote endpoint.
102
-
+
103
-
The following sample shows how to forward a single metric called `my_metric`:
96
+
<1> Add configuration for metrics that you want to send to the remote endpoint.
104
97
+
98
+
.Example of forwarding a single metric called `my_metric`
105
99
[source,yaml]
106
100
----
107
101
apiVersion: v1
@@ -118,10 +112,26 @@ data:
118
112
- sourceLabels: [__name__]
119
113
regex: 'my_metric'
120
114
action: keep
121
-
122
115
----
123
116
+
124
-
See the link:https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config[Prometheus relabel_config documentation] for information about write relabel configuration options.
117
+
.Example of forwarding metrics called `my_metric_1` and `my_metric_2` in `my_namespace` namespace
<2> The authentication method and credentials for the endpoint.
156
163
Currently supported authentication methods are AWS Signature Version 4, authentication using HTTP an `Authorization` request header, basic authentication, OAuth 2.0, and TLS client.
For `<your_write_relabel_configs>` substitute a list of write relabel configurations for metrics that you want to send to the remote endpoint.
179
-
+
180
-
The following sample shows how to forward a single metric called `my_metric`:
184
+
<1> Add configuration for metrics that you want to send to the remote endpoint.
181
185
+
186
+
.Example of forwarding a single metric called `my_metric`
182
187
[source,yaml]
183
188
----
184
189
apiVersion: v1
@@ -195,9 +200,25 @@ data:
195
200
- sourceLabels: [__name__]
196
201
regex: 'my_metric'
197
202
action: keep
198
-
199
203
----
200
204
+
201
-
See the link:https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config[Prometheus relabel_config documentation] for information about write relabel configuration options.
205
+
.Example of forwarding metrics called `my_metric_1` and `my_metric_2` in `my_namespace` namespace
0 commit comments