Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ Main (unreleased)

- Add a `regex` argument to the `structured_metadata` stage in `loki.process` to extract labels matching a regular expression. (@timonegk)

- OpenTelemetry Collector dependencies upgraded from v0.134.0 to v0.139.0. (@dehaansa)
- All `otelcol.receiver.*` components leveraging an HTTP server can configure HTTP keep alive behavior with `keep_alives_enabled`.
- All `otelcol.exporter.*` components providing the `sending_queue` > `batch` block have default `batch` values.
- The `otelcol.processor.k8sattributes` component has support for extracting annotations from k8s jobs and daemonsets.
- The `otelcol.processor.resourcedecetion` component supports nine new detectors.
- The `otelcol.exporter.kafka` component supports partitioning logs by trace ID (`partition_logs_by_trace_id`) and configuring default behavior if topic does not exist (`allow_auto_topic_creation`).
- The `otelcol.receiver.kafka` component has new configuration options `max_partition_fetch_size`, `rack_id`, and `use_leader_epoch`.
- The `otelcol.exporter.s3` component has new configuration options `s3_base_prefix` and `s3_partition_timezone`.
- The `otelcol.processor.servicegraph` component now supports defining the maximum number of buckets for generated exponential histograms.
- See the upstream [core][https://github.com/open-telemetry/opentelemetry-collector/blob/v0.139.0/CHANGELOG.md] and [contrib][https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.139.0/CHANGELOG.md] changelogs for more details.

### Enhancements

- Add per-application rate limiting with the `strategy` attribute in the `faro.receiver` component, to prevent one application from consuming the rate limit quota of others. (@hhertout)
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Grafana Alloy is a vendor-neutral distribution of the OTel Collecto
weight: 350
cascade:
ALLOY_RELEASE: v1.12.0
OTEL_VERSION: v0.128.0
OTEL_VERSION: v0.139.0
PROM_WIN_EXP_VERSION: v0.31.3
SNMP_VERSION: v0.29.0
BEYLA_VERSION: v2.5.8
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/_index.md.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Grafana Alloy is a vendor-neutral distribution of the OTel Collecto
weight: 350
cascade:
ALLOY_RELEASE: $ALLOY_VERSION
OTEL_VERSION: v0.128.0
OTEL_VERSION: v0.139.0
PROM_WIN_EXP_VERSION: v0.31.3
SNMP_VERSION: v0.29.0
BEYLA_VERSION: v2.5.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,16 @@ otelcol.connector.servicegraph "<LABEL>" {

You can use the following arguments with `otelcol.connector.servicegraph`:

| Name | Type | Description | Default | Required |
|-----------------------------|------------------|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|----------|
| `cache_loop` | `duration` | Configures how often to delete series which have not been updated. | `"1m"` | no |
| `database_name_attribute` | `string` | (Deprecated) The attribute name used to identify the database name from span attributes. | `"db.name"` | no |
| `database_name_attributes` | `list(string)` | The list of attribute names used to identify the database name from span attributes. | `["db.name"]` | no |
| `dimensions` | `list(string)` | A list of dimensions to add with the default dimensions. | `[]` | no |
| `latency_histogram_buckets` | `list(duration)` | Buckets for latency histogram metrics. | `["2ms", "4ms", "6ms", "8ms", "10ms", "50ms", "100ms", "200ms", "400ms", "800ms", "1s", "1400ms", "2s", "5s", "10s", "15s"]` | no |
| `metrics_flush_interval` | `duration` | The interval at which metrics are flushed to downstream components. | `"60s"` | no |
| `store_expiration_loop` | `duration` | The time to expire old entries from the store periodically. | `"2s"` | no |
| Name | Type | Description | Default | Required |
|----------------------------------|------------------|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|----------|
| `cache_loop` | `duration` | Configures how often to delete series which have not been updated. | `"1m"` | no |
| `database_name_attribute` | `string` | (Deprecated) The attribute name used to identify the database name from span attributes. | `"db.name"` | no |
| `database_name_attributes` | `list(string)` | The list of attribute names used to identify the database name from span attributes. | `["db.name"]` | no |
| `dimensions` | `list(string)` | A list of dimensions to add with the default dimensions. | `[]` | no |
| `exponential_histogram_max_size` | `list(string)` | the maximum number of buckets per positive or negative number range. | `[]` | no |
| `latency_histogram_buckets` | `list(duration)` | Buckets for latency histogram metrics. | `["2ms", "4ms", "6ms", "8ms", "10ms", "50ms", "100ms", "200ms", "400ms", "800ms", "1s", "1400ms", "2s", "5s", "10s", "15s"]` | no |
| `metrics_flush_interval` | `duration` | The interval at which metrics are flushed to downstream components. | `"60s"` | no |
| `store_expiration_loop` | `duration` | The time to expire old entries from the store periodically. | `"2s"` | no |

Service graphs work by inspecting traces and looking for spans with parent-children relationship that represent a request.
`otelcol.connector.servicegraph` uses OpenTelemetry semantic conventions to detect a myriad of requests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,25 @@ The `s3_uploader` block configures the AWS S3 bucket details used by the compone

The following arguments are supported:

| Name | Type | Description | Default | Required |
|-----------------------|------------|-------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------|
| `s3_bucket` | `string` | The S3 bucket. | | yes |
| `s3_prefix` | `string` | Prefix for the S3 key (root directory inside the bucket). | | yes |
| `acl` | `string` | The canned ACL to use when uploading objects. | `"private"` | no |
| `compression` | `string` | File compression method, `none` or `gzip` | `"none"` | no |
| `disable_ssl` | `boolean` | Set this to `true` to disable SSL when sending requests. | `false` | no |
| `endpoint` | `string` | Overrides the endpoint used by the exporter instead of constructing it from `region` and `s3_bucket`. | | no |
| `file_prefix` | `string` | The file prefix defined by the user. | | no |
| `region` | `string` | The AWS region. | `"us-east-1"` | no |
| `retry_max_attempts` | `int` | The max number of attempts for retrying a request. | `3` | no |
| `retry_max_backoff` | `duration` | The max backoff delay that can occur before retrying a request. | `20s` | no |
| `retry_mode` | `string` | The retryer implementation. | `"standard"` | no |
| `role_arn` | `string` | The Role ARN to be assumed. | | no |
| `s3_force_path_style` | `boolean` | Set this to `true` to force the request to use [path-style requests][] | `false` | no |
| `s3_partition_format` | `string` | Filepath formatting for the partition; Refer to [`strftime`][strftime] for format specification. | `"year=%Y/month=%m/day=%d/hour=%H/minute=%M"` | no |
| `storage_class` | `string` | The storage class to use when uploading objects. | `"STANDARD"` | no |
| Name | Type | Description | Default | Required |
|-------------------------|------------|-------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------|
| `s3_bucket` | `string` | The S3 bucket. | | yes |
| `s3_prefix` | `string` | Prefix for the S3 key (directory inside the bucket), appended to `s3_base_prefix` if provided. | | yes |
| `acl` | `string` | The canned ACL to use when uploading objects. | `"private"` | no |
| `compression` | `string` | File compression method, `none` or `gzip` | `"none"` | no |
| `disable_ssl` | `boolean` | Set this to `true` to disable SSL when sending requests. | `false` | no |
| `endpoint` | `string` | Overrides the endpoint used by the exporter instead of constructing it from `region` and `s3_bucket`. | | no |
| `file_prefix` | `string` | The file prefix defined by the user. | | no |
| `region` | `string` | The AWS region. | `"us-east-1"` | no |
| `retry_max_attempts` | `int` | The max number of attempts for retrying a request. | `3` | no |
| `retry_max_backoff` | `duration` | The max backoff delay that can occur before retrying a request. | `20s` | no |
| `retry_mode` | `string` | The retryer implementation. | `"standard"` | no |
| `role_arn` | `string` | The Role ARN to be assumed. | | no |
| `s3_base_prefix` | `string` | Prefix for the S3 key (root directory inside the bucket). | | no |
| `s3_force_path_style` | `boolean` | Set this to `true` to force the request to use [path-style requests][] | `false` | no |
| `s3_partition_format` | `string` | Filepath formatting for the partition; Refer to [`strftime`][strftime] for format specification. | `"year=%Y/month=%m/day=%d/hour=%H/minute=%M"` | no |
| `s3_partition_timezone` | `string` | Timezone used for partition time. Local timezone is used if not configured. | | no |
| `storage_class` | `string` | The storage class to use when uploading objects. | `"STANDARD"` | no |

`retry_mode` must be one of `standard`, `adaptive`, or `nop`.
If `retry_mode` is set to `nop`, the `aws.NopRetryer` implementation effectively disables the retry.
Expand Down Expand Up @@ -129,7 +131,6 @@ The `sending_queue` block configures queueing and batching for the exporter.
### `batch`

The `batch` block configures batching requests based on a timeout and a minimum number of items.
By default, the `batch` block is not used.

{{< docs/shared lookup="reference/components/otelcol-queue-batch-block.md" source="alloy" version="<ALLOY_VERSION>" >}}

Expand All @@ -139,11 +140,12 @@ The following arguments are supported:

| Name | Type | Description | Default | Required |
|-------------|----------|------------------------------------------------------------------------------|---------|----------|
| `s3_prefix` | `string` | Configures which resource attribute's value should be used as the S3 prefix. | | yes |
| `s3_bucket` | `string` | Configures which resource attribute's value should be used as the S3 prefix. | | yes |
| `s3_prefix` | `string` | Configures which resource attribute's value should be used as the S3 bucket. | | no |

When `s3_prefix` is set, it dynamically overrides [`s3_uploader`][s3_uploader] > `s3_prefix`.
If the specified resource attribute exists in the data, its value will be used as the prefix.
Otherwise, [`s3_uploader`][s3_uploader] > `s3_prefix` will serve as the fallback.
When `s3_prefix` or `s3_bucket` are set, they dynamically override the [`s3_uploader`][s3_uploader] attributes.
If the specified resource attribute exists in the data, its value will be used.
Otherwise, the [`s3_uploader`][s3_uploader] attribute will serve as the fallback.

### Compression

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ The `sending_queue` block configures queueing and batching for the exporter.
### `batch`

The `batch` block configures batching requests based on a timeout and a minimum number of items.
By default, the `batch` block is not used.

{{< docs/shared lookup="reference/components/otelcol-queue-batch-block.md" source="alloy" version="<ALLOY_VERSION>" >}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ The `sending_queue` block configures queueing and batching for the exporter.
### `batch`

The `batch` block configures batching requests based on a timeout and a minimum number of items.
By default, the `batch` block is not used.

{{< docs/shared lookup="reference/components/otelcol-queue-batch-block.md" source="alloy" version="<ALLOY_VERSION>" >}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ The `sending_queue` block configures queueing and batching for the exporter.
### `batch`

The `batch` block configures batching requests based on a timeout and a minimum number of items.
By default, the `batch` block is not used.

{{< docs/shared lookup="reference/components/otelcol-queue-batch-block.md" source="alloy" version="<ALLOY_VERSION>" >}}

Expand Down
Loading
Loading