Skip to content

Commit 75658ff

Browse files
committed
Add attributes processor
Also update Alloy documentation links Signed-off-by: Pete Wall <[email protected]>
1 parent a63dbb3 commit 75658ff

File tree

96 files changed

+1283
-292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1283
-292
lines changed

charts/feature-annotation-autodiscovery/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ Actual integration testing in a live environment should be done in the main [k8s
7171

7272
| Key | Type | Default | Description |
7373
|-----|------|---------|-------------|
74-
| extraDiscoveryRules | string | `""` | Rule blocks to be added to the prometheus.operator.podmonitors component for PodMonitors. These relabeling rules are applied pre-scrape against the targets from service discovery. The relabelings defined in the PodMonitor object are applied first, then these relabelings are applied. Before the scrape, any remaining target labels that start with `__` (i.e. `__meta_kubernetes*`) are dropped. ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#rule-block)) |
74+
| extraDiscoveryRules | string | `""` | Rule blocks to be added to the prometheus.operator.podmonitors component for PodMonitors. These relabeling rules are applied pre-scrape against the targets from service discovery. The relabelings defined in the PodMonitor object are applied first, then these relabelings are applied. Before the scrape, any remaining target labels that start with `__` (i.e. `__meta_kubernetes*`) are dropped. ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) |
7575

7676
### Metric Processing Settings
7777

7878
| Key | Type | Default | Description |
7979
|-----|------|---------|-------------|
80-
| extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for PodMonitor objects. These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no `__meta*` labels are present. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) |
81-
| maxCacheSize | string | `nil` | Sets the max_cache_size for cadvisor prometheus.relabel component. This should be at least 2x-5x your largest scrape target or samples appended rate. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) Overrides global.maxCacheSize |
80+
| extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for PodMonitor objects. These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no `__meta*` labels are present. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) |
81+
| maxCacheSize | string | `nil` | Sets the max_cache_size for cadvisor prometheus.relabel component. This should be at least 2x-5x your largest scrape target or samples appended rate. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) Overrides global.maxCacheSize |
8282
| metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. |
8383
| metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. |
8484

@@ -93,5 +93,5 @@ Actual integration testing in a live environment should be done in the main [k8s
9393

9494
| Key | Type | Default | Description |
9595
|-----|------|---------|-------------|
96-
| global.maxCacheSize | int | `100000` | Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) This should be at least 2x-5x your largest scrape target or samples appended rate. |
96+
| global.maxCacheSize | int | `100000` | Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) This should be at least 2x-5x your largest scrape target or samples appended rate. |
9797
| global.scrapeInterval | string | `"60s"` | How frequently to scrape metrics. |

charts/feature-annotation-autodiscovery/values.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ global:
1212
# @section -- Global Settings
1313
scrapeInterval: 60s
1414

15-
# -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments))
15+
# -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments))
1616
# This should be at least 2x-5x your largest scrape target or samples appended rate.
1717
# @section -- Global Settings
1818
maxCacheSize: 100000
@@ -50,7 +50,7 @@ annotations:
5050
# These relabeling rules are applied pre-scrape against the targets from service discovery.
5151
# The relabelings defined in the PodMonitor object are applied first, then these relabelings are applied.
5252
# Before the scrape, any remaining target labels that start with `__` (i.e. `__meta_kubernetes*`) are dropped.
53-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#rule-block))
53+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block))
5454
# @section -- Discovery Settings
5555
extraDiscoveryRules: ""
5656

@@ -72,13 +72,13 @@ metricsTuning:
7272

7373
# -- Rule blocks to be added to the prometheus.relabel component for PodMonitor objects.
7474
# These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no `__meta*` labels are present.
75-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block))
75+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block))
7676
# @section -- Metric Processing Settings
7777
extraMetricProcessingRules: ""
7878

7979
# -- Sets the max_cache_size for cadvisor prometheus.relabel component.
8080
# This should be at least 2x-5x your largest scrape target or samples appended rate.
81-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments))
81+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments))
8282
# Overrides global.maxCacheSize
8383
# @raw
8484
# @section -- Metric Processing Settings

