Skip to content

Commit

Permalink
Formatting / Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bentonam committed Jun 10, 2024
1 parent fb6b5a3 commit 055641b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions charts/k8s-monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -753,15 +753,15 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely
| rules.loki.namespace.label_expressions | list | `[]` | Label expressions for Namespace resources. |
| rules.loki.namespace.label_selectors | object | `{}` | Label selector for Namespace resources. |
| rules.loki.prefix | string | alloy | Prefix to be added to the rule namespace, used to differentiate multiple Alloy deployments added. |
| rules.loki.rule.label_expressions | list | `[]` | Label expressions for PrometheusRule resources. Example: ```alloy - key: team operator: In values: ["ops"] ``` |
| rules.loki.rule.label_selectors | object | `{"rule_type":"loki"}` | Label selectors for PrometheusRule resources as key/pair values. Example: ```alloy label_selectors: rule_type: loki sync: "true" loki: "true" ``` |
| rules.loki.rule.label_expressions | list | `[]` | Label expressions for PrometheusRule resources. |
| rules.loki.rule.label_selectors | object | `{"rule_type":"loki"}` | Label selectors for PrometheusRule resources as key/pair values. |
| rules.loki.sync_interval | string | 5m | Amount of time between reconciliations with Mimir. |
| rules.mimir.namespace.label_expressions | list | `[]` | Label expressions for Namespace resources. |
| rules.mimir.namespace.label_selectors | object | `{}` | Label selector for Namespace resources. |
| rules.mimir.prefix | string | alloy | Prefix to be added to the rule namespace, used to differentiate multiple Alloy deployments added. |
| rules.mimir.prometheus_http_prefix | string | /api/prom | Path prefix for Mimir’s Prometheus endpoint (gem-path-prefix). |
| rules.mimir.rule.label_expressions | list | `[]` | Label expressions for PrometheusRule resources. Example: ```alloy - key: team operator: In values: ["ops"] ``` |
| rules.mimir.rule.label_selectors | object | `{"rule_type":"mimir"}` | Label selectors for PrometheusRule resources as key/pair values. Example: ```alloy label_selectors: rule_type: mimir sync: "true" mimir: "true" ``` |
| rules.mimir.rule.label_expressions | list | `[]` | Label expressions for PrometheusRule resources. |
| rules.mimir.rule.label_selectors | object | `{"rule_type":"mimir"}` | Label selectors for PrometheusRule resources as key/pair values. |
| rules.mimir.sync_interval | string | 5m | Amount of time between reconciliations with Mimir. |

## Customizing the configuration
Expand Down
8 changes: 4 additions & 4 deletions charts/k8s-monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1519,23 +1519,23 @@ rules:
label_expressions: []
# Selector for PrometheusRule resources.
rule:
# -- Label selectors for PrometheusRule resources as key/pair values.
# Example:
# ```alloy
# label_selectors:
# rule_type: mimir
# sync: "true"
# mimir: "true"
# ```
# -- Label selectors for PrometheusRule resources as key/pair values.
label_selectors:
rule_type: mimir
# -- Label expressions for PrometheusRule resources.
# Example:
# ```alloy
# - key: team
# operator: In
# values: ["ops"]
# ```
# -- Label expressions for PrometheusRule resources.
label_expressions: []

# Settings for Loki rules, see: https://grafana.com/docs/alloy/latest/reference/components/loki.rules.kubernetes/
Expand All @@ -1557,23 +1557,23 @@ rules:
label_expressions: []
# Selector for PrometheusRule resources.
rule:
# -- Label selectors for PrometheusRule resources as key/pair values.
# Example:
# ```alloy
# label_selectors:
# rule_type: loki
# sync: "true"
# loki: "true"
# ```
# -- Label selectors for PrometheusRule resources as key/pair values.
label_selectors:
rule_type: loki
# -- Label expressions for PrometheusRule resources.
# Example:
# ```alloy
# - key: team
# operator: In
# values: ["ops"]
# ```
# -- Label expressions for PrometheusRule resources.
label_expressions: []

# Telemetry data receiver settings
Expand Down
18 changes: 9 additions & 9 deletions examples/rules-sync/output.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 055641b

Please sign in to comment.