Skip to content

Commit

Permalink
Merge branch 'main' into docs/update_linting_prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
clayton-cornell authored Feb 20, 2025
2 parents 3dc3bb5 + 869f193 commit d1ea60b
Show file tree
Hide file tree
Showing 131 changed files with 3,546 additions and 2,756 deletions.
40 changes: 39 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,32 @@ internal API changes are not present.
Main (unreleased)
-----------------

v1.7.0-rc.2
-----------------

### Bugfixes

- Fix an issue where Prometheus metric name validation scheme was set by default to UTF-8. It is now set back to the
previous "legacy" scheme. An experimental flag `--feature.prometheus.metric-validation-scheme` can be used to switch
it to `utf-8` to experiment with UTF-8 support.

v1.7.0-rc.1
-----------------

### Breaking changes

- (_Experimental_) In `prometheus.write.queue` changed `parallelism` from attribute to a block to allow for dynamic scaling. (@mattdurham)

- Remove `tls_basic_auth_config_path` attribute from `prometheus.exporter.mongodb` configuration as it does not configure TLS client
behavior as previously documented.

- Remove `encoding` and `encoding_file_ext` from `otelcol.exporter.awss3` component as it was not wired in to the otel component and
Alloy does not currently integrate the upstream encoding extensions that this would utilize.

### Features

- Add a `otelcol.receiver.tcplog` component to receive OpenTelemetry logs over a TCP connection. (@nosammai)

- (_Public preview_) Add `otelcol.receiver.filelog` component to read otel log entries from files (@dehaansa)

- (_Public preview_) Add a `otelcol.processor.cumulativetodelta` component to convert metrics from
Expand All @@ -29,10 +49,23 @@ Main (unreleased)

### Enhancements

- Upgrade to OpenTelemetry Collector v0.119.0 (@dehaansa):
- `otelcol.processor.resourcedetection`: additional configuration for the `ec2` detector to configure retry behavior
- `otelcol.processor.resourcedetection`: additional configuration for the `gcp` detector to collect Managed Instance Group attributes
- `otelcol.processor.resourcedetection`: additional configuration for the `eks` detector to collect cloud account attributes
- `otelcol.processor.resourcedetection`: add `kubeadm` detector to collect local cluster attributes
- `otelcol.processor.cumulativetodelta`: add `metric_types` filtering options
- `otelcol.exporter.awss3`: support configuring sending_queue behavior
- `otelcol.exporter.otlphttp`: support configuring `compression_params`, which currently only includes `level`
- `configtls`: opentelemetry components with tls config now support specifying TLS curve preferences
- `sending_queue`: opentelemetry exporters with a `sending_queue` can now configure the queue to be `blocking`

- Add `go_table_fallback` arg to `pyroscope.ebpf` (@korniltsev)

- Memory optimizations in `pyroscope.scrape` (@korniltsev)

- Do not drop `__meta` labels in `pyroscope.scrape`. (@korniltsev)

- Add the possibility to export span events as logs in `otelcol.connector.spanlogs`. (@steve-hb)

- Add json format support for log export via faro receiver (@ravishankar15)
Expand All @@ -43,6 +76,7 @@ Main (unreleased)
- `query_sample`: capture schema name for query samples (@cristiangreco)
- `query_sample`: fix error handling during result set iteration (@cristiangreco)
- `query_sample`: improve parsing of truncated queries (@cristiangreco)
- `query_sample`: split out sql parsing logic to a separate file (@cristiangreco)
- `schema_table`: add table columns parsing (@cristiagreco)
- `schema_table`: correctly quote schema and table name in SHOW CREATE (@cristiangreco)
- `schema_table`: fix handling of view table types when detecting schema (@matthewnolf)
Expand All @@ -57,10 +91,12 @@ Main (unreleased)

- Ensure consistent service_name label handling in `pyroscope.receive_http` to match Pyroscope's behavior. (@marcsanmi)

- Improved memory and CPU performance of Prometheus pipelines by changing the underlying implementation of targets (@thampiotr)
- Improved memory and CPU performance of Prometheus pipelines by changing the underlying implementation of targets (@thampiotr)

- Add `config_merge_strategy` in `prometheus.exporter.snmp` to optionally merge custom snmp config with embedded config instead of replacing. Useful for providing SNMP auths. (@v-zhuravlev)

- Upgrade `beyla.ebpf` to v2.0.4. The full list of changes can be found in the [Beyla release notes](https://github.com/grafana/beyla/releases/tag/v2.0.0). (@marctc)

### Bugfixes

- Fix log rotation for Windows in `loki.source.file` by refactoring the component to use the runner pkg. This should also reduce CPU consumption when tailing a lot of files in a dynamic environment. (@wildum)
Expand All @@ -77,6 +113,8 @@ Main (unreleased)

- Fixed a bug where components could be evaluated concurrently without the full context during a config reload (@wildum)

- Fixed locks that wouldn't be released in the remotecfg service if some errors occurred during the configuration reload (@spartan0x117)

### Other changes

- Upgrading to Prometheus v2.54.1. (@ptodev)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
#
# Lines starting with "#" and blank lines are ignored.

v1.7.0
v1.8.0
2 changes: 1 addition & 1 deletion docs/sources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Grafana Alloy
description: Grafana Alloy is a vendor-neutral distribution of the OTel Collector
weight: 350
cascade:
ALLOY_RELEASE: v1.7.0
ALLOY_RELEASE: v1.8.0
OTEL_VERSION: v0.116.0
PROM_WIN_EXP_VERSION: v0.27.3
SNMP_VERSION: v0.27.0
Expand Down
1 change: 1 addition & 0 deletions docs/sources/reference/cli/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ The following flags are supported:
* `--config.extra-args`: Extra arguments from the original format used by the converter.
* `--stability.level`: The minimum permitted stability level of functionality to run. Supported values: `experimental`, `public-preview`, `generally-available` (default `"generally-available"`).
* `--feature.community-components.enabled`: Enable community components (default `false`).
* `--feature.prometheus.metric-validation-scheme`: Prometheus metric validation scheme to use. Supported values: `legacy`, `utf-8`. NOTE: this is an experimental flag and may be removed in future releases (default `"legacy"`).

## Update the configuration file

Expand Down
1 change: 1 addition & 0 deletions docs/sources/reference/compatibility/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ The following components, grouped by namespace, _consume_ OpenTelemetry `otelcol
- [otelcol.receiver.prometheus](../components/otelcol/otelcol.receiver.prometheus)
- [otelcol.receiver.solace](../components/otelcol/otelcol.receiver.solace)
- [otelcol.receiver.syslog](../components/otelcol/otelcol.receiver.syslog)
- [otelcol.receiver.tcplog](../components/otelcol/otelcol.receiver.tcplog)
- [otelcol.receiver.vcenter](../components/otelcol/otelcol.receiver.vcenter)
- [otelcol.receiver.zipkin](../components/otelcol/otelcol.receiver.zipkin)
{{< /collapse >}}
Expand Down
Loading

0 comments on commit d1ea60b

Please sign in to comment.