charts/feature-application-observability/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ Actual integration testing in a live environment should be done in the main [k8s
7979
| Key | Type | Default | Description |
8080
|-----|------|---------|-------------|
8181
| logs.enabled | bool | `true` | |
82-
| logs.filters | object | `{"log_record":[]}` | Apply a filter to logs received via receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/)) |
83-
| logs.transforms | object | `{"labels":["cluster","namespace","job","pod"],"log":[],"resource":[]}` | Apply a transformation to logs received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.transform/)) |
82+
| logs.filters | object | `{"log_record":[]}` | Apply a filter to logs received via receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) |
83+
| logs.transforms | object | `{"labels":["cluster","namespace","job","pod"],"log":[],"resource":[]}` | Apply a transformation to logs received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) |
8484
| logs.transforms.labels | list | `["cluster","namespace","job","pod"]` | The list of labels to set in the log stream. |
8585
| logs.transforms.log | list | `[]` | Log transformation rules. |
8686
| logs.transforms.resource | list | `[]` | Resource transformation rules. |
8787
| metrics.enabled | bool | `true` | |
88-
| metrics.filters | object | `{"datapoint":[],"metric":[]}` | Apply a filter to metrics received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/)) |
89-
| metrics.transforms | object | `{"datapoint":[],"metric":[],"resource":[]}` | Apply a transformation to metrics received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.transform/)) |
88+
| metrics.filters | object | `{"datapoint":[],"metric":[]}` | Apply a filter to metrics received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) |
89+
| metrics.transforms | object | `{"datapoint":[],"metric":[],"resource":[]}` | Apply a transformation to metrics received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) |
9090
| receivers.grpc.enabled | bool | `false` | |
9191
| receivers.grpc.include_debug_metrics | bool | `false` | |
9292
| receivers.grpc.port | int | `4317` | |
@@ -97,5 +97,5 @@ Actual integration testing in a live environment should be done in the main [k8s
9797
| receivers.zipkin.include_debug_metrics | bool | `false` | |
9898
| receivers.zipkin.port | int | `9411` | |
9999
| traces.enabled | bool | `true` | |
100-
| traces.filters | object | `{"span":[],"spanevent":[]}` | Apply a filter to traces received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/)) |
101-
| traces.transforms | object | `{"resource":[],"span":[],"spanevent":[]}` | Apply a transformation to traces received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.transform/)) |
100+
| traces.filters | object | `{"span":[],"spanevent":[]}` | Apply a filter to traces received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) |
101+
| traces.transforms | object | `{"resource":[],"span":[],"spanevent":[]}` | Apply a transformation to traces received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) |

charts/feature-application-observability/values.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ processors:
7575
metrics:
7676
enabled: true
7777
# -- Apply a filter to metrics received via the OTLP or OTLP HTTP receivers.
78-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/))
78+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/))
7979
filters:
8080
metric: []
8181
datapoint: []
8282
# -- Apply a transformation to metrics received via the OTLP or OTLP HTTP receivers.
83-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.transform/))
83+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/))
8484
transforms:
8585
resource: []
8686
metric: []
@@ -89,11 +89,11 @@ metrics:
8989
logs:
9090
enabled: true
9191
# -- Apply a filter to logs received via receivers.
92-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/))
92+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/))
9393
filters:
9494
log_record: []
9595
# -- Apply a transformation to logs received via the OTLP or OTLP HTTP receivers.
96-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.transform/))
96+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/))
9797
transforms:
9898
# -- Resource transformation rules.
9999
resource: []
@@ -105,12 +105,12 @@ logs:
105105
traces:
106106
enabled: true
107107
# -- Apply a filter to traces received via the OTLP or OTLP HTTP receivers.
108-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/))
108+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/))
109109
filters:
110110
span: []
111111
spanevent: []
112112
# -- Apply a transformation to traces received via the OTLP or OTLP HTTP receivers.
113-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.transform/))
113+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/))
114114
transforms:
115115
resource: []
116116
span: []

charts/feature-cluster-events/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Actual integration testing in a live environment should be done in the main [k8s
4141

4242
| Key | Type | Default | Description |
4343
|-----|------|---------|-------------|
44-
| extraProcessingStages | string | `""` | Stage blocks to be added to the loki.process component for cluster events. ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki.process/#blocks)) This value is templated so that you can refer to other values from this file. |
44+
| extraProcessingStages | string | `""` | Stage blocks to be added to the loki.process component for cluster events. ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki/loki.process/#blocks)) This value is templated so that you can refer to other values from this file. |
4545

4646
### General settings
4747

charts/feature-cluster-events/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespaces: []
1616
logFormat: logfmt
1717

1818
# -- Stage blocks to be added to the loki.process component for cluster events.
19-
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki.process/#blocks))
19+
# ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki/loki.process/#blocks))
2020
# This value is templated so that you can refer to other values from this file.
2121
# @section -- Processing settings
2222
extraProcessingStages: ""

0 commit comments

Comments
 (0)