chore(deps): update dependency grafana/alloy to v1.7.0 #62

Merged
GregoryDosh merged 1 commit from renovate/grafana-alloy-1.x into main 2025-02-24 23:35:38 +00:00

This PR contains the following updates:

Package Update Change
grafana/alloy minor 1.6.1 -> 1.7.0

Release Notes

grafana/alloy (grafana/alloy)

v1.7.0

Compare Source

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
    cumulative temporality to delta. (@​madaraszg-tulip)

  • (Experimental) Add a stage.windowsevent block in the loki.process component. This aims to replace the existing stage.eventlogmessage. (@​wildum)

  • Add pyroscope.relabel component to modify or filter profiles using Prometheus relabeling rules. (@​marcsanmi)

  • (Experimental) A new foreach block which starts an Alloy pipeline for each item inside a list. (@​wildum, @​thampiotr, @​ptodev)

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)

  • (Experimental) Various changes to the experimental component database_observability.mysql:

    • connection_info: add namespace to the metric (@​cristiangreco)
    • query_sample: better support for table name parsing (@​cristiangreco)
    • 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)
    • schema_table: refactor cache config in schema_table collector (@​cristiangreco)
    • Component: add enable/disable collector configurability to database_observability.mysql. This removes the query_samples_enabled argument, now configurable via enable/disable collector. (@​fridgepoet)
    • Component: always log instance label key (@​cristiangreco)
    • Component: better error handling for collectors (@​cristiangreco)
    • Component: use labels for some indexed logs elements (@​cristiangreco)
  • Reduce CPU usage of loki.source.windowsevent by up to 85% by updating the bookmark file every 10 seconds instead of after every event and by
    optimizing the retrieval of the process name. (@​wildum)

  • 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)

  • 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. (@​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)

  • Add livedebugging support for prometheus.remote_write (@​ravishankar15)

  • Add livedebugging support for otelcol.connector.* components (@​wildum)

  • Bump snmp_exporter and embedded modules to 0.27.0. Add support for multi-module handling by comma separation and expose argument to increase SNMP polling concurrency for prometheus.exporter.snmp. (@​v-zhuravlev)

  • Add support for pushv1.PusherService Connect API in pyroscope.receive_http. (@​simonswine)

  • Fixed an issue where loki.process would sometimes output live debugging entries out-of-order (@​thampiotr)

  • 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)

  • Fix issue with prometheus.write.queue that lead to excessive connections. (@​mattdurham)

  • Fixed a bug where loki.source.awsfirehose and loki.source.gcplog could
    not be used from within a module. (@​tpaschalis)

  • 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. (@​thampiotr)

