diff --git a/charts/feature-annotation-autodiscovery/README.md b/charts/feature-annotation-autodiscovery/README.md index 28e1e0907..6a608ba07 100644 --- a/charts/feature-annotation-autodiscovery/README.md +++ b/charts/feature-annotation-autodiscovery/README.md @@ -71,14 +71,14 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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)) | +| 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)) | ### Metric Processing Settings | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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)) | -| 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 | +| 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)) | +| 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 | | metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | @@ -93,5 +93,5 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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. | +| 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. | | global.scrapeInterval | string | `"60s"` | How frequently to scrape metrics. | diff --git a/charts/feature-annotation-autodiscovery/values.yaml b/charts/feature-annotation-autodiscovery/values.yaml index 9313e7e62..fd44d5ed3 100644 --- a/charts/feature-annotation-autodiscovery/values.yaml +++ b/charts/feature-annotation-autodiscovery/values.yaml @@ -12,7 +12,7 @@ global: # @section -- Global Settings scrapeInterval: 60s - # -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) + # -- 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. # @section -- Global Settings maxCacheSize: 100000 @@ -50,7 +50,7 @@ annotations: # 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)) +# ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Discovery Settings extraDiscoveryRules: "" @@ -72,13 +72,13 @@ metricsTuning: # -- 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)) +# ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metric Processing Settings extraMetricProcessingRules: "" # -- 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)) +# ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @raw # @section -- Metric Processing Settings diff --git a/charts/feature-application-observability/README.md b/charts/feature-application-observability/README.md index 17a897809..a67effbb5 100644 --- a/charts/feature-application-observability/README.md +++ b/charts/feature-application-observability/README.md @@ -79,14 +79,14 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | logs.enabled | bool | `true` | | -| 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/)) | -| 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/)) | +| 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/)) | +| 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/)) | | logs.transforms.labels | list | `["cluster","namespace","job","pod"]` | The list of labels to set in the log stream. | | logs.transforms.log | list | `[]` | Log transformation rules. | | logs.transforms.resource | list | `[]` | Resource transformation rules. | | metrics.enabled | bool | `true` | | -| 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/)) | -| 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/)) | +| 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/)) | +| 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/)) | | receivers.grpc.enabled | bool | `false` | | | receivers.grpc.include_debug_metrics | bool | `false` | | | receivers.grpc.port | int | `4317` | | @@ -97,5 +97,5 @@ Actual integration testing in a live environment should be done in the main [k8s | receivers.zipkin.include_debug_metrics | bool | `false` | | | receivers.zipkin.port | int | `9411` | | | traces.enabled | bool | `true` | | -| 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/)) | -| 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/)) | +| 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/)) | +| 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/)) | diff --git a/charts/feature-application-observability/values.yaml b/charts/feature-application-observability/values.yaml index 82c10ab98..8f1a8726f 100644 --- a/charts/feature-application-observability/values.yaml +++ b/charts/feature-application-observability/values.yaml @@ -75,12 +75,12 @@ processors: metrics: enabled: true # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) filters: metric: [] datapoint: [] # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) transforms: resource: [] metric: [] @@ -89,11 +89,11 @@ metrics: logs: enabled: true # -- Apply a filter to logs received via receivers. - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) filters: log_record: [] # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) transforms: # -- Resource transformation rules. resource: [] @@ -105,12 +105,12 @@ logs: traces: enabled: true # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) filters: 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) transforms: resource: [] span: [] diff --git a/charts/feature-cluster-events/README.md b/charts/feature-cluster-events/README.md index 571087ef3..f41ae6a34 100644 --- a/charts/feature-cluster-events/README.md +++ b/charts/feature-cluster-events/README.md @@ -41,7 +41,7 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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. | +| 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. | ### General settings diff --git a/charts/feature-cluster-events/values.yaml b/charts/feature-cluster-events/values.yaml index 3d083cc15..bc513a3b2 100644 --- a/charts/feature-cluster-events/values.yaml +++ b/charts/feature-cluster-events/values.yaml @@ -16,7 +16,7 @@ namespaces: [] logFormat: logfmt # -- 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)) +# ([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. # @section -- Processing settings extraProcessingStages: "" diff --git a/charts/feature-cluster-metrics/README.md b/charts/feature-cluster-metrics/README.md index fa6ef1ab5..5ef98ff5d 100644 --- a/charts/feature-cluster-metrics/README.md +++ b/charts/feature-cluster-metrics/README.md @@ -167,9 +167,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | apiServer.enabled | bool | `false` | Scrape metrics from the API Server. | -| apiServer.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the API Server. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| apiServer.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the API Server. 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)) | -| apiServer.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 metrics.maxCacheSize | +| apiServer.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the API Server. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| apiServer.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the API Server. 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)) | +| apiServer.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 metrics.maxCacheSize | | apiServer.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | apiServer.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | apiServer.scrapeInterval | string | 60s | How frequently to scrape metrics from the API Server Overrides metrics.scrapeInterval | @@ -179,9 +179,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | cadvisor.enabled | bool | `true` | Scrape metrics from cAdvisor. | -| cadvisor.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for cAdvisor entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| cadvisor.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for cAdvisor metrics. 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)) | -| cadvisor.maxCacheSize | string | `100000` | 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 | +| cadvisor.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for cAdvisor entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| cadvisor.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for cAdvisor metrics. 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)) | +| cadvisor.maxCacheSize | string | `100000` | 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 | | cadvisor.metricsTuning.dropEmptyContainerLabels | bool | `true` | Drop metrics that have an empty container label | | cadvisor.metricsTuning.dropEmptyImageLabels | bool | `true` | Drop metrics that have an empty image label | | cadvisor.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | @@ -214,7 +214,7 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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. | +| 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. | | global.platform | string | `""` | The specific platform for this cluster. Will enable compatibility for some platforms. Supported options: (empty) or "openshift". | | global.scrapeInterval | string | `"60s"` | How frequently to scrape metrics. | @@ -223,10 +223,10 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | kepler.enabled | bool | `false` | Deploy and scrape Kepler metrics. | -| kepler.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kepler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| kepler.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. | +| kepler.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kepler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| kepler.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. | | kepler.labelMatchers | object | `{"app.kubernetes.io/name":"kepler"}` | Label matchers used to select the Kepler pods | -| kepler.maxCacheSize | string | `100000` | Sets the max_cache_size for the prometheus.relabel component for Kepler. 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 | +| kepler.maxCacheSize | string | `100000` | Sets the max_cache_size for the prometheus.relabel component for Kepler. 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 | | kepler.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | kepler.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | kepler.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from Kepler to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -238,10 +238,10 @@ Actual integration testing in a live environment should be done in the main [k8s |-----|------|---------|-------------| | kube-state-metrics.deploy | bool | `true` | Deploy kube-state-metrics. Set to false if your cluster already has kube-state-metrics deployed. | | kube-state-metrics.enabled | bool | `true` | Scrape metrics from kube-state-metrics. | -| kube-state-metrics.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for kube-state-metrics. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| kube-state-metrics.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for kube-state-metrics metrics. 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)) | +| kube-state-metrics.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for kube-state-metrics. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| kube-state-metrics.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for kube-state-metrics metrics. 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)) | | kube-state-metrics.labelMatchers | object | `{"app.kubernetes.io/name":"kube-state-metrics"}` | Labels used to select the kube-state-metrics service. | -| kube-state-metrics.maxCacheSize | string | `100000` | 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 | +| kube-state-metrics.maxCacheSize | string | `100000` | 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 | | kube-state-metrics.metricLabelsAllowlist | list | `["nodes=[agentpool,alpha.eksctl.io/cluster-name,alpha.eksctl.io/nodegroup-name,beta.kubernetes.io/instance-type,cloud.google.com/gke-nodepool,cluster_name,ec2_amazonaws_com_Name,ec2_amazonaws_com_aws_autoscaling_groupName,ec2_amazonaws_com_aws_autoscaling_group_name,ec2_amazonaws_com_name,eks_amazonaws_com_nodegroup,k8s_io_cloud_provider_aws,karpenter.sh/nodepool,kubernetes.azure.com/cluster,kubernetes.io/arch,kubernetes.io/hostname,kubernetes.io/os,node.kubernetes.io/instance-type,topology.kubernetes.io/region,topology.kubernetes.io/zone]"]` | `kube__labels` metrics to generate. The default is to include a useful set for Node labels. | | kube-state-metrics.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | kube-state-metrics.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | @@ -253,9 +253,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | kubeControllerManager.enabled | bool | `false` | Scrape metrics from the Kube Controller Manager | -| kubeControllerManager.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Controller Manager. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| kubeControllerManager.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Controller Manager. 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)) | -| kubeControllerManager.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 metrics.maxCacheSize | +| kubeControllerManager.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Controller Manager. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| kubeControllerManager.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Controller Manager. 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)) | +| kubeControllerManager.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 metrics.maxCacheSize | | kubeControllerManager.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | kubeControllerManager.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | kubeControllerManager.port | int | `10257` | Port number used by the Kube Controller Manager, set by `--secure-port.` | @@ -266,9 +266,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | kubeProxy.enabled | bool | `false` | Scrape metrics from the Kube Proxy | -| kubeProxy.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Proxy. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| kubeProxy.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Proxy. 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)) | -| kubeProxy.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 metrics.maxCacheSize | +| kubeProxy.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Proxy. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| kubeProxy.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Proxy. 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)) | +| kubeProxy.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 metrics.maxCacheSize | | kubeProxy.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | kubeProxy.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | kubeProxy.port | int | `10249` | Port number used by the Kube Proxy, set in `--metrics-bind-address`. | @@ -279,9 +279,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | kubeScheduler.enabled | bool | `false` | Scrape metrics from the Kube Scheduler | -| kubeScheduler.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Scheduler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| kubeScheduler.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Scheduler. 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)) | -| kubeScheduler.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 metrics.maxCacheSize | +| kubeScheduler.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Scheduler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| kubeScheduler.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Scheduler. 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)) | +| kubeScheduler.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 metrics.maxCacheSize | | kubeScheduler.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | kubeScheduler.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | kubeScheduler.port | int | `10259` | Port number used by the Kube Scheduler, set by `--secure-port`. | @@ -292,9 +292,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | kubelet.enabled | bool | `true` | Scrape metrics from kubelet. | -| kubelet.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| kubelet.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet metrics. 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)) | -| kubelet.maxCacheSize | string | `100000` | 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 | +| kubelet.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| kubelet.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet metrics. 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)) | +| kubelet.maxCacheSize | string | `100000` | 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 | | kubelet.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | kubelet.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | kubelet.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from the Kubelet to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -305,9 +305,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | kubeletResource.enabled | bool | `true` | Scrape resource metrics from kubelet. | -| kubeletResource.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet Resources entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| kubeletResource.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet Resources metrics. 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)) | -| kubeletResource.maxCacheSize | string | `100000` | 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 | +| kubeletResource.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet Resources entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| kubeletResource.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet Resources metrics. 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)) | +| kubeletResource.maxCacheSize | string | `100000` | 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 | | kubeletResource.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | kubeletResource.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | kubeletResource.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of resources metrics from the Kubelet to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -324,10 +324,10 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | node-exporter.enabled | bool | `true` | Scrape metrics from Node Exporter. | -| node-exporter.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Node Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| node-exporter.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Node Exporter metrics. 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)) | +| node-exporter.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Node Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| node-exporter.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Node Exporter metrics. 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)) | | node-exporter.labelMatchers | object | `{"app.kubernetes.io/name":"node-exporter"}` | Labels used to select the Node Exporter pods. | -| node-exporter.maxCacheSize | string | `100000` | 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 | +| node-exporter.maxCacheSize | string | `100000` | 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 | | node-exporter.metricsTuning.dropMetricsForFilesystem | list | `["tempfs"]` | Drop metrics for the given filesystem types | | node-exporter.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | node-exporter.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | @@ -346,10 +346,10 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | windows-exporter.enabled | bool | `true` | Scrape node metrics | -| windows-exporter.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Windows Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| windows-exporter.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Windows Exporter metrics. 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)) | +| windows-exporter.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Windows Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| windows-exporter.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Windows Exporter metrics. 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)) | | windows-exporter.labelMatchers | object | `{"app.kubernetes.io/name":"windows-exporter"}` | Labels used to select the Windows Exporter pods. | -| windows-exporter.maxCacheSize | string | `100000` | 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 | +| windows-exporter.maxCacheSize | string | `100000` | 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 | | windows-exporter.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | windows-exporter.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | windows-exporter.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from Windows Exporter to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | diff --git a/charts/feature-cluster-metrics/values.yaml b/charts/feature-cluster-metrics/values.yaml index a212096b8..fcbfb0308 100644 --- a/charts/feature-cluster-metrics/values.yaml +++ b/charts/feature-cluster-metrics/values.yaml @@ -16,7 +16,7 @@ global: # @section -- Global Settings scrapeInterval: 60s - # -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) + # -- 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. # @section -- Global Settings maxCacheSize: 100000 @@ -42,13 +42,13 @@ kubelet: # -- Rule blocks to be added to the discovery.relabel component for Kubelet entities. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Kubelet extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Kubelet metrics. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Kubelet extraMetricProcessingRules: "" @@ -67,7 +67,7 @@ kubelet: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @default -- `100000` # @section -- Kubelet @@ -87,13 +87,13 @@ kubeletResource: # -- Rule blocks to be added to the discovery.relabel component for Kubelet Resources entities. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Kubelet Resources extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Kubelet Resources metrics. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Kubelet Resources extraMetricProcessingRules: "" @@ -112,7 +112,7 @@ kubeletResource: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @default -- `100000` # @section -- Kubelet Resources @@ -132,13 +132,13 @@ cadvisor: # -- Rule blocks to be added to the discovery.relabel component for cAdvisor entities. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- cAdvisor extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for cAdvisor metrics. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- cAdvisor extraMetricProcessingRules: "" @@ -179,7 +179,7 @@ cadvisor: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @default -- `100000` # @section -- cAdvisor @@ -201,13 +201,13 @@ apiServer: # -- Rule blocks to be added to the discovery.relabel component for the API Server. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- API Server extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the API Server. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- API Server extraMetricProcessingRules: "" @@ -222,7 +222,7 @@ apiServer: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- API Server @@ -248,13 +248,13 @@ kubeControllerManager: # -- Rule blocks to be added to the discovery.relabel component for the Kube Controller Manager. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Kube Controller Manager extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the Kube Controller Manager. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Kube Controller Manager extraMetricProcessingRules: "" @@ -269,7 +269,7 @@ kubeControllerManager: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Kube Controller Manager @@ -295,13 +295,13 @@ kubeProxy: # -- Rule blocks to be added to the discovery.relabel component for the Kube Proxy. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Kube Proxy extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the Kube Proxy. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Kube Proxy extraMetricProcessingRules: "" @@ -316,7 +316,7 @@ kubeProxy: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Kube Proxy @@ -342,13 +342,13 @@ kubeScheduler: # -- Rule blocks to be added to the discovery.relabel component for the Kube Scheduler. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Kube Scheduler extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the Kube Scheduler. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Kube Scheduler extraMetricProcessingRules: "" @@ -363,7 +363,7 @@ kubeScheduler: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Kube Scheduler @@ -387,13 +387,13 @@ kube-state-metrics: # -- Rule blocks to be added to the discovery.relabel component for kube-state-metrics. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- kube-state-metrics extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for kube-state-metrics metrics. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- kube-state-metrics extraMetricProcessingRules: "" @@ -417,7 +417,7 @@ kube-state-metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @default -- `100000` # @section -- kube-state-metrics @@ -463,13 +463,13 @@ node-exporter: # -- Rule blocks to be added to the discovery.relabel component for Node Exporter. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Node Exporter extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Node Exporter metrics. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Node Exporter extraMetricProcessingRules: "" @@ -499,7 +499,7 @@ node-exporter: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @default -- `100000` # @section -- Node Exporter @@ -549,13 +549,13 @@ windows-exporter: # -- Rule blocks to be added to the discovery.relabel component for Windows Exporter. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Windows Exporter extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Windows Exporter metrics. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Windows Exporter extraMetricProcessingRules: "" @@ -579,7 +579,7 @@ windows-exporter: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @default -- `100000` # @section -- Windows Exporter @@ -620,11 +620,11 @@ kepler: # -- Rule blocks to be added to the discovery.relabel component for Kepler. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Kepler extraDiscoveryRules: "" - # -- Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) + # -- Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. # @section -- Kepler extraMetricProcessingRules: "" @@ -651,7 +651,7 @@ kepler: # -- Sets the max_cache_size for the prometheus.relabel component for Kepler. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @default -- `100000` # @section -- Kepler diff --git a/charts/feature-integrations/README.md b/charts/feature-integrations/README.md index 76878daae..66869e2a8 100644 --- a/charts/feature-integrations/README.md +++ b/charts/feature-integrations/README.md @@ -101,5 +101,5 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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. | +| 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. | | global.scrapeInterval | string | `"60s"` | How frequently to scrape metrics. | diff --git a/charts/feature-integrations/values.yaml b/charts/feature-integrations/values.yaml index 51af8386c..933f0fb12 100644 --- a/charts/feature-integrations/values.yaml +++ b/charts/feature-integrations/values.yaml @@ -12,7 +12,7 @@ global: # @section -- Global Settings scrapeInterval: 60s - # -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) + # -- 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. # @section -- Global Settings maxCacheSize: 100000 diff --git a/charts/feature-pod-logs/README.md b/charts/feature-pod-logs/README.md index 60abcb0df..021398ac9 100644 --- a/charts/feature-pod-logs/README.md +++ b/charts/feature-pod-logs/README.md @@ -61,5 +61,5 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | extraDiscoveryRules | string | `""` | Rules to filter pods for log gathering. Only used for "volumes" or "kubernetesApi" gather methods. | -| extraLogProcessingStages | string | `""` | Stage blocks to be added to the loki.process component for pod logs. ([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. | +| extraLogProcessingStages | string | `""` | Stage blocks to be added to the loki.process component for pod logs. ([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. | | gatherMethod | string | `"volumes"` | The method to gather pod logs. Options are "volumes", "kubernetesApi", "OpenShiftClusterLogForwarder" (experimental). | diff --git a/charts/feature-pod-logs/values.yaml b/charts/feature-pod-logs/values.yaml index d08065e6d..bd81d3ef5 100644 --- a/charts/feature-pod-logs/values.yaml +++ b/charts/feature-pod-logs/values.yaml @@ -27,7 +27,7 @@ excludeNamespaces: [] extraDiscoveryRules: "" # -- Stage blocks to be added to the loki.process component for pod logs. -# ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki.process/#blocks)) +# ([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. extraLogProcessingStages: "" diff --git a/charts/feature-profiling/README.md b/charts/feature-profiling/README.md index 23b6e7028..96d346bfc 100644 --- a/charts/feature-profiling/README.md +++ b/charts/feature-profiling/README.md @@ -42,7 +42,7 @@ Actual integration testing in a live environment should be done in the main [k8s |-----|------|---------|-------------| | ebpf.demangle | string | `"none"` | C++ demangle mode. Available options are: none, simplified, templates, full | | ebpf.enabled | bool | `true` | Gather profiles using eBPF | -| ebpf.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| ebpf.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | ebpf.namespaces | list | `[]` | Which namespaces to look for pods with profiles. | ### General settings @@ -57,7 +57,7 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | java.enabled | bool | `true` | Gather profiles by scraping java HTTP endpoints | -| java.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Java profile sources. ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#rule-block)) | +| java.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Java profile sources. ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) | | java.namespaces | list | `[]` | Which namespaces to look for pods with profiles. | | java.profilingConfig | object | `{"alloc":"512k","cpu":true,"interval":"60s","lock":"10ms","sampleRate":100}` | Configuration for the async-profiler | @@ -66,6 +66,6 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | pprof.enabled | bool | `true` | Gather profiles by scraping pprof HTTP endpoints | -| pprof.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| pprof.extraDiscoveryRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | pprof.namespaces | list | `[]` | Which namespaces to look for pods with profiles. | | pprof.types | object | `{"block":true,"cpu":true,"fgprof":true,"godeltaprof_block":false,"godeltaprof_memory":false,"godeltaprof_mutex":false,"goroutine":true,"memory":true,"mutex":true}` | Profile types to gather | diff --git a/charts/feature-profiling/values.yaml b/charts/feature-profiling/values.yaml index 5472f662c..62d0b42d9 100644 --- a/charts/feature-profiling/values.yaml +++ b/charts/feature-profiling/values.yaml @@ -21,7 +21,7 @@ ebpf: # -- Rule blocks to be added to the discovery.relabel component for eBPF profile sources. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- eBPF extraDiscoveryRules: "" @@ -39,7 +39,7 @@ java: namespaces: [] # -- Rule blocks to be added to the discovery.relabel component for Java profile sources. - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#rule-block)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Java extraDiscoveryRules: "" @@ -64,7 +64,7 @@ pprof: # -- Rule blocks to be added to the discovery.relabel component for eBPF profile sources. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- pprof extraDiscoveryRules: "" diff --git a/charts/feature-prometheus-operator-objects/README.md b/charts/feature-prometheus-operator-objects/README.md index 71a734414..b9c7b44d4 100644 --- a/charts/feature-prometheus-operator-objects/README.md +++ b/charts/feature-prometheus-operator-objects/README.md @@ -65,7 +65,7 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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. | +| 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. | | global.scrapeInterval | string | `"60s"` | How frequently to scrape metrics. | ### PodMonitors @@ -73,9 +73,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | podMonitors.enabled | bool | `true` | Enable discovery of Prometheus Operator PodMonitor objects. | -| podMonitors.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)) | -| podMonitors.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)) | -| podMonitors.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 | +| podMonitors.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)) | +| podMonitors.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)) | +| podMonitors.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 | | podMonitors.namespaces | list | `[]` | Which namespaces to look for PodMonitor objects. | | podMonitors.scrapeInterval | string | 60s | How frequently to scrape metrics from PodMonitor objects. Only used if the PodMonitor does not specify the scrape interval. Overrides global.scrapeInterval | | podMonitors.selector | string | `""` | Selector to filter which PodMonitor objects to use. | @@ -85,9 +85,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | probes.enabled | bool | `true` | Enable discovery of Prometheus Operator Probe objects. | -| probes.extraDiscoveryRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | -| probes.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Probe 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)) | -| probes.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 | +| probes.extraDiscoveryRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | +| probes.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Probe 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)) | +| probes.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 | | probes.namespaces | list | `[]` | Which namespaces to look for Probe objects. | | probes.scrapeInterval | string | 60s | How frequently to scrape metrics from Probe objects. Only used if the Probe does not specify the scrape interval. Overrides global.scrapeInterval | | probes.selector | string | `""` | Selector to filter which Probes objects to use. | @@ -97,9 +97,9 @@ Actual integration testing in a live environment should be done in the main [k8s | Key | Type | Default | Description | |-----|------|---------|-------------| | serviceMonitors.enabled | bool | `true` | Enable discovery of Prometheus Operator ServiceMonitor objects. | -| serviceMonitors.extraDiscoveryRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | -| serviceMonitors.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for ServiceMonitor 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)) | -| serviceMonitors.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 | +| serviceMonitors.extraDiscoveryRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | +| serviceMonitors.extraMetricProcessingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for ServiceMonitor 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)) | +| serviceMonitors.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 | | serviceMonitors.namespaces | list | `[]` | Which namespaces to look for ServiceMonitor objects. | | serviceMonitors.scrapeInterval | string | 60s | How frequently to scrape metrics from ServiceMonitor objects. Only used if the ServiceMonitor does not specify the scrape interval. Overrides global.scrapeInterval | | serviceMonitors.selector | string | `""` | Selector to filter which ServiceMonitor objects to use. | diff --git a/charts/feature-prometheus-operator-objects/values.yaml b/charts/feature-prometheus-operator-objects/values.yaml index b1d5722aa..aa9a8dcff 100644 --- a/charts/feature-prometheus-operator-objects/values.yaml +++ b/charts/feature-prometheus-operator-objects/values.yaml @@ -12,7 +12,7 @@ global: # @section -- Global Settings scrapeInterval: 60s - # -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) + # -- 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. # @section -- Global Settings maxCacheSize: 100000 @@ -47,19 +47,19 @@ 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- PodMonitors extraDiscoveryRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- PodMonitors extraMetricProcessingRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @raw # @section -- PodMonitors @@ -89,19 +89,19 @@ probes: # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Probes extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Probe 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Probes extraMetricProcessingRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @raw # @section -- Probes @@ -131,19 +131,19 @@ serviceMonitors: # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- ServiceMonitors extraDiscoveryRules: "" # -- Rule blocks to be added to the prometheus.relabel component for ServiceMonitor 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- ServiceMonitors extraMetricProcessingRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides global.maxCacheSize # @raw # @section -- ServiceMonitors diff --git a/charts/k8s-monitoring-v1/README.md b/charts/k8s-monitoring-v1/README.md index 4f720dbc2..ba8e92114 100644 --- a/charts/k8s-monitoring-v1/README.md +++ b/charts/k8s-monitoring-v1/README.md @@ -272,7 +272,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | externalServices.loki.secret.namespace | string | `""` | The namespace of the secret. | | externalServices.loki.tenantId | string | `""` | Loki tenant ID | | externalServices.loki.tenantIdKey | string | `"tenantId"` | The key for the tenant ID property in the secret | -| externalServices.loki.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/loki.write/#tls_config-block) to configure for the logs service. | +| externalServices.loki.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/loki/loki.write/#tls_config-block) to configure for the logs service. | | externalServices.loki.writeEndpoint | string | `"/loki/api/v1/push"` | Loki logs write endpoint. | ### External Services (Prometheus) @@ -336,12 +336,12 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | externalServices.prometheus.sigv4.secretKeyKey | string | `"secretKey"` | Configure the Key for Prometheus Remote Write SigV4 Secret Key secret | | externalServices.prometheus.tenantId | string | `""` | Sets the `X-Scope-OrgID` header when sending metrics unless authMode is sigv4 | | externalServices.prometheus.tenantIdKey | string | `"tenantId"` | The key for the tenant ID property in the secret | -| externalServices.prometheus.tls | object | `{}` | TLS settings to configure for the metrics service, compatible with [remoteWrite protocol](https://grafana.com/docs/alloy/latest/reference/components/prometheus.remote_write/#tls_config-block), [otlp](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlp/#tls-block), or [otlphttp](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlphttp/#tls-block) protocols | +| externalServices.prometheus.tls | object | `{}` | TLS settings to configure for the metrics service, compatible with [remoteWrite protocol](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.remote_write/#tls_config-block), [otlp](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/#tls-block), or [otlphttp](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlphttp/#tls-block) protocols | | externalServices.prometheus.wal.maxKeepaliveTime | string | `"8h"` | Maximum time to keep data in the WAL before removing it. | | externalServices.prometheus.wal.minKeepaliveTime | string | `"5m"` | Minimum time to keep data in the WAL before it can be removed. | | externalServices.prometheus.wal.truncateFrequency | string | `"2h"` | How frequently to clean up the WAL. | | externalServices.prometheus.writeEndpoint | string | `"/api/prom/push"` | Prometheus metrics write endpoint. Preset for Grafana Cloud Metrics instances. | -| externalServices.prometheus.writeRelabelConfigRules | string | `""` | Rule blocks to be added to the [write_relabel_config block](https://grafana.com/docs/alloy/latest/reference/components/prometheus.remote_write/#write_relabel_config-block) of the prometheus.remote_write component. | +| externalServices.prometheus.writeRelabelConfigRules | string | `""` | Rule blocks to be added to the [write_relabel_config block](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.remote_write/#write_relabel_config-block) of the prometheus.remote_write component. | ### External Services (Pyroscope) @@ -364,7 +364,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | externalServices.pyroscope.secret.namespace | string | `""` | The namespace of the secret. | | externalServices.pyroscope.tenantId | string | `""` | Pyroscope tenant ID | | externalServices.pyroscope.tenantIdKey | string | `"tenantId"` | The key for the tenant ID property in the secret | -| externalServices.pyroscope.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/pyroscope.write/#tls_config-block) to configure for the profiles service. | +| externalServices.pyroscope.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/pyroscope/pyroscope.write/#tls_config-block) to configure for the profiles service. | ### External Services (Tempo) @@ -389,8 +389,8 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | externalServices.tempo.secret.namespace | string | `""` | The namespace of the secret. | | externalServices.tempo.tenantId | string | `""` | Tempo tenant ID | | externalServices.tempo.tenantIdKey | string | `"tenantId"` | The key for the tenant ID property in the secret | -| externalServices.tempo.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlp/#tls-block) to configure for the traces service. | -| externalServices.tempo.tlsOptions | string | `""` | Define the [TLS block](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlp/#tls-block). Example: `tlsOptions: insecure = true` This option will be deprecated and removed soon. Please switch to `tls` and use yaml format. | +| externalServices.tempo.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/#tls-block) to configure for the traces service. | +| externalServices.tempo.tlsOptions | string | `""` | Define the [TLS block](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/#tls-block). Example: `tlsOptions: insecure = true` This option will be deprecated and removed soon. Please switch to `tls` and use yaml format. | | externalServices.tempo.writeBufferSize | string | `""` | Size of the write buffer the gRPC client to use for writing requests. | ### Metrics Global @@ -425,7 +425,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely |-----|------|---------|-------------| | logs.cluster_events.enabled | bool | `true` | Scrape Kubernetes cluster events | | logs.cluster_events.extraConfig | string | `""` | Extra configuration that will be added to the Grafana Alloy for Cluster Events configuration file. This value is templated so that you can refer to other values from this file. This cannot be used to modify the generated configuration values, only append new components. See [Adding custom Flow configuration](#adding-custom-flow-configuration) for an example. | -| logs.cluster_events.extraStageBlocks | 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. | +| logs.cluster_events.extraStageBlocks | 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. | | logs.cluster_events.logFormat | string | `"logfmt"` | Log format used to forward cluster events. Allowed values: `logfmt` (default), `json`. | | logs.cluster_events.logToStdout | bool | `false` | Logs the cluster events to stdout. Useful for debugging. | | logs.cluster_events.namespaces | list | `[]` | List of namespaces to watch for events (`[]` means all namespaces) | @@ -442,7 +442,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | logs.journal.enabled | bool | `false` | Scrape Kubernetes Worker Journal Logs event | -| logs.journal.extraStageBlocks | string | `""` | Stage blocks to be added to the loki.process component for journal logs. ([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. | +| logs.journal.extraStageBlocks | string | `""` | Stage blocks to be added to the loki.process component for journal logs. ([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. | | logs.journal.formatAsJson | bool | `false` | Whether to forward the original journal entry as JSON. | | logs.journal.jobLabel | string | `"integrations/kubernetes/journal"` | The value for the job label for journal logs | | logs.journal.maxAge | string | `"8h"` | The path to the journal logs on the worker node | @@ -453,14 +453,14 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| -| logs.journal.extraRelabelingRules | string | `""` | Rule blocks to be added used with the loki.source.journal component for journal logs. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) **Note:** Many field names from journald start with an `_`, such as `_systemd_unit`. The final internal label name would be `__journal__systemd_unit`, with two underscores between `__journal` and `systemd_unit`. | +| logs.journal.extraRelabelingRules | string | `""` | Rule blocks to be added used with the loki.source.journal component for journal logs. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) **Note:** Many field names from journald start with an `_`, such as `_systemd_unit`. The final internal label name would be `__journal__systemd_unit`, with two underscores between `__journal` and `systemd_unit`. | | logs.pod_logs.annotation | string | `"k8s.grafana.com/logs.autogather"` | Pod annotation to use for controlling log discovery. | | logs.pod_logs.annotations | object | `{"job":"k8s.grafana.com/logs.job"}` | Loki labels to set with values copied from the Kubernetes Pod annotations. Format: `: `. | | logs.pod_logs.discovery | string | `"all"` | Controls the behavior of discovering pods for logs. | | logs.pod_logs.enabled | bool | `true` | Capture and forward logs from Kubernetes pods | | logs.pod_logs.excludeNamespaces | list | `[]` | Do not capture logs from any pods in these namespaces. | -| logs.pod_logs.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for pod logs. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| logs.pod_logs.extraStageBlocks | string | `""` | Stage blocks to be added to the loki.process component for pod logs. ([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. | +| logs.pod_logs.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for pod logs. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| logs.pod_logs.extraStageBlocks | string | `""` | Stage blocks to be added to the loki.process component for pod logs. ([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. | | logs.pod_logs.gatherMethod | string | `"volumes"` | Controls the behavior of gathering pod logs. When set to `volumes`, Grafana Alloy will use HostPath volume mounts on the cluster nodes to access the pod log files directly. When set to `api`, Grafana Alloy will access pod logs via the API server. This method may be preferable if your cluster prevents DaemonSets, HostPath volume mounts, or for other reasons. | | logs.pod_logs.labels | object | `{"app_kubernetes_io_name":"app.kubernetes.io/name"}` | Loki labels to set with values copied from the Kubernetes Pod labels. Format: `: `. | | logs.pod_logs.namespaces | list | `[]` | Only capture logs from pods in these namespaces (`[]` means all namespaces). | @@ -471,7 +471,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | logs.podLogsObjects.enabled | bool | `false` | Enable discovery of Grafana Alloy PodLogs objects. | -| logs.podLogsObjects.extraStageBlocks | string | `""` | Stage blocks to be added to the loki.process component for logs gathered via PodLogs objects. ([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. | +| logs.podLogsObjects.extraStageBlocks | string | `""` | Stage blocks to be added to the loki.process component for logs gathered via PodLogs objects. ([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. | | logs.podLogsObjects.namespaces | list | `[]` | Which namespaces to look for PodLogs objects. | | logs.podLogsObjects.selector | string | `""` | Selector to filter which PodLogs objects to use. | @@ -479,8 +479,8 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| -| logs.receiver.filters | object | `{"log_record":[]}` | Apply a filter to logs received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/)) | -| logs.receiver.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/)) | +| logs.receiver.filters | object | `{"log_record":[]}` | Apply a filter to logs received via the OTLP or OTLP HTTP receivers. ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) | +| logs.receiver.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/)) | | logs.receiver.transforms.labels | list | `["cluster","namespace","job","pod"]` | The list of labels to set in the Loki log stream. | | logs.receiver.transforms.log | list | `[]` | Log transformation rules. | | logs.receiver.transforms.resource | list | `[]` | Resource transformation rules. | @@ -490,10 +490,10 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.alloy.enabled | bool | `true` | Scrape metrics from Grafana Alloy | -| metrics.alloy.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Grafana Alloy. 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)) | -| metrics.alloy.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Grafana Alloy. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.alloy.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Grafana Alloy. 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)) | +| metrics.alloy.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Grafana Alloy. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | metrics.alloy.labelMatchers | object | `{"app.kubernetes.io/name":"alloy.*"}` | Label matchers used by Grafana Alloy to select Grafana Alloy pods | -| metrics.alloy.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 metrics.maxCacheSize | +| metrics.alloy.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 metrics.maxCacheSize | | metrics.alloy.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.alloy.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.alloy.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from Grafana Alloy to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -504,7 +504,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| -| metrics.alloyModules.connections | list | `[]` | List of connection configurations used by modules. Configures the import.git component ([docs](https://grafana.com/docs/alloy/latest/reference/components/import.git/)
- `alias: ""` the alias of the connection
- `repository: ""` URL of the Git repository containing the module.
- `revision: ""` Branch, tag, or commit to be checked out.
- `pull_frequency: 15m` How often the module should check for updates.
- `default: true` If true, this connection is used as the default when none is specified.
- `basic_auth: {}` Credentials for basic authentication if needed. ([docs](https://grafana.com/docs/alloy/latest/reference/config-blocks/import.git/#basic_auth-block))
- `ssh_key: {}` Provides SSH key details for secure connections. ([docs](https://grafana.com/docs/alloy/latest/reference/config-blocks/import.git/#ssh_key-block)) | +| metrics.alloyModules.connections | list | `[]` | List of connection configurations used by modules. Configures the import.git component ([docs](https://grafana.com/docs/alloy/latest/reference/components/import/import.git/)
- `alias: ""` the alias of the connection
- `repository: ""` URL of the Git repository containing the module.
- `revision: ""` Branch, tag, or commit to be checked out.
- `pull_frequency: 15m` How often the module should check for updates.
- `default: true` If true, this connection is used as the default when none is specified.
- `basic_auth: {}` Credentials for basic authentication if needed. ([docs](https://grafana.com/docs/alloy/latest/reference/config-blocks/import.git/#basic_auth-block))
- `ssh_key: {}` Provides SSH key details for secure connections. ([docs](https://grafana.com/docs/alloy/latest/reference/config-blocks/import.git/#ssh_key-block)) | | metrics.alloyModules.modules | list | `[]` | List of Modules to import. Each module is expected to have a "kubernetes" module and a "scrape" component. Each module can have the following properties:
- `name: ""` the name to use for the module. *note:* this is automatically prefixed with module_ to avoid conflicts with core components
- `path: ""` the path to the alloy module
- `connection: ""` (optional) the alias of the connection to use, if not specified the default connection is used
- `targets: {}` (optional) Additional arguments to be passed to the modules kubernetes component
- `scrape: {}` (optional) Additional arguments to be passed to the modules scrape component
- `extraRelabelingRules: ""` additional relabeling rules for the discovery.relabel component
- `extraMetricRelabelingRules:` additional relabeling rules for the prometheus.relabel component | ### Metrics Job: ApiServer @@ -512,9 +512,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.apiserver.enabled | bool | `false` | Scrape metrics from the API Server | -| metrics.apiserver.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the API Server. 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)) | -| metrics.apiserver.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the API Server. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.apiserver.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 metrics.maxCacheSize | +| metrics.apiserver.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the API Server. 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)) | +| metrics.apiserver.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the API Server. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.apiserver.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 metrics.maxCacheSize | | metrics.apiserver.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.apiserver.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | metrics.apiserver.scrapeInterval | string | 60s | How frequently to scrape metrics from the API Server Overrides metrics.scrapeInterval | @@ -533,9 +533,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | metrics.autoDiscover.annotations.scrape | string | `"k8s.grafana.com/scrape"` | Annotation for enabling scraping for this service or pod. Value should be either "true" or "false" | | metrics.autoDiscover.bearerToken | object | `{"enabled":true}` | Sets bearer_token_file line in the prometheus.scrape annotation_autodiscovery. | | metrics.autoDiscover.enabled | bool | `true` | Enable annotation-based auto-discovery | -| metrics.autoDiscover.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for auto-discovered entities. 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)) | -| metrics.autoDiscover.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for auto-discovered entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.autoDiscover.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 metrics.maxCacheSize | +| metrics.autoDiscover.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for auto-discovered entities. 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)) | +| metrics.autoDiscover.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for auto-discovered entities. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.autoDiscover.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 metrics.maxCacheSize | | metrics.autoDiscover.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.autoDiscover.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | metrics.autoDiscover.scrapeInterval | string | 60s | How frequently to scrape metrics from auto-discovered entities. Overrides metrics.scrapeInterval | @@ -545,10 +545,10 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.beyla.enabled | bool | `false` | Scrape auto-instrumentation metrics from Beyla | -| metrics.beyla.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Beyla. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. | -| metrics.beyla.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Beyla. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.beyla.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Beyla. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. | +| metrics.beyla.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Beyla. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | metrics.beyla.labelMatchers | object | `{"app.kubernetes.io/name":"beyla"}` | Label matchers used to select the Beyla pods | -| metrics.beyla.maxCacheSize | string | 100000 | Sets the max_cache_size for the prometheus.relabel component for Beyla. 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 metrics.maxCacheSize | +| metrics.beyla.maxCacheSize | string | 100000 | Sets the max_cache_size for the prometheus.relabel component for Beyla. 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 metrics.maxCacheSize | | metrics.beyla.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.beyla.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.beyla.scrapeInterval | string | 60s | How frequently to scrape metrics from Beyla. Overrides metrics.scrapeInterval | @@ -558,9 +558,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.cadvisor.enabled | bool | `true` | Scrape container metrics from cAdvisor | -| metrics.cadvisor.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for cAdvisor. 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)) | -| metrics.cadvisor.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for cAdvisor. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.cadvisor.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 metrics.maxCacheSize | +| metrics.cadvisor.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for cAdvisor. 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)) | +| metrics.cadvisor.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for cAdvisor. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.cadvisor.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 metrics.maxCacheSize | | metrics.cadvisor.metricsTuning.dropEmptyContainerLabels | bool | `true` | Drop metrics that have an empty container label | | metrics.cadvisor.metricsTuning.dropEmptyImageLabels | bool | `true` | Drop metrics that have an empty image label | | metrics.cadvisor.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | @@ -577,10 +577,10 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.cost.enabled | bool | `true` | Scrape cost metrics from OpenCost | -| metrics.cost.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for OpenCost. 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)) | -| metrics.cost.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for OpenCost. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.cost.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for OpenCost. 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)) | +| metrics.cost.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for OpenCost. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | metrics.cost.labelMatchers | object | `{"app.kubernetes.io/name":"opencost"}` | Label matchers used to select the OpenCost service | -| metrics.cost.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 metrics.maxCacheSize | +| metrics.cost.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 metrics.maxCacheSize | | metrics.cost.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.cost.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.cost.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from OpenCost to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -591,9 +591,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.enabled | bool | `true` | Capture and forward metrics | -| metrics.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for all metric sources. 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)) | -| metrics.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for all metric sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.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. | +| metrics.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for all metric sources. 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)) | +| metrics.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for all metric sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.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. | | metrics.scrapeInterval | string | `"60s"` | How frequently to scrape metrics | ### Metrics Job: Kepler @@ -601,10 +601,10 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.kepler.enabled | bool | `false` | Scrape energy metrics from Kepler | -| metrics.kepler.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. | -| metrics.kepler.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kepler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.kepler.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. | +| metrics.kepler.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kepler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | metrics.kepler.labelMatchers | object | `{"app.kubernetes.io/name":"kepler"}` | Label matchers used to select the Kepler pods | -| metrics.kepler.maxCacheSize | string | 100000 | Sets the max_cache_size for the prometheus.relabel component for Kepler. 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 metrics.maxCacheSize | +| metrics.kepler.maxCacheSize | string | 100000 | Sets the max_cache_size for the prometheus.relabel component for Kepler. 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 metrics.maxCacheSize | | metrics.kepler.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.kepler.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.kepler.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from Kepler to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -615,10 +615,10 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.kube-state-metrics.enabled | bool | `true` | Scrape cluster object metrics from Kube State Metrics | -| metrics.kube-state-metrics.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kube State Metrics. 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)) | -| metrics.kube-state-metrics.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kube State Metrics. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.kube-state-metrics.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kube State Metrics. 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)) | +| metrics.kube-state-metrics.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kube State Metrics. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | metrics.kube-state-metrics.labelMatchers | object | `{"app.kubernetes.io/name":"kube-state-metrics"}` | Label matchers used by Grafana Alloy to select the Kube State Metrics service | -| metrics.kube-state-metrics.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 metrics.maxCacheSize | +| metrics.kube-state-metrics.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 metrics.maxCacheSize | | metrics.kube-state-metrics.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.kube-state-metrics.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.kube-state-metrics.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from Kube State Metrics to a useful, minimal set. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -631,9 +631,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.kubeControllerManager.enabled | bool | `false` | Scrape metrics from the Kube Controller Manager | -| metrics.kubeControllerManager.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Controller Manager. 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)) | -| metrics.kubeControllerManager.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Controller Manager. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.kubeControllerManager.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 metrics.maxCacheSize | +| metrics.kubeControllerManager.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Controller Manager. 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)) | +| metrics.kubeControllerManager.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Controller Manager. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.kubeControllerManager.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 metrics.maxCacheSize | | metrics.kubeControllerManager.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.kubeControllerManager.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | metrics.kubeControllerManager.port | int | `10257` | Port number used by the Kube Controller Manager, set by `--secure-port.` | @@ -644,9 +644,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.kubeProxy.enabled | bool | `false` | Scrape metrics from the Kube Proxy | -| metrics.kubeProxy.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Proxy. 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)) | -| metrics.kubeProxy.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Proxy. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.kubeProxy.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 metrics.maxCacheSize | +| metrics.kubeProxy.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Proxy. 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)) | +| metrics.kubeProxy.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Proxy. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.kubeProxy.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 metrics.maxCacheSize | | metrics.kubeProxy.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.kubeProxy.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | metrics.kubeProxy.port | int | `10249` | Port number used by the Kube Proxy, set in `--metrics-bind-address`. | @@ -657,9 +657,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.kubeScheduler.enabled | bool | `false` | Scrape metrics from the Kube Scheduler | -| metrics.kubeScheduler.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Scheduler. 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)) | -| metrics.kubeScheduler.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Scheduler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.kubeScheduler.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 metrics.maxCacheSize | +| metrics.kubeScheduler.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for the Kube Scheduler. 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)) | +| metrics.kubeScheduler.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for the Kube Scheduler. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.kubeScheduler.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 metrics.maxCacheSize | | metrics.kubeScheduler.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.kubeScheduler.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. An empty list means keep all. | | metrics.kubeScheduler.port | int | `10259` | Port number used by the Kube Scheduler, set by `--secure-port`. | @@ -670,9 +670,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.kubelet.enabled | bool | `true` | Scrape cluster metrics from the Kubelet | -| metrics.kubelet.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet. 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)) | -| metrics.kubelet.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.kubelet.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 metrics.maxCacheSize | +| metrics.kubelet.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet. 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)) | +| metrics.kubelet.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.kubelet.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 metrics.maxCacheSize | | metrics.kubelet.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.kubelet.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.kubelet.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from the Kubelet to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -684,9 +684,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.kubeletResource.enabled | bool | `true` | Scrape resource metrics from the Kubelet | -| metrics.kubeletResource.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet Resources. 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)) | -| metrics.kubeletResource.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet Resources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | -| metrics.kubeletResource.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 metrics.maxCacheSize | +| metrics.kubeletResource.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Kubelet Resources. 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)) | +| metrics.kubeletResource.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Kubelet Resources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.kubeletResource.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 metrics.maxCacheSize | | metrics.kubeletResource.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.kubeletResource.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.kubeletResource.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from the Kubelet to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -705,10 +705,10 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.node-exporter.enabled | bool | `true` | Scrape node metrics | -| metrics.node-exporter.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Node Exporter. 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)) | -| metrics.node-exporter.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Node Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.node-exporter.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Node Exporter. 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)) | +| metrics.node-exporter.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Node Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | metrics.node-exporter.labelMatchers | object | `{"app.kubernetes.io/name":"prometheus-node-exporter.*"}` | Label matchers used to select the Node exporter pods | -| metrics.node-exporter.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 metrics.maxCacheSize | +| metrics.node-exporter.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 metrics.maxCacheSize | | metrics.node-exporter.metricsTuning.dropMetricsForFilesystem | list | `["tempfs"]` | Drop metrics for the given filesystem types | | metrics.node-exporter.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.node-exporter.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | @@ -722,9 +722,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.podMonitors.enabled | bool | `true` | Enable discovery of Prometheus Operator PodMonitor objects. | -| metrics.podMonitors.extraMetricRelabelingRules | 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)) | -| metrics.podMonitors.extraRelabelingRules | 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)) | -| metrics.podMonitors.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 metrics.maxCacheSize | +| metrics.podMonitors.extraMetricRelabelingRules | 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)) | +| metrics.podMonitors.extraRelabelingRules | 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)) | +| metrics.podMonitors.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 metrics.maxCacheSize | | metrics.podMonitors.namespaces | list | `[]` | Which namespaces to look for PodMonitor objects. | | metrics.podMonitors.scrapeInterval | string | 60s | How frequently to scrape metrics from PodMonitor objects. Only used if the PodMonitor does not specify the scrape interval. Overrides metrics.scrapeInterval | | metrics.podMonitors.selector | string | `""` | Selector to filter which PodMonitor objects to use. | @@ -734,9 +734,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.probes.enabled | bool | `true` | Enable discovery of Prometheus Operator Probe objects. | -| metrics.probes.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Probe 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)) | -| metrics.probes.extraRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | -| metrics.probes.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 metrics.maxCacheSize | +| metrics.probes.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Probe 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)) | +| metrics.probes.extraRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | +| metrics.probes.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 metrics.maxCacheSize | | metrics.probes.namespaces | list | `[]` | Which namespaces to look for Probe objects. | | metrics.probes.scrapeInterval | string | 60s | How frequently to scrape metrics from Probe objects. Only used if the Probe does not specify the scrape interval. Overrides metrics.scrapeInterval | | metrics.probes.selector | string | `""` | Selector to filter which Probes objects to use. | @@ -745,17 +745,17 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| -| metrics.receiver.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/)) | -| metrics.receiver.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/)) | +| metrics.receiver.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/)) | +| metrics.receiver.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/)) | ### Metrics Job: Prometheus Operator (ServiceMonitors) | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.serviceMonitors.enabled | bool | `true` | Enable discovery of Prometheus Operator ServiceMonitor objects. | -| metrics.serviceMonitors.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for ServiceMonitor 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)) | -| metrics.serviceMonitors.extraRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | -| metrics.serviceMonitors.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 metrics.maxCacheSize | +| metrics.serviceMonitors.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for ServiceMonitor 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)) | +| metrics.serviceMonitors.extraRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.operator.probes component for Probes. 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)) | +| metrics.serviceMonitors.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 metrics.maxCacheSize | | metrics.serviceMonitors.namespaces | list | `[]` | Which namespaces to look for ServiceMonitor objects. | | metrics.serviceMonitors.scrapeInterval | string | 60s | How frequently to scrape metrics from ServiceMonitor objects. Only used if the ServiceMonitor does not specify the scrape interval. Overrides metrics.scrapeInterval | | metrics.serviceMonitors.selector | string | `""` | Selector to filter which ServiceMonitor objects to use. | @@ -765,10 +765,10 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | metrics.windows-exporter.enabled | bool | `false` | Scrape node metrics | -| metrics.windows-exporter.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Windows Exporter. 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)) | -| metrics.windows-exporter.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Windows Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| metrics.windows-exporter.extraMetricRelabelingRules | string | `""` | Rule blocks to be added to the prometheus.relabel component for Windows Exporter. 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)) | +| metrics.windows-exporter.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Windows Exporter. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | metrics.windows-exporter.labelMatchers | object | `{"app.kubernetes.io/name":"prometheus-windows-exporter.*"}` | Label matchers used to select the Windows Exporter pods | -| metrics.windows-exporter.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 metrics.maxCacheSize | +| metrics.windows-exporter.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 metrics.maxCacheSize | | metrics.windows-exporter.metricsTuning.excludeMetrics | list | `[]` | Metrics to drop. Can use regular expressions. | | metrics.windows-exporter.metricsTuning.includeMetrics | list | `[]` | Metrics to keep. Can use regular expressions. | | metrics.windows-exporter.metricsTuning.useDefaultAllowList | bool | `true` | Filter the list of metrics from Windows Exporter to the minimal set required for Kubernetes Monitoring. See [Metrics Tuning and Allow Lists](#metrics-tuning-and-allow-lists) | @@ -795,7 +795,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely |-----|------|---------|-------------| | profiles.ebpf.demangle | string | `"none"` | C++ demangle mode. Available options are: none, simplified, templates, full | | profiles.ebpf.enabled | bool | `true` | Gather profiles using eBPF | -| profiles.ebpf.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| profiles.ebpf.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | profiles.ebpf.namespaces | list | `[]` | Which namespaces to look for pods with profiles. | ### Profiles @@ -815,7 +815,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | profiles.java.enabled | bool | `true` | Gather profiles by scraping java HTTP endpoints | -| profiles.java.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Java profile sources. ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#rule-block)) | +| profiles.java.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for Java profile sources. ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) | | profiles.java.namespaces | list | `[]` | Which namespaces to look for pods with profiles. | | profiles.java.profilingConfig | object | `{"alloc":"512k","cpu":true,"interval":"60s","lock":"10ms","sampleRate":100}` | Configuration for the async-profiler | @@ -824,7 +824,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | profiles.pprof.enabled | bool | `true` | Gather profiles by scraping pprof HTTP endpoints | -| profiles.pprof.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | +| profiles.pprof.extraRelabelingRules | string | `""` | Rule blocks to be added to the discovery.relabel component for eBPF profile sources. These relabeling rules are applied pre-scrape against the targets from service discovery. 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)) | | profiles.pprof.namespaces | list | `[]` | Which namespaces to look for pods with profiles. | | profiles.pprof.types | list | `["memory","cpu","goroutine","block","mutex","fgprof"]` | Profile types to gather | @@ -857,6 +857,9 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | receivers.grafanaCloudMetrics.enabled | bool | `true` | Generate host info metrics from telemetry data, used in Application Observability in Grafana Cloud. | +| receivers.processors.attributes | object | `{"actions":[],"exclude":{"logBodies":[],"logSeverityTexts":[],"matchType":"","metricNames":[],"services":[],"spanKinds":[],"spanNames":[]},"include":{"logBodies":[],"logSeverityTexts":[],"matchType":"","metricNames":[],"services":[],"spanKinds":[],"spanNames":[]}}` | Apply an attributes processor to data received via OTLP/gRPC, OTLP/HTTP, Jaeger, or Zipkin receivers ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.attributes/)) | +| receivers.processors.attributes.actions | list | `[]` | The list of attribute actions to include in the telemetry data. Example: actions: - key: "new_user_key" from_attribute: "user_key" action: "upsert" | +| receivers.processors.attributes.include | object | `{"logBodies":[],"logSeverityTexts":[],"matchType":"","metricNames":[],"services":[],"spanKinds":[],"spanNames":[]}` | The list include data being fed into the action blocks based on the properties of a span, log, or metric records. | | receivers.processors.batch.maxSize | int | `0` | The upper limit of the amount of data contained in a single batch, in bytes. When set to 0, batches can be any size. | | receivers.processors.batch.size | int | `16384` | What batch size to use, in bytes | | receivers.processors.batch.timeout | string | `"2s"` | How long before sending (Processors) | @@ -873,7 +876,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | receivers.grpc.disable_debug_metrics | bool | `true` | It removes attributes which could cause high cardinality metrics. For example, attributes with IP addresses and port numbers in metrics about HTTP and gRPC connections will be removed. | | receivers.grpc.enabled | bool | `true` | Receive OpenTelemetry signals over OTLP/gRPC? | | receivers.grpc.port | int | `4317` | Which port to use for the OTLP/gRPC receiver. This port needs to be opened in the alloy section below. | -| receivers.grpc.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/gRPC receiver. | +| receivers.grpc.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/gRPC receiver. | ### OTEL Receivers (HTTP) @@ -882,7 +885,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | receivers.http.disable_debug_metrics | bool | `true` | It removes attributes which could cause high cardinality metrics. For example, attributes with IP addresses and port numbers in metrics about HTTP and gRPC connections will be removed. | | receivers.http.enabled | bool | `true` | Receive OpenTelemetry signals over OTLP/HTTP? | | receivers.http.port | int | `4318` | Which port to use for the OTLP/HTTP receiver. This port needs to be opened in the alloy section below. | -| receivers.http.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/HTTP receiver. | +| receivers.http.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/HTTP receiver. | ### OTEL Receivers (Jaeger) @@ -897,7 +900,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | receivers.jaeger.thriftCompact.port | int | `6831` | Which port to use for the Thrift compact receiver. This port needs to be opened in the alloy section below. | | receivers.jaeger.thriftHttp.enabled | bool | `false` | Receive Jaeger signals via Thrift HTTP protocol. | | receivers.jaeger.thriftHttp.port | int | `14268` | Which port to use for the Thrift HTTP receiver. This port needs to be opened in the alloy section below. | -| receivers.jaeger.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.jaeger/#tls-block) to configure for the Jaeger receiver. | +| receivers.jaeger.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.jaeger/#tls-block) to configure for the Jaeger receiver. | ### OTEL Receivers (Prometheus) @@ -913,7 +916,7 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | receivers.zipkin.disable_debug_metrics | bool | `true` | It removes attributes which could cause high cardinality metrics. For example, attributes with IP addresses and port numbers in metrics about HTTP and gRPC connections will be removed. | | receivers.zipkin.enabled | bool | `false` | Receive Zipkin traces | | receivers.zipkin.port | int | `9411` | Which port to use for the Zipkin receiver. This port needs to be opened in the alloy section below. | -| receivers.zipkin.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.zipkin/#tls-block) to configure for the Zipkin receiver. | +| receivers.zipkin.tls | object | `{}` | [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.zipkin/#tls-block) to configure for the Zipkin receiver. | ### Test Job @@ -938,8 +941,8 @@ The Prometheus and Loki services may be hosted on the same cluster, or remotely | Key | Type | Default | Description | |-----|------|---------|-------------| | traces.enabled | bool | `false` | Receive and forward traces. | -| traces.receiver.filters | object | `{"span":["attributes[\"http.route\"] == \"/live\"","attributes[\"http.route\"] == \"/healthy\"","attributes[\"http.route\"] == \"/ready\""],"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/)) | -| traces.receiver.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/)) | +| traces.receiver.filters | object | `{"span":["attributes[\"http.route\"] == \"/live\"","attributes[\"http.route\"] == \"/healthy\"","attributes[\"http.route\"] == \"/ready\""],"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/)) | +| traces.receiver.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/)) | ### Other Values diff --git a/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/metrics.alloy index 4a41cf6a9..3d4a66668 100644 --- a/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/output.yaml b/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/output.yaml index c95cbce17..398a02d64 100644 --- a/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/alloy-autoscaling-and-storage/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67759,6 +67767,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/application-observability/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/application-observability/metrics.alloy index be14a8f10..1d5d5fe2e 100644 --- a/charts/k8s-monitoring-v1/docs/examples/application-observability/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/application-observability/metrics.alloy @@ -73,6 +73,28 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + include { + match_type = "regexp" + log_bodies = ["AUTH.*"] + } + action { + action = "update" + key = "password" + value = "obfuscated" + } + action { + action = "delete" + key = "token" + } + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/application-observability/output.yaml b/charts/k8s-monitoring-v1/docs/examples/application-observability/output.yaml index 0ff538663..d107ca3fc 100644 --- a/charts/k8s-monitoring-v1/docs/examples/application-observability/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/application-observability/output.yaml @@ -247,6 +247,28 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + include { + match_type = "regexp" + log_bodies = ["AUTH.*"] + } + action { + action = "update" + key = "password" + value = "obfuscated" + } + action { + action = "delete" + key = "token" + } + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -68970,6 +68992,28 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + include { + match_type = "regexp" + log_bodies = ["AUTH.*"] + } + action { + action = "update" + key = "password" + value = "obfuscated" + } + action { + action = "delete" + key = "token" + } + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/application-observability/values.yaml b/charts/k8s-monitoring-v1/docs/examples/application-observability/values.yaml index 2815d38ba..8a2678bfc 100644 --- a/charts/k8s-monitoring-v1/docs/examples/application-observability/values.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/application-observability/values.yaml @@ -27,6 +27,17 @@ externalServices: receivers: grafanaCloudMetrics: enabled: true + processors: + attributes: + include: + matchType: regexp + logBodies: ["AUTH.*"] + actions: + - key: password + action: update + value: obfuscated + - key: token + action: delete traces: enabled: true diff --git a/charts/k8s-monitoring-v1/docs/examples/azure-aks/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/azure-aks/metrics.alloy index 63000f688..6a1508811 100644 --- a/charts/k8s-monitoring-v1/docs/examples/azure-aks/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/azure-aks/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/azure-aks/output.yaml b/charts/k8s-monitoring-v1/docs/examples/azure-aks/output.yaml index 65522344e..58360fd95 100644 --- a/charts/k8s-monitoring-v1/docs/examples/azure-aks/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/azure-aks/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67703,6 +67711,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/metrics.alloy index 42e8b5673..3bc206889 100644 --- a/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/output.yaml b/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/output.yaml index 6bce76baf..d5072cdc5 100644 --- a/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/bearer-token-auth/output.yaml @@ -202,6 +202,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67691,6 +67699,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/beyla/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/beyla/metrics.alloy index 4a92919fe..751a175ce 100644 --- a/charts/k8s-monitoring-v1/docs/examples/beyla/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/beyla/metrics.alloy @@ -73,6 +73,15 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/beyla/output.yaml b/charts/k8s-monitoring-v1/docs/examples/beyla/output.yaml index 700c9879b..e9068e2df 100644 --- a/charts/k8s-monitoring-v1/docs/examples/beyla/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/beyla/output.yaml @@ -234,6 +234,15 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67983,6 +67992,15 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/metrics.alloy index d1f7c4979..fd86fd441 100644 --- a/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/output.yaml b/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/output.yaml index 01cb8790b..04d9be695 100644 --- a/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/control-plane-metrics/output.yaml @@ -204,6 +204,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67852,6 +67860,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-config/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/custom-config/metrics.alloy index 585b36b15..bf75b1321 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-config/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/custom-config/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-config/output.yaml b/charts/k8s-monitoring-v1/docs/examples/custom-config/output.yaml index 48a4c02c5..927170398 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-config/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/custom-config/output.yaml @@ -232,6 +232,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -68995,6 +69003,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/metrics.alloy index 3110c8543..fee7489cd 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/metrics.alloy @@ -69,6 +69,13 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/output.yaml b/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/output.yaml index 2e582b74b..e6125a3a5 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/custom-metrics-tuning/output.yaml @@ -156,6 +156,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } @@ -66861,6 +66868,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-pricing/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/custom-pricing/metrics.alloy index 0b5619875..88650de87 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-pricing/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/custom-pricing/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-pricing/output.yaml b/charts/k8s-monitoring-v1/docs/examples/custom-pricing/output.yaml index 6e09580b8..bcf489a63 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-pricing/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/custom-pricing/output.yaml @@ -225,6 +225,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67728,6 +67736,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/metrics.alloy index 6eaefdb58..244e48fd3 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/metrics.alloy @@ -69,6 +69,13 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/output.yaml b/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/output.yaml index 5af414282..d6ca07d6a 100644 --- a/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/custom-prometheus-operator-rules/output.yaml @@ -156,6 +156,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } @@ -66948,6 +66955,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/default-values/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/default-values/metrics.alloy index 93cf1998c..9f3fd3a4e 100644 --- a/charts/k8s-monitoring-v1/docs/examples/default-values/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/default-values/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/default-values/output.yaml b/charts/k8s-monitoring-v1/docs/examples/default-values/output.yaml index dfe511503..e9b6f10db 100644 --- a/charts/k8s-monitoring-v1/docs/examples/default-values/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/default-values/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67695,6 +67703,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/eks-fargate/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/eks-fargate/metrics.alloy index 233dbb75c..20daa915b 100644 --- a/charts/k8s-monitoring-v1/docs/examples/eks-fargate/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/eks-fargate/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/eks-fargate/output.yaml b/charts/k8s-monitoring-v1/docs/examples/eks-fargate/output.yaml index 38fce493e..203b26a29 100644 --- a/charts/k8s-monitoring-v1/docs/examples/eks-fargate/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/eks-fargate/output.yaml @@ -186,6 +186,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67496,6 +67504,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/environment-variables/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/environment-variables/metrics.alloy index 750b902d2..febcb7c99 100644 --- a/charts/k8s-monitoring-v1/docs/examples/environment-variables/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/environment-variables/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/environment-variables/output.yaml b/charts/k8s-monitoring-v1/docs/examples/environment-variables/output.yaml index 9bbd5600f..043f07f8a 100644 --- a/charts/k8s-monitoring-v1/docs/examples/environment-variables/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/environment-variables/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67757,6 +67765,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/external-secrets/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/external-secrets/metrics.alloy index 6d17bee2f..3a4f3d4ea 100644 --- a/charts/k8s-monitoring-v1/docs/examples/external-secrets/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/external-secrets/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/external-secrets/output.yaml b/charts/k8s-monitoring-v1/docs/examples/external-secrets/output.yaml index 2bd890089..f9e174e01 100644 --- a/charts/k8s-monitoring-v1/docs/examples/external-secrets/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/external-secrets/output.yaml @@ -177,6 +177,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67669,6 +67677,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/extra-rules/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/extra-rules/metrics.alloy index a0016f417..92446b1c5 100644 --- a/charts/k8s-monitoring-v1/docs/examples/extra-rules/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/extra-rules/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/extra-rules/output.yaml b/charts/k8s-monitoring-v1/docs/examples/extra-rules/output.yaml index 785c9ce89..f97e0bf74 100644 --- a/charts/k8s-monitoring-v1/docs/examples/extra-rules/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/extra-rules/output.yaml @@ -204,6 +204,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67822,6 +67830,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/metrics.alloy index d0abe7662..ee56034bb 100644 --- a/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/output.yaml b/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/output.yaml index c3b760ec6..cd8ef9cc8 100644 --- a/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/gke-autopilot/output.yaml @@ -186,6 +186,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67478,6 +67486,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/metrics.alloy index 95508b560..d22b186ca 100644 --- a/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/output.yaml b/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/output.yaml index deaa05c50..c36ecb7b7 100644 --- a/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/ibm-cloud/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67701,6 +67709,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/logs-only/output.yaml b/charts/k8s-monitoring-v1/docs/examples/logs-only/output.yaml index cb9fd03e1..4bf810878 100644 --- a/charts/k8s-monitoring-v1/docs/examples/logs-only/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/logs-only/output.yaml @@ -814,6 +814,13 @@ data: } } + output { + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { logs = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/metrics.alloy index 0c220c2f2..856832d8a 100644 --- a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/output.yaml b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/output.yaml index 8ea4ce9a2..e9b5f1508 100644 --- a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports-extra-config/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67711,6 +67719,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/metrics.alloy index 3eb138283..77d05b97e 100644 --- a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/output.yaml b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/output.yaml index bd09d7593..01b71919d 100644 --- a/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/metric-module-imports/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67872,6 +67880,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/metrics-only/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/metrics-only/metrics.alloy index 4faa905f2..4a302b3d2 100644 --- a/charts/k8s-monitoring-v1/docs/examples/metrics-only/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/metrics-only/metrics.alloy @@ -69,6 +69,13 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/metrics-only/output.yaml b/charts/k8s-monitoring-v1/docs/examples/metrics-only/output.yaml index bb690c00f..64446ce8c 100644 --- a/charts/k8s-monitoring-v1/docs/examples/metrics-only/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/metrics-only/output.yaml @@ -157,6 +157,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } @@ -66867,6 +66874,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/metrics.alloy index a62325f5d..65f474cfe 100644 --- a/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/output.yaml b/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/output.yaml index d7e46540f..364728ec1 100644 --- a/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/openshift-compatible/output.yaml @@ -169,6 +169,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67524,6 +67532,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/metrics.alloy index fd0a503e5..92a24641a 100644 --- a/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/output.yaml b/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/output.yaml index 3a2071e47..1e56a26c6 100644 --- a/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/otel-metrics-service/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67712,6 +67720,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/pod-labels/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/pod-labels/metrics.alloy index 42712f50c..e00684a65 100644 --- a/charts/k8s-monitoring-v1/docs/examples/pod-labels/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/pod-labels/metrics.alloy @@ -78,6 +78,15 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/pod-labels/output.yaml b/charts/k8s-monitoring-v1/docs/examples/pod-labels/output.yaml index 947d5a49b..ded172921 100644 --- a/charts/k8s-monitoring-v1/docs/examples/pod-labels/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/pod-labels/output.yaml @@ -223,6 +223,15 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67788,6 +67797,15 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/private-image-registry/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/private-image-registry/metrics.alloy index 1a654a092..e269fe83b 100644 --- a/charts/k8s-monitoring-v1/docs/examples/private-image-registry/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/private-image-registry/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/private-image-registry/output.yaml b/charts/k8s-monitoring-v1/docs/examples/private-image-registry/output.yaml index a7805c339..347396977 100644 --- a/charts/k8s-monitoring-v1/docs/examples/private-image-registry/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/private-image-registry/output.yaml @@ -207,6 +207,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67711,6 +67719,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/metrics.alloy index 8b6e2540f..c9b2c5540 100644 --- a/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/output.yaml b/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/output.yaml index 2499de8ac..f7ac4f708 100644 --- a/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/profiles-enabled/output.yaml @@ -232,6 +232,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -68893,6 +68901,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/proxies/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/proxies/metrics.alloy index 1e4afe5a2..903fe503d 100644 --- a/charts/k8s-monitoring-v1/docs/examples/proxies/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/proxies/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/proxies/output.yaml b/charts/k8s-monitoring-v1/docs/examples/proxies/output.yaml index b0623ae6f..5082056ab 100644 --- a/charts/k8s-monitoring-v1/docs/examples/proxies/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/proxies/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67711,6 +67719,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/metrics.alloy index 5ea2f8a46..482d7f3d9 100644 --- a/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/metrics.alloy @@ -69,6 +69,13 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/output.yaml b/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/output.yaml index d1ec7be6d..1f14a9c1a 100644 --- a/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/scrape-intervals/output.yaml @@ -156,6 +156,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } @@ -66866,6 +66873,13 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] } diff --git a/charts/k8s-monitoring-v1/docs/examples/service-integrations/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/service-integrations/metrics.alloy index c0f04f087..cd706e20e 100644 --- a/charts/k8s-monitoring-v1/docs/examples/service-integrations/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/service-integrations/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/service-integrations/output.yaml b/charts/k8s-monitoring-v1/docs/examples/service-integrations/output.yaml index 799553fc2..02a254bc8 100644 --- a/charts/k8s-monitoring-v1/docs/examples/service-integrations/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/service-integrations/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67730,6 +67738,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/metrics.alloy index 0b8dfc668..569e9d402 100644 --- a/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/output.yaml b/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/output.yaml index 723a7b9ff..bab3e4688 100644 --- a/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/sigv4-auth/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67694,6 +67702,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/specific-namespace/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/specific-namespace/metrics.alloy index ef2b22a55..4e8817430 100644 --- a/charts/k8s-monitoring-v1/docs/examples/specific-namespace/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/specific-namespace/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/specific-namespace/output.yaml b/charts/k8s-monitoring-v1/docs/examples/specific-namespace/output.yaml index 550077845..2a526ebc1 100644 --- a/charts/k8s-monitoring-v1/docs/examples/specific-namespace/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/specific-namespace/output.yaml @@ -203,6 +203,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67764,6 +67772,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/traces-enabled/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/traces-enabled/metrics.alloy index 40d9b7a37..662a534ed 100644 --- a/charts/k8s-monitoring-v1/docs/examples/traces-enabled/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/traces-enabled/metrics.alloy @@ -111,6 +111,15 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/traces-enabled/output.yaml b/charts/k8s-monitoring-v1/docs/examples/traces-enabled/output.yaml index 4cfced561..fbefd346d 100644 --- a/charts/k8s-monitoring-v1/docs/examples/traces-enabled/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/traces-enabled/output.yaml @@ -256,6 +256,15 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67858,6 +67867,15 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + traces = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/windows-exporter/metrics.alloy b/charts/k8s-monitoring-v1/docs/examples/windows-exporter/metrics.alloy index d0d5b9303..ee4d4711f 100644 --- a/charts/k8s-monitoring-v1/docs/examples/windows-exporter/metrics.alloy +++ b/charts/k8s-monitoring-v1/docs/examples/windows-exporter/metrics.alloy @@ -71,6 +71,14 @@ otelcol.processor.k8sattributes "default" { } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } +} + +otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/docs/examples/windows-exporter/output.yaml b/charts/k8s-monitoring-v1/docs/examples/windows-exporter/output.yaml index e0bb0b375..70d088160 100644 --- a/charts/k8s-monitoring-v1/docs/examples/windows-exporter/output.yaml +++ b/charts/k8s-monitoring-v1/docs/examples/windows-exporter/output.yaml @@ -242,6 +242,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] @@ -67933,6 +67941,14 @@ data: } } + output { + metrics = [otelcol.processor.attributes.default.input] + logs = [otelcol.processor.attributes.default.input] + } + } + + otelcol.processor.attributes "default" { + output { metrics = [otelcol.processor.transform.default.input] logs = [otelcol.processor.transform.default.input] diff --git a/charts/k8s-monitoring-v1/templates/alloy_config/_processors.alloy.txt b/charts/k8s-monitoring-v1/templates/alloy_config/_processors.alloy.txt index d160d956f..94b2cf444 100644 --- a/charts/k8s-monitoring-v1/templates/alloy_config/_processors.alloy.txt +++ b/charts/k8s-monitoring-v1/templates/alloy_config/_processors.alloy.txt @@ -79,6 +79,75 @@ otelcol.processor.k8sattributes "default" { } } + output { +{{- if .Values.metrics.enabled }} + metrics = [otelcol.processor.attributes.default.input] +{{- end }} +{{- if .Values.logs.enabled }} + logs = [otelcol.processor.attributes.default.input] +{{- end }} +{{- if .Values.traces.enabled }} + traces = [otelcol.processor.attributes.default.input] +{{- end }} + } +} + +otelcol.processor.attributes "default" { +{{- if .Values.receivers.processors.attributes.include.matchType }} + include { + match_type = {{ .Values.receivers.processors.attributes.include.matchType | quote }} +{{- if .Values.receivers.processors.attributes.include.logBodies }} + log_bodies = {{ .Values.receivers.processors.attributes.include.logBodies | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.include.logSeverityTexts }} + log_severity_texts = {{ .Values.receivers.processors.attributes.include.logSeverityTexts | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.include.metricNames }} + metric_names = {{ .Values.receivers.processors.attributes.include.metricNames | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.include.services }} + services = {{ .Values.receivers.processors.attributes.include.services | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.include.spanKinds }} + span_kinds = {{ .Values.receivers.processors.attributes.include.spanKinds | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.include.spanNames }} + span_names = {{ .Values.receivers.processors.attributes.include.spanNames | toJson }} +{{- end }} + } +{{- end }} +{{- if .Values.receivers.processors.attributes.exclude.matchType }} + exclude { + match_type = {{ .Values.receivers.processors.attributes.exclude.matchType | quote }} +{{- if .Values.receivers.processors.attributes.exclude.logBodies }} + log_bodies = {{ .Values.receivers.processors.attributes.exclude.logBodies | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.exclude.logSeverityTexts }} + log_severity_texts = {{ .Values.receivers.processors.attributes.exclude.logSeverityTexts | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.exclude.metricNames }} + metric_names = {{ .Values.receivers.processors.attributes.exclude.metricNames | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.exclude.services }} + services = {{ .Values.receivers.processors.attributes.exclude.services | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.exclude.spanKinds }} + span_kinds = {{ .Values.receivers.processors.attributes.exclude.spanKinds | toJson }} +{{- end }} +{{- if .Values.receivers.processors.attributes.exclude.spanNames }} + span_names = {{ .Values.receivers.processors.attributes.exclude.spanNames | toJson }} +{{- end }} + } +{{- end }} + +{{- range $action := .Values.receivers.processors.attributes.actions }} + action { + {{- range $k, $v := $action }} + {{ $k }} = {{ $v | quote }} + {{- end }} + } +{{- end }} + output { {{- if .Values.metrics.enabled }} metrics = [otelcol.processor.transform.default.input] @@ -88,7 +157,7 @@ otelcol.processor.k8sattributes "default" { {{- end }} {{- if .Values.traces.enabled }} traces = [ - otelcol.processor.transform.default.input, + otelcol.processor.transform.default.input, {{- if and .Values.metrics.enabled .Values.receivers.grafanaCloudMetrics.enabled }} otelcol.connector.host_info.default.input, {{- end }} diff --git a/charts/k8s-monitoring-v1/values.schema.json b/charts/k8s-monitoring-v1/values.schema.json index 4ddeda4b1..5587572a4 100644 --- a/charts/k8s-monitoring-v1/values.schema.json +++ b/charts/k8s-monitoring-v1/values.schema.json @@ -2480,6 +2480,66 @@ "processors": { "type": "object", "properties": { + "attributes": { + "type": "object", + "properties": { + "actions": { + "type": "array" + }, + "exclude": { + "type": "object", + "properties": { + "logBodies": { + "type": "array" + }, + "logSeverityTexts": { + "type": "array" + }, + "matchType": { + "type": "string" + }, + "metricNames": { + "type": "array" + }, + "services": { + "type": "array" + }, + "spanKinds": { + "type": "array" + }, + "spanNames": { + "type": "array" + } + } + }, + "include": { + "type": "object", + "properties": { + "logBodies": { + "type": "array" + }, + "logSeverityTexts": { + "type": "array" + }, + "matchType": { + "type": "string" + }, + "metricNames": { + "type": "array" + }, + "services": { + "type": "array" + }, + "spanKinds": { + "type": "array" + }, + "spanNames": { + "type": "array" + } + } + } + } + }, "batch": { "type": "object", "properties": { diff --git a/charts/k8s-monitoring-v1/values.yaml b/charts/k8s-monitoring-v1/values.yaml index c5c671fab..ad85ca295 100644 --- a/charts/k8s-monitoring-v1/values.yaml +++ b/charts/k8s-monitoring-v1/values.yaml @@ -58,7 +58,7 @@ externalServices: # All values are treated as raw strings and not quoted. # @section -- External Services (Prometheus) externalLabelsFrom: {} - # -- Rule blocks to be added to the [write_relabel_config block](https://grafana.com/docs/alloy/latest/reference/components/prometheus.remote_write/#write_relabel_config-block) + # -- Rule blocks to be added to the [write_relabel_config block](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.remote_write/#write_relabel_config-block) # of the prometheus.remote_write component. # @section -- External Services (Prometheus) writeRelabelConfigRules: "" @@ -167,7 +167,7 @@ externalServices: # @section -- External Services (Prometheus) secretKeyKey: "secretKey" # Configure the Prometheus Remote Write Queue - # [docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.remote_write/#queue_config-block) + # [docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.remote_write/#queue_config-block) queue_config: # -- Number of samples to buffer per shard. # @default -- 10000 @@ -219,9 +219,9 @@ externalServices: namespace: "" # -- TLS settings to configure for the metrics service, compatible with - # [remoteWrite protocol](https://grafana.com/docs/alloy/latest/reference/components/prometheus.remote_write/#tls_config-block), - # [otlp](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlp/#tls-block), or - # [otlphttp](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlphttp/#tls-block) protocols + # [remoteWrite protocol](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.remote_write/#tls_config-block), + # [otlp](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/#tls-block), or + # [otlphttp](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlphttp/#tls-block) protocols # @section -- External Services (Prometheus) tls: {} @@ -401,7 +401,7 @@ externalServices: # @section -- External Services (Loki) namespace: "" - # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/loki.write/#tls_config-block) to configure for the logs service. + # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/loki/loki.write/#tls_config-block) to configure for the logs service. # @section -- External Services (Loki) tls: {} @@ -504,11 +504,11 @@ externalServices: # @section -- External Services (Tempo) namespace: "" - # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlp/#tls-block) to configure for the traces service. + # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/#tls-block) to configure for the traces service. # @section -- External Services (Tempo) tls: {} - # -- Define the [TLS block](https://grafana.com/docs/alloy/latest/reference/components/otelcol.exporter.otlp/#tls-block). + # -- Define the [TLS block](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/#tls-block). # Example: # `tlsOptions: insecure = true` # This option will be deprecated and removed soon. Please switch to `tls` and use yaml format. @@ -592,7 +592,7 @@ externalServices: # @section -- External Services (Pyroscope) namespace: "" - # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/pyroscope.write/#tls_config-block) to configure for the profiles service. + # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/pyroscope/pyroscope.write/#tls_config-block) to configure for the profiles service. # @section -- External Services (Pyroscope) tls: {} @@ -606,7 +606,7 @@ metrics: # @section -- Metrics Global Settings scrapeInterval: 60s - # -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) + # -- 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. # @section -- Metrics Global Settings maxCacheSize: 100000 @@ -614,13 +614,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for all metric sources. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Global Settings extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for all metric sources. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Global Settings extraMetricRelabelingRules: "" @@ -640,13 +640,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for auto-discovered entities. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Auto-Discovery extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for auto-discovered entities. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Auto-Discovery extraMetricRelabelingRules: "" @@ -690,7 +690,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Auto-Discovery @@ -722,13 +722,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Grafana Alloy. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Alloy extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Grafana Alloy. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Alloy extraMetricRelabelingRules: "" @@ -750,7 +750,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Alloy @@ -776,13 +776,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Kube State Metrics. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Kube State Metrics extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Kube State Metrics. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Kube State Metrics extraMetricRelabelingRules: "" @@ -810,7 +810,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Kube State Metrics @@ -837,13 +837,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Node Exporter. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Node Exporter extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Node Exporter. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Node Exporter extraMetricRelabelingRules: "" @@ -874,7 +874,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Node Exporter @@ -900,13 +900,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Windows Exporter. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Windows Exporter extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Windows Exporter. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Windows Exporter extraMetricRelabelingRules: "" @@ -925,7 +925,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Windows Exporter @@ -950,13 +950,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Kubelet. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Kubelet extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Kubelet. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Kubelet extraMetricRelabelingRules: "" @@ -975,7 +975,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Kubelet @@ -1000,13 +1000,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Kubelet Resources. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Kubelet Resources extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Kubelet Resources. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Kubelet Resources extraMetricRelabelingRules: "" @@ -1025,7 +1025,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Kubelet Resources @@ -1050,13 +1050,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for cAdvisor. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: cAdvisor extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for cAdvisor. # 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)) + # # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: cAdvisor extraMetricRelabelingRules: "" @@ -1092,7 +1092,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: cAdvisor @@ -1113,13 +1113,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for the API Server. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: ApiServer extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the API Server. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: ApiServer extraMetricRelabelingRules: "" @@ -1134,7 +1134,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: ApiServer @@ -1160,13 +1160,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for the Kube Controller Manager. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Kube Controller Manager extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the Kube Controller Manager. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Kube Controller Manager extraMetricRelabelingRules: "" @@ -1181,7 +1181,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Kube Controller Manager @@ -1207,13 +1207,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for the Kube Proxy. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Kube Proxy extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the Kube Proxy. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Kube Proxy extraMetricRelabelingRules: "" @@ -1228,7 +1228,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Kube Proxy @@ -1254,13 +1254,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for the Kube Scheduler. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Kube Scheduler extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for the Kube Scheduler. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Kube Scheduler extraMetricRelabelingRules: "" @@ -1275,7 +1275,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Kube Scheduler @@ -1302,13 +1302,13 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for OpenCost. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: OpenCost extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for OpenCost. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: OpenCost extraMetricRelabelingRules: "" @@ -1327,7 +1327,7 @@ metrics: # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: OpenCost @@ -1353,11 +1353,11 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Kepler. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Kepler extraRelabelingRules: "" - # -- Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) + # -- Rule blocks to be added to the prometheus.relabel component for Kepler. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. # @section -- Metrics Job: Kepler extraMetricRelabelingRules: "" @@ -1378,7 +1378,7 @@ metrics: # -- Sets the max_cache_size for the prometheus.relabel component for Kepler. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @default -- 100000 # @section -- Metrics Job: Kepler @@ -1403,11 +1403,11 @@ metrics: # -- Rule blocks to be added to the discovery.relabel component for Beyla. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Beyla extraRelabelingRules: "" - # -- Rule blocks to be added to the prometheus.relabel component for Beyla. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#rule-block)) + # -- Rule blocks to be added to the prometheus.relabel component for Beyla. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # These relabeling rules are applied post-scrape against the metrics returned from the scraped target, no __meta* labels are present. # @section -- Metrics Job: Beyla extraMetricRelabelingRules: "" @@ -1424,7 +1424,7 @@ metrics: # -- Sets the max_cache_size for the prometheus.relabel component for Beyla. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @default -- 100000 # @section -- Metrics Job: Beyla @@ -1454,19 +1454,19 @@ metrics: # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Prometheus Operator (PodMonitors) extraRelabelingRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Prometheus Operator (PodMonitors) extraMetricRelabelingRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Prometheus Operator (PodMonitors) @@ -1496,19 +1496,19 @@ metrics: # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Prometheus Operator (Probes) extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for Probe 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Prometheus Operator (Probes) extraMetricRelabelingRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Prometheus Operator (Probes) @@ -1538,19 +1538,19 @@ metrics: # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Metrics Job: Prometheus Operator (ServiceMonitors) extraRelabelingRules: "" # -- Rule blocks to be added to the prometheus.relabel component for ServiceMonitor 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#rule-block)) # @section -- Metrics Job: Prometheus Operator (ServiceMonitors) extraMetricRelabelingRules: "" # -- 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.relabel/#arguments)) # Overrides metrics.maxCacheSize # @raw # @section -- Metrics Job: Prometheus Operator (ServiceMonitors) @@ -1572,7 +1572,7 @@ metrics: # or any other repository that follows the same module structure. Each module is expected to have a "kubernetes" module and a "scrape" module. alloyModules: # -- List of connection configurations used by modules. Configures the import.git component - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/import.git/) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/import/import.git/) #
- `alias: ""` the alias of the connection #
- `repository: ""` URL of the Git repository containing the module. #
- `revision: ""` Branch, tag, or commit to be checked out. @@ -1607,7 +1607,7 @@ metrics: # @section -- Metrics -> OTEL Receivers receiver: # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) # @section -- Metrics Receivers filters: # @section -- Metrics Receivers @@ -1615,7 +1615,7 @@ metrics: # @section -- Metrics Receivers datapoint: [] # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) # @section -- Metrics Receivers transforms: # @section -- Metrics Receivers @@ -1664,7 +1664,7 @@ logs: # -- Rule blocks to be added to the discovery.relabel component for pod logs. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Logs Scrape: Pod Logs extraRelabelingRules: "" @@ -1677,7 +1677,7 @@ logs: gatherMethod: "volumes" # -- Stage blocks to be added to the loki.process component for pod logs. - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki.process/#blocks)) + # ([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. # @section -- Logs Scrape: Pod Logs extraStageBlocks: "" @@ -1715,7 +1715,7 @@ logs: selector: "" # -- Stage blocks to be added to the loki.process component for logs gathered via PodLogs objects. - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki.process/#blocks)) + # ([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. # @section -- Logs Scrape: PodLog Objects extraStageBlocks: "" @@ -1735,7 +1735,7 @@ logs: namespaces: [] # -- 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)) + # ([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. # @section -- Logs Scrape: Cluster Events extraStageBlocks: "" @@ -1781,7 +1781,7 @@ logs: # - containerd.service # -- Stage blocks to be added to the loki.process component for journal logs. - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/loki.process/#blocks)) + # ([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. # @section -- Logs Scrape: Journal extraStageBlocks: "" @@ -1789,7 +1789,7 @@ logs: # -- Rule blocks to be added used with the loki.source.journal component for journal logs. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # **Note:** Many field names from journald start with an `_`, such as `_systemd_unit`. The final internal label name would # be `__journal__systemd_unit`, with two underscores between `__journal` and `systemd_unit`. # @section -- Logs Scrape: Pod Logs @@ -1799,13 +1799,13 @@ logs: # @section -- Logs -> OTEL Receiver receiver: # -- Apply a filter to logs received via the OTLP or OTLP HTTP receivers. - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol.processor.filter/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) # @section -- Logs Receiver filters: # @section -- Logs Receiver log_record: [] # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) # @section -- Logs Receiver transforms: # -- Resource transformation rules. @@ -1834,7 +1834,7 @@ traces: # Settings related to traces ingested via receivers receiver: # -- 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.filter/)) # @section -- Traces filters: # @section -- Traces @@ -1845,7 +1845,7 @@ traces: # @section -- Traces 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/)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.transform/)) # @section -- Traces transforms: # @section -- Traces @@ -1875,7 +1875,7 @@ profiles: # -- Rule blocks to be added to the discovery.relabel component for eBPF profile sources. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Profiles (eBPF) extraRelabelingRules: "" @@ -1893,7 +1893,7 @@ profiles: namespaces: [] # -- Rule blocks to be added to the discovery.relabel component for Java profile sources. - # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#rule-block)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Profiles (java) extraRelabelingRules: "" @@ -1918,7 +1918,7 @@ profiles: # -- Rule blocks to be added to the discovery.relabel component for eBPF profile sources. # These relabeling rules are applied pre-scrape against the targets from service discovery. # 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)) + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/discovery/discovery.relabel/#rule-block)) # @section -- Profiles (pprof) extraRelabelingRules: "" @@ -1950,7 +1950,7 @@ receivers: # @section -- OTEL Receivers (gRPC) port: 4317 - # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/gRPC receiver. + # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/gRPC receiver. # @section -- OTEL Receivers (gRPC) tls: {} @@ -1967,7 +1967,7 @@ receivers: # @section -- OTEL Receivers (HTTP) port: 4318 - # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/HTTP receiver. + # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.otlp/#tls-block) to configure for the OTLP/HTTP receiver. # @section -- OTEL Receivers (HTTP) tls: {} @@ -2016,7 +2016,7 @@ receivers: # @section -- OTEL Receivers (Jaeger) port: 14268 - # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.jaeger/#tls-block) to configure for the Jaeger receiver. + # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.jaeger/#tls-block) to configure for the Jaeger receiver. # @section -- OTEL Receivers (Jaeger) tls: {} @@ -2033,7 +2033,7 @@ receivers: # @section -- OTEL Receivers (Zipkin) port: 9411 - # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol.receiver.zipkin/#tls-block) to configure for the Zipkin receiver. + # -- [TLS settings](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.receiver.zipkin/#tls-block) to configure for the Zipkin receiver. # @section -- OTEL Receivers (Zipkin) tls: {} @@ -2080,6 +2080,40 @@ receivers: # @section -- OTEL Receivers (Processors) annotations: [] + # -- Apply an attributes processor to data received via OTLP/gRPC, OTLP/HTTP, Jaeger, or Zipkin receivers + # ([docs](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.attributes/)) + # @section -- OTEL Receivers (Processors) + attributes: + # -- The list of attribute actions to include in the telemetry data. + # Example: + # actions: + # - key: "new_user_key" + # from_attribute: "user_key" + # action: "upsert" + # @section -- OTEL Receivers (Processors) + actions: [] + + # -- The list include data being fed into the action blocks based on the properties of a span, log, or metric records. + # @section -- OTEL Receivers (Processors) + include: + matchType: "" + logBodies: [] + logSeverityTexts: [] + metricNames: [] + services: [] + spanKinds: [] + spanNames: [] + + # @section -- OTEL Receivers (Processors) + exclude: + matchType: "" + logBodies: [] + logSeverityTexts: [] + metricNames: [] + services: [] + spanKinds: [] + spanNames: [] + # Resource detection processor for OTLP/gRPC, OTLP/HTTP, Jaeger, or Zipkin receivers resourcedetection: # -- Read resource information from the OTEL_RESOURCE_ATTRIBUTES environment variable. diff --git a/charts/k8s-monitoring/Chart.lock b/charts/k8s-monitoring/Chart.lock index 1a9c10c43..3455c3c28 100644 --- a/charts/k8s-monitoring/Chart.lock +++ b/charts/k8s-monitoring/Chart.lock @@ -39,4 +39,4 @@ dependencies: repository: https://grafana.github.io/helm-charts version: 0.9.2 digest: sha256:96e2aabc44df7e2967da85bec1eb82f599d52c8a20319369affdbc38e1f19901 -generated: "2024-10-31T15:31:12.330041-05:00" +generated: "2024-11-01T09:01:45.021202-05:00" diff --git a/charts/k8s-monitoring/README.md b/charts/k8s-monitoring/README.md index a381d1cbd..640181714 100644 --- a/charts/k8s-monitoring/README.md +++ b/charts/k8s-monitoring/README.md @@ -314,7 +314,7 @@ podLogs: | Key | Type | Default | Description | |-----|------|---------|-------------| -| 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. | +| 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. | | global.platform | string | `""` | The specific platform for this cluster. Will enable compatibility for some platforms. Supported options: (empty) or "openshift". | | global.scrapeInterval | string | `"60s"` | How frequently to scrape metrics. | diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-annotation-autodiscovery-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-annotation-autodiscovery-1.0.0.tgz index 002b9073a..01ee7410c 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-annotation-autodiscovery-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-annotation-autodiscovery-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-application-observability-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-application-observability-1.0.0.tgz index b893009eb..ad9cf95b7 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-application-observability-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-application-observability-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-events-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-events-1.0.0.tgz index 7e740b138..7a0a7372a 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-events-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-events-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-metrics-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-metrics-1.0.0.tgz index d886db8b4..c5c920654 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-metrics-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-cluster-metrics-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-integrations-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-integrations-1.0.0.tgz index 9f060fecf..3dd39e2c2 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-integrations-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-integrations-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-pod-logs-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-pod-logs-1.0.0.tgz index 228411086..d658f7bf0 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-pod-logs-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-pod-logs-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-profiling-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-profiling-1.0.0.tgz index b2fca958b..c537153e2 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-profiling-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-profiling-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/charts/k8s-monitoring-feature-prometheus-operator-objects-1.0.0.tgz b/charts/k8s-monitoring/charts/k8s-monitoring-feature-prometheus-operator-objects-1.0.0.tgz index 46cee23e8..f9501e591 100644 Binary files a/charts/k8s-monitoring/charts/k8s-monitoring-feature-prometheus-operator-objects-1.0.0.tgz and b/charts/k8s-monitoring/charts/k8s-monitoring-feature-prometheus-operator-objects-1.0.0.tgz differ diff --git a/charts/k8s-monitoring/values.yaml b/charts/k8s-monitoring/values.yaml index 09acf4a6d..32fa96831 100644 --- a/charts/k8s-monitoring/values.yaml +++ b/charts/k8s-monitoring/values.yaml @@ -16,7 +16,7 @@ global: # @section -- Global Settings scrapeInterval: 60s - # -- Sets the max_cache_size for every prometheus.relabel component. ([docs](https://grafana.com/docs/alloy/latest/reference/components/prometheus.relabel/#arguments)) + # -- 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. # @section -- Global Settings maxCacheSize: 100000