chore(deps): update dependency grafana/alloy to v1.11.0 #110
No reviewers
Labels
No labels
action
automerge
dependencies
docker
pin-digest
skip-ci
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
homelab/ansible-collection!110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/grafana-alloy-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.10.2->1.11.0Release Notes
grafana/alloy (grafana/alloy)
v1.11.0Compare Source
Breaking changes
Prometheus dependency had a major version upgrade from v2.55.1 to v3.4.2. (@thampiotr)
The
.pattern in regular expressions in PromQL matches newline characters now. With this change a regular expressions like.*matches strings that include\n. This applies to matchers in queries and relabel configs in Prometheus and Loki components.The
enable_http2inprometheus.remote_writecomponent's endpoints has been changed tofalseby default. Previously, in Prometheus v2 the remote write http client would default to use http2. In order to parallelize multiple remote write queues across multiple sockets its preferable to not default to http2. If you prefer to use http2 for remote write you must now setenable_http2totruein yourprometheus.remote_writeendpoints configuration section.The experimental CLI flag
--feature.prometheus.metric-validation-schemehas been deprecated and has no effect. You can configure the metric validation scheme individually for eachprometheus.scrapecomponent.Log message format has changed for some of the
prometheus.*components as part of the upgrade to Prometheus v3.The values of the
lelabel of classic histograms and thequantilelabel of summaries are now normalized upon ingestion. In previous Alloy versions, that used Prometheus v2, the value of these labels depended on the scrape protocol (protobuf vs text format) in some situations. This led to label values changing based on the scrape protocol. E.g. a metric exposed asmy_classic_hist{le="1"}would be ingested asmy_classic_hist{le="1"}via the text format, but asmy_classic_hist{le="1.0"}via protobuf. This changed the identity of the metric and caused problems when querying the metric. In current Alloy release, which uses Prometheus v3, these label values will always be normalized to a float like representation. I.e. the above example will always result inmy_classic_hist{le="1.0"}being ingested into Prometheus, no matter via which protocol. The effect of this change is that alerts, recording rules and dashboards that directly reference label values as whole numbers such asle="1"will stop working.The recommended way to deal with this change is to fix references to integer
leandquantilelabel values, but otherwise do nothing and accept that some queries that span the transition time will produce inaccurate or unexpected results.See the upstream Prometheus v3 migration guide for more details.
prometheus.exporter.windowsdependency has been updated to v0.31.1. (@dehaansa)There are various renamed metrics and two removed collectors (
cs,logon), see the v1.11 release notes for more information.scrape_native_histogramsattribute forprometheus.scrapeis now set tofalse, whereas in previous versions of Alloy it would default totrue. This means that it is no longer enough to just configurescrape_protocolsto start withPrometheusPrototo scrape native histograms -scrape_native_histogramshas to be enabled. Ifscrape_native_histogramsis enabled,scrape_protocolswill automatically be configured correctly for you to includePrometheusProto. If you configure it explicitly, Alloy will validate thatPrometheusProtois in thescrape_protocolslist.Add
otel_attrs_to_hec_metadataconfiguration block tootelcol.exporter.splunkhecto matchotelcol.receiver.splunkhec. (@cgetzen)[
otelcol.processor.batch] Two arguments have different default values. (@ptodev)send_batch_sizeis now set to 2000 by default. It used to be 8192.send_batch_max_sizeis now set to 3000 by default. It used to be 0.OpenTelemetry Collector dependencies upgraded from v0.128.0 to v0.134.0. (@ptodev)
otelcol.receiver.opencensuscomponent has been deprecated and will be removed in a future release, useotelcol.receiver.otelpinstead.otelcol.exporter.*] The deprecatedblockingargument in thesending_queueblock has been removed.Use
block_on_overflowinstead.otelcol.receiver.kafka,otelcol.exporter.kafka]: Removed thebroker_addrargument from theaws_mskblock.Also removed the
SASL/AWS_MSK_IAMauthentication mechanism.otelcol.exporter.splunkhec] Thebatcherblock is deprecated and will be removed in a future release. Use thequeueblock instead.otelcol.exporter.loadbalancing] Use a linear probe to decrease variance caused by hash collisions, which was causing a non-uniform distribution of loadbalancing.otelcol.connector.servicegraph] Thedatabase_name_attributeargument has been removed.otelcol.connector.spanmetrics] Adds a default maximum number of exemplars within the metric export interval.otelcol.processor.tail_sampling] Add a newblock_on_overflowconfig attribute.Features
Add the
otelcol.receiver.fluentforwardreceiver to receive logs via Fluent Forward Protocol. (@rucciva)Add the
prometheus.enrichcomponent to enrich metrics using labels fromdiscovery.*components. (@ArkovKonstantin)Add
node_filterconfiguration block toloki.source.podlogscomponent to enable node-based filtering for pod discovery. When enabled, only pods running on the specified node will be discovered and monitored, significantly reducing API server load and network traffic in DaemonSet deployments. (@QuentinBisson)(Experimental) Additions to experimental
database_observability.mysqlcomponent:query_samplecollector now supports auto-enabling the necessarysetup_consumerssettings (@cristiangreco)query_samplecollector is now compatible with mysql less than 8.0.28 (@cristiangreco)server_idlabel on log entries (@matthewnolf)server_id(@matthewnolf)(Experimental) Additions to experimental
database_observability.postgrescomponent:query_tablescollector for postgres (@matthewnolf)cloud_provider.awsconfiguration that enables optionally supplying the ARN of the database under observation. The ARN is appended to metric samples as labels for easier filtering and grouping of resources.query_samplecollector for postgres (@gaantunes)schema_detailscollector for postgres (@fridgepoet)server_idlabel on logs and metrics (@matthewnolf)Add
otelcol.receiver.googlecloudpubsubcommunity component to receive metrics, traces, and logs from Google Cloud Pub/Sub subscription. (@eraac)Add otel collector converter for
otelcol.receiver.googlecloudpubsub. (@kalleep)(Experimental) Add a
honor_metadataconfiguration argument to theprometheus.scrapecomponent.When set to
true, it will propagate metric metadata to downstream components.Add a flag to pyroscope.ebpf alloy configuration to set the off-cpu profiling threshold. (@luweglarz)
Add
encoding.url_encodeandencoding.url_decodestd lib functions. (@kalleep)Enhancements
Ensure text in the UI does not overflow node boundaries in the graph. (@blewis12)
Fix
pyroscope.writecomponent'sAppendIngestmethod to respect configured timeout and implement retry logic. The method now properly uses the configuredremote_timeout, includes retry logic with exponential backoff, and tracks metrics for sent/dropped bytes and profiles consistently with theAppendmethod. (@korniltsev)pyroscope.write,pyroscope.receive_httpcomponents includetrace_idin logs and propagate it downstream. (@korniltsev)Improve logging in
pyroscope.writecomponent. (@korniltsev)Add comprehensive latency metrics to
pyroscope.writecomponent with endpoint-specific tracking for both push and ingest operations. (@korniltsev, @claude)prometheus.scrapenow supportsconvert_classic_histograms_to_nhcb,enable_compression,metric_name_validation_scheme,metric_name_escaping_scheme,native_histogram_bucket_limit, andnative_histogram_min_bucket_factorarguments. See reference documentation for more details. (@thampiotr)Add
max_send_message_sizeconfiguration option toloki.source.apicomponent to control the maximum size of requests to the push API. (@thampiotr)Add
protobuf_messageargument toprometheus.remote_writeendpoint configuration to support both Prometheus Remote Write v1 and v2 protocols. The default remains"prometheus.WriteRequest"(v1) for backward compatibility. (@thampiotr)Update the
yet-another-cloudwatch-exporterdependency to point to the prometheus-community repo as it has been donated. Adds a few new services toprometheus.exporter.cloudwatch. (@dehaansa, @BoweFlex, @andriikushch)pyroscope.javanow supports configuring thelog_levelandquietflags on async-profiler. (@deltamualpha)Add
application_hostandnetwork_inter_zonefeatures tobeyla.ebpfcomponent. (@marctc)Set the publisher name in the Windows installer to "Grafana Labs". (@martincostello)
Switch to the community maintained fork of
go-jmespaththat has more features. (@dehaansa)Add a
stage.patternstage toloki.processthat uses LogQL patterns to parse logs. (@dehaansa)Add support to validate references, stdlib functions and arguments when using validate command. (@kalleep)
Update the
prometheus.exporter.processcomponent to get theremove_empty_groupsoption. (@dehaansa)Remove unnecessary allocations in
stage.static_labels. (@kalleep)Upgrade
beyla.ebpffrom Beyla version v2.2.5 to v2.5.8 The full list of changes can be found in the Beyla release notes (@marctc)prometheus.exporter.azuresupports settingintervalandtimespanindependently allowing for further look back when querying metrics. (@kgeckhart)loki.source.journalnow supportslegacy_positonblock that can be used to translate Static Agent or Promtail position files. (@kalleep)Normalize attr key name in logfmt logger. (@zry98)
(Experimental) Add an extra parameter to the
array.combine_mapsstandard library functionto enable preserving the first input list even if there is no match. (@ptodev)
Reduce memory overhead of
prometheus.remote_write's WAL by bringing in an upstream change to only track series in a slice if there's a hash conflict. (@kgeckhart)Reduce log level from warning for
loki.writewhen request fails and will be retried. (@kalleep)Fix slow updates to
loki.source.filewhen only targets have changed and pipeline is blocked on writes. (@kalleep)Reduced allocation in
loki.writewhen using external labels with mutliple endpoints. (@kalleep)The Windows installer and executables are now code signed. (@martincostello)
Reduce compressed request size in
prometheus.write.queueby ensuring append order is maintained when sending metrics to the WAL. (@kgeckhart)Add
protobuf_messageandmetadata_cache_sizearguments toprometheus.write.queueendpoint configuration to support both Prometheus Remote Write v1 and v2 protocols. The default remains"prometheus.WriteRequest"(v1) for backward compatibility. (@dehaansa)Reduce allocations for
loki.processwhenstage.templateis used. (@kalleep)Reduce CPU of
prometheus.write.queueby eliminating duplicate calls to calculate the protobuf Size. (@kgeckhart)Use new cache for metadata cache in
prometheus.write.queueand support disabling the metadata cache with it disable by default. (@kgeckhart, @dehaansa)Bugfixes
Update
webdevops/go-commondependency to resolve concurrent map write panic. (@dehaansa)Fix ebpf profiler metrics
pyroscope_ebpf_active_targets,pyroscope_ebpf_profiling_sessions_total,pyroscope_ebpf_profiling_sessions_failing_totalnot being updated. (luweglarz)Fix
prometheus.operator.podmonitorsso it now handle portNumber from PodMonitor CRD. (@kalleep)Fix
pyroscope.receive_httpso it does not restart server if the server configuration has not changed. (@korniltsev)Increase default connection limit in
pyroscope.receive_httpfrom 100 to 16k. (@korniltsev)Fix issue in
prometheus.remote_write's WAL which could allow it to hold an active series forever. (@kgeckhart)Fix issue in static and promtail converter where metrics type was not properly handled. (@kalleep)
Fix
prometheus.operator.*components to allow them to scrape correctly Prometheus Operator CRDs. (@thomas-gouveia)Fix
database_observability.mysqlanddatabase_observability.postgrescrashing alloy process due to uncaught errors.Fix data race in
loki.source.dockerthat could cause Alloy to panic. (@kalleep)Fix race conditions in
loki.source.syslogwhere it could deadlock or cause port bind errors during config reload or shutdown. (@thampiotr)Fix
prometheus.exporter.rediscomponent so that it no longer ignores theMaxDistinctKeyGroupsconfiguration option. If key group metrics are enabled, this will increase the cardinality of the generated metrics. (@stegosaurus21)Fix
loki.source.podlogscomponent to properly collect logs from Kubernetes Jobs and CronJobs. Previously, the component would fail to scrape logs from short-lived or terminated jobs due to race conditions between job completion and pod discovery. The fix includes:shouldStopTailingContainer()handles standard Kubernetes restart policies for regular pods, whileshouldStopTailingJobContainer()handles job-specific lifecycle with grace periodsThis resolves the issue where job logs were being missed, particularly for fast-completing jobs or jobs that terminated before discovery. (@QuentinBisson)
Fix
loki.source.journalcreation failing with an error when the journal file is not found. (@thampiotr)Fix graph UI so it generates correct URLs for components in
remotecfgmodules. (@patrickeasters)Fix panic in
loki.writewhen component is shutting down andexternal_labelsare configured. (@kalleep)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.
This PR has been generated by Renovate Bot.