Other changes
  • Upgrading to Prometheus v2.54.1. (@​ptodev)
    • discovery.docker has a new match_first_network attribute for matching the first network
      if the container has multiple networks defined, thus avoiding collecting duplicate targets.

    • discovery.ec2, discovery.kubernetes, discovery.openstack, and discovery.ovhcloud
      add extra __meta_ labels.

    • prometheus.remote_write supports Azure OAuth and Azure SDK authentication.

    • discovery.linode has a new region attribute, as well as extra __meta_ labels.

    • A new scrape_native_histograms argument for prometheus.scrape.
      This is enabled by default and can be used to explicitly disable native histogram support.
      In previous versions of Alloy, native histogram support has also been enabled by default
      as long as scrape_protocols starts with PrometheusProto.

    • Change the stability of the remotecfg feature from "public preview" to "generally available". (@​erikbaranowski)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [grafana/alloy](https://github.com/grafana/alloy) | minor | `1.6.1` -> `1.7.0` | --- ### Release Notes <details> <summary>grafana/alloy (grafana/alloy)</summary> ### [`v1.7.0`](https://github.com/grafana/alloy/blob/HEAD/CHANGELOG.md#v170) [Compare Source](https://github.com/grafana/alloy/compare/v1.6.1...v1.7.0) ##### Breaking changes - (*Experimental*) In `prometheus.write.queue` changed `parallelism` from attribute to a block to allow for dynamic scaling. ([@&#8203;mattdurham](https://github.com/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. ([@&#8203;nosammai](https://github.com/nosammai)) - (*Public preview*) Add `otelcol.receiver.filelog` component to read otel log entries from files ([@&#8203;dehaansa](https://github.com/dehaansa)) - (*Public preview*) Add a `otelcol.processor.cumulativetodelta` component to convert metrics from cumulative temporality to delta. ([@&#8203;madaraszg-tulip](https://github.com/madaraszg-tulip)) - (*Experimental*) Add a `stage.windowsevent` block in the `loki.process` component. This aims to replace the existing `stage.eventlogmessage`. ([@&#8203;wildum](https://github.com/wildum)) - Add `pyroscope.relabel` component to modify or filter profiles using Prometheus relabeling rules. ([@&#8203;marcsanmi](https://github.com/marcsanmi)) - (*Experimental*) A new `foreach` block which starts an Alloy pipeline for each item inside a list. ([@&#8203;wildum](https://github.com/wildum), [@&#8203;thampiotr](https://github.com/thampiotr), [@&#8203;ptodev](https://github.com/ptodev)) ##### Enhancements - Upgrade to OpenTelemetry Collector v0.119.0 ([@&#8203;dehaansa](https://github.com/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` ([@&#8203;korniltsev](https://github.com/korniltsev)) - Memory optimizations in `pyroscope.scrape` ([@&#8203;korniltsev](https://github.com/korniltsev)) - Do not drop `__meta` labels in `pyroscope.scrape`. ([@&#8203;korniltsev](https://github.com/korniltsev)) - Add the possibility to export span events as logs in `otelcol.connector.spanlogs`. ([@&#8203;steve-hb](https://github.com/steve-hb)) - Add json format support for log export via faro receiver ([@&#8203;ravishankar15](https://github.com/ravishankar15)) - (*Experimental*) Various changes to the experimental component `database_observability.mysql`: - `connection_info`: add namespace to the metric ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - `query_sample`: better support for table name parsing ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - `query_sample`: capture schema name for query samples ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - `query_sample`: fix error handling during result set iteration ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - `query_sample`: improve parsing of truncated queries ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - `query_sample`: split out sql parsing logic to a separate file ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - `schema_table`: add table columns parsing ([@&#8203;cristiagreco](https://github.com/cristiagreco)) - `schema_table`: correctly quote schema and table name in SHOW CREATE ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - `schema_table`: fix handling of view table types when detecting schema ([@&#8203;matthewnolf](https://github.com/matthewnolf)) - `schema_table`: refactor cache config in schema_table collector ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - Component: add enable/disable collector configurability to `database_observability.mysql`. This removes the `query_samples_enabled` argument, now configurable via enable/disable collector. ([@&#8203;fridgepoet](https://github.com/fridgepoet)) - Component: always log `instance` label key ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - Component: better error handling for collectors ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - Component: use labels for some indexed logs elements ([@&#8203;cristiangreco](https://github.com/cristiangreco)) - Reduce CPU usage of `loki.source.windowsevent` by up to 85% by updating the bookmark file every 10 seconds instead of after every event and by optimizing the retrieval of the process name. ([@&#8203;wildum](https://github.com/wildum)) - Ensure consistent service_name label handling in `pyroscope.receive_http` to match Pyroscope's behavior. ([@&#8203;marcsanmi](https://github.com/marcsanmi)) - Improved memory and CPU performance of Prometheus pipelines by changing the underlying implementation of targets ([@&#8203;thampiotr](https://github.com/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. ([@&#8203;v-zhuravlev](https://github.com/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). ([@&#8203;marctc](https://github.com/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. ([@&#8203;wildum](https://github.com/wildum)) - Add livedebugging support for `prometheus.remote_write` ([@&#8203;ravishankar15](https://github.com/ravishankar15)) - Add livedebugging support for `otelcol.connector.*` components ([@&#8203;wildum](https://github.com/wildum)) - Bump snmp_exporter and embedded modules to 0.27.0. Add support for multi-module handling by comma separation and expose argument to increase SNMP polling concurrency for `prometheus.exporter.snmp`. ([@&#8203;v-zhuravlev](https://github.com/v-zhuravlev)) - Add support for pushv1.PusherService Connect API in `pyroscope.receive_http`. ([@&#8203;simonswine](https://github.com/simonswine)) - Fixed an issue where `loki.process` would sometimes output live debugging entries out-of-order ([@&#8203;thampiotr](https://github.com/thampiotr)) - Fixed a bug where components could be evaluated concurrently without the full context during a config reload ([@&#8203;wildum](https://github.com/wildum)) - Fixed locks that wouldn't be released in the remotecfg service if some errors occurred during the configuration reload ([@&#8203;spartan0x117](https://github.com/spartan0x117)) - Fix issue with `prometheus.write.queue` that lead to excessive connections. ([@&#8203;mattdurham](https://github.com/mattdurham)) - Fixed a bug where `loki.source.awsfirehose` and `loki.source.gcplog` could not be used from within a module. ([@&#8203;tpaschalis](https://github.com/tpaschalis)) - 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. ([@&#8203;thampiotr](https://github.com/thampiotr)) ##### Other changes - Upgrading to Prometheus v2.54.1. ([@&#8203;ptodev](https://github.com/ptodev)) - `discovery.docker` has a new `match_first_network` attribute for matching the first network if the container has multiple networks defined, thus avoiding collecting duplicate targets. - `discovery.ec2`, `discovery.kubernetes`, `discovery.openstack`, and `discovery.ovhcloud` add extra `__meta_` labels. - `prometheus.remote_write` supports Azure OAuth and Azure SDK authentication. - `discovery.linode` has a new `region` attribute, as well as extra `__meta_` labels. - A new `scrape_native_histograms` argument for `prometheus.scrape`. This is enabled by default and can be used to explicitly disable native histogram support. In previous versions of Alloy, native histogram support has also been enabled by default as long as `scrape_protocols` starts with `PrometheusProto`. - Change the stability of the `remotecfg` feature from "public preview" to "generally available". ([@&#8203;erikbaranowski](https://github.com/erikbaranowski)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
GregoryDosh deleted branch renovate/grafana-alloy-1.x 2025-02-24 23:35:38 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
homelab/ansible-collection!62
No description provided.