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
| `targets` | _yes_ | `list(map(string))` | List of targets to scrape |
145
145
| `forward_to` | _yes_ | `list(MetricsReceiver)` | Must be a where scraped should be forwarded to |
146
-
| `keep_metrics` | _no_ | [see code](module.river#L228) | A regular expression of metrics to keep |
147
-
| `drop_metrics` | _no_ | [see code](module.river#L235) | A regular expression of metrics to drop |
146
+
| `keep_metrics` | _no_ | [see code](module.alloy#L228) | A regular expression of metrics to keep |
147
+
| `drop_metrics` | _no_ | [see code](module.alloy#L235) | A regular expression of metrics to drop |
148
148
| `scrape_interval` | _no_ | `60s` | How often to scrape metrics from the targets |
149
149
| `scrape_timeout` | _no_ | `10s` | How long before a scrape times out |
150
150
| `max_cache_size` | _no_ | `100000` | The maximum number of elements to hold in the relabeling cache. This should be at least 2x-5x your largest scrape target or samples appended rate. |
@@ -156,7 +156,7 @@ N/A
156
156
157
157
---
158
158
159
-
## `probes.river`
159
+
## `probes.alloy`
160
160
161
161
This module is meant to be used to automatically scrape targets based on a certain role and set of annotations. This module can be consumed
162
162
multiple times with different roles. The supported roles are:
@@ -267,8 +267,8 @@ The following labels are automatically added to exported targets.
| `targets` | _yes_ | `list(map(string))` | List of targets to scrape |
269
269
| `forward_to` | _yes_ | `list(MetricsReceiver)` | Must be a where scraped should be forwarded to |
270
-
| `keep_metrics` | _no_ | [see code](module.river#L228) | A regular expression of metrics to keep |
271
-
| `drop_metrics` | _no_ | [see code](module.river#L235) | A regular expression of metrics to drop |
270
+
| `keep_metrics` | _no_ | [see code](module.alloy#L228) | A regular expression of metrics to keep |
271
+
| `drop_metrics` | _no_ | [see code](module.alloy#L235) | A regular expression of metrics to drop |
272
272
| `scrape_interval` | _no_ | `60s` | How often to scrape metrics from the targets |
273
273
| `scrape_timeout` | _no_ | `10s` | How long before a scrape times out |
274
274
| `max_cache_size` | _no_ | `100000` | The maximum number of elements to hold in the relabeling cache. This should be at least 2x-5x your largest scrape target or samples appended rate. |
@@ -286,11 +286,11 @@ N/A
286
286
287
287
The following example will scrape all metric annotation instances in cluster.
0 commit comments