Skip to content

Commit

Permalink
Updated max_cache_size description
Browse files Browse the repository at this point in the history
  • Loading branch information
bentonam committed Feb 7, 2024
1 parent eb5ff8c commit 38c5976
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 35 deletions.
36 changes: 18 additions & 18 deletions modules/kubernetes/metrics/jobs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./agent.river#L170) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -56,7 +56,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `drop_metrics` | `false` | `""` | A regex of metrics to drop |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -76,7 +76,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `scrape_port_named_metrics` | `false` | Whether or not to automatically scrape endpoints that have a port with 'metrics' in the name |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -91,7 +91,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./agent.river#L115) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -109,7 +109,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./agent.river#L128) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -127,7 +127,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./agent.river#L128) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -146,7 +146,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `drop_les` | `false` | [see module](./kube-apiserver.river#163) | Regex of metric les label values to drop |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -161,7 +161,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./kube-probes.river#L117) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -179,7 +179,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./kube-proxy.river#L124) | A regex of metrics to drop |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -194,7 +194,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./kube-resource.river#L117) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -212,7 +212,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./kube-state-metrics.river#L127) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -227,7 +227,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./kubelet.river#L116) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -245,7 +245,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./loki.river#L186) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -263,7 +263,7 @@ The following jobs are completely isolated and have no dependencies on other mod
| `keep_metrics` | `false` | [see module](./memcached.river#L170) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

___
Expand All @@ -281,7 +281,7 @@ ___
| `keep_metrics` | `false` | [see module](./mimir.river#L186) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -299,7 +299,7 @@ ___
| `keep_metrics` | `false` | [see module](./node-exporter.river#L141) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand All @@ -317,7 +317,7 @@ ___
| `keep_metrics` | `false` | [see module](./opencost.river#L123) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |

---
Expand Down Expand Up @@ -349,5 +349,5 @@ ___
| `keep_metrics` | `false` | [see module](./tempo.river#L183) | A regex of metrics to keep |
| `scrape_interval` | `false` | `60s` | How often to scrape metrics from the targets |
| `scrape_timeout` | `false` | `10s` | How long before a scrape times out |
| `max_cache_size` | `false` | `100000` | The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient |
| `max_cache_size` | `false` | `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. |
| `clustering` | `false` | `false` | Whether or not clustering should be enabled |
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/agent.river
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/annotations-probe.river
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/annotations-scrape.river
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/cadvisor.river
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/gitlab-exporter.river
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/grafana.river
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/kube-apiserver.river
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/kube-probes.river
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/metrics/jobs/kube-proxy.river
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ argument "scrape_timeout" {
}

argument "max_cache_size" {
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). Only increase if the amount of metrics returned is extremely large, the default will almost always be sufficient"
comment = "The maximum number of elements to hold in the relabeling cache (default: 100000). This should be at least 2x-5x your largest scrape target or samples appended rate."
optional = true
}

Expand Down
Loading

0 comments on commit 38c5976

Please sign in to comment.