Update grafana/agent-operator Docker tag to v0.44.2 #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.39.2
->v0.44.2
Release Notes
grafana/agent (grafana/agent-operator)
v0.44.2
Compare Source
Bugfixes
loki.source.podlogs
: Fixed a bug which prevented clustering from working and caused duplicate logs to be sent.The bug only happened when no
selector
ornamespace_selector
blocks were specified in the Agent configuration. (@ptodev)pyroscope.scrape
no longer tries to scrape endpoints which are not active targets anymore. (@wildum @mattdurham @dehaansa @ptodev)Enhancements
github.com/goccy/go-json
to v0.10.4, which reduces the memory consumption of an Agent instance by 20MB.If Agent is running certain otelcol components, this reduction will not apply. (@ptodev)
Other changes
Remove setcap for
cap_net_bind_service
to allow Agent to run in restricted environments.Modern container runtimes allow binding to unprivileged ports as non-root. (@ptodev)
Update to go 1.22.11 (@wildum)
v0.44.1
Compare Source
v0.44.0
Compare Source
v0.43.4
Compare Source
Other
v0.43.3
Compare Source
Bugfixes
v0.43.2
Compare Source
Security fixes
v0.43.1
Compare Source
v0.43.0
Compare Source
Bugfixes
Fix a memory leak which would occur any time
loki.process
had its configuration reloaded. (@ptodev)Fix a bug where custom components would not shadow the stdlib. If you have a module whose name conflicts with an stdlib function
and if you use this exact function in your config, then you will need to rename your module. (@wildum)
Fix an issue where nested import.git config blocks could conflict if they had the same labels. (@wildum)
Fix an issue where
loki.source.docker
stops collecting logs after a container restart. (@wildum)Other changes
ubuntu:noble
. (@amontalban)v0.42.0
Compare Source
Security fixes
Features
otelcol.exporter.debug
component for printing OTel telemetry fromother
otelcol
components to the console. (@BarunKGP)Bugfixes
Fix an issue which caused the config to be reloaded if a config reload was triggered but the config hasn't changed.
The bug only affected the "metrics" and "logs" subsystems in Static mode. (@ptodev)
Fix a bug in Static mode and Flow which prevented config reloads to work if a Loki
metrics
stage is in the pipeline.This resulted in a "failed to unregister all metrics from previous promtail" message. (@ptodev)
Enhancements
v0.41.1
Compare Source
Breaking changes
otelcol.receiver.otlp
,otelcol.receiver.zipkin
andotelcol.receiver.jaeger
settingmax_request_body_size
default changed from unlimited size to
20MiB
.Enhancements
symbols_map_size
andpid_map_size
configuration. (@simonswine)v0.41.0
Compare Source
Breaking changes
The default listen port for
otelcol.receiver.opencensus
has changed from4317 to 55678 to align with upstream. (@rfratto)
The default sync interval for
mimir.rules.kubernetes
has changed from30s
to
5m
to reduce load on Mimir. (@56quarters)Enhancements
Add support for importing folders as single module to
import.file
. (@wildum)Add support for importing directories as single module to
import.git
. (@wildum)Improve converter diagnostic output by including a Footer and removing lower
level diagnostics when a configuration fails to generate. (@erikbaranowski)
Increased the alert interval and renamed the
ClusterSplitBrain
alert toClusterNodeCountMismatch
in the GrafanaAgent Mixin to better match the alert conditions. (@thampiotr)
Not restart tailers in
loki.source.kubernetes
component by above-average time deltas if K8s version is >= 1.29.1 (@hainenber)Add conversion from static to flow mode for
loki.source.windowsevent
vialegacy_bookmark_path
. (@mattdurham)Add ability to convert static mode positions file to
loki.source.file
compatible vialegacy_positions_file
argument. (@mattdurham)Added support for
otelcol
configuration conversion ingrafana-agent convert
andgrafana-agent run
commands. (@rfratto, @erikbaranowski, @tpaschalis, @hainenber)Prefix Faro measurement values with
value_
to align with the latest Faro cloud receiver updates. (@codecapitano)Added support for
static
configuration conversion of thetraces
subsystem. (@erikbaranowski, @wildum)Add automatic conversion for
legacy_positions_file
in componentloki.source.file
. (@mattdurham)Propagate request metadata for
faro.receiver
to downstream components. (@hainenber)Features
A new
loki.rules.kubernetes
component that discoversPrometheusRule
Kubernetes resources and loads them into a Loki Ruler instance. (@EStork09)A new
snmp_context
configuration argument forprometheus.exporter.snmp
and thesnmp
Static mode integration.It overrides the
context_name
parameter in the SNMP configuration file. (@ptodev)Bugfixes
Fix panic for
prometheus.exporter.snmp
and snmp_exporter integrationintroduced in v0.40.5 with a version upgrade. This was due to an
uninitialized new metric for the exporter. (@erikbaranowski)
Fix an issue where JSON string array elements were not parsed correctly in
loki.source.cloudflare
. (@thampiotr)Fix SSRF vulnerability in
faro.receiver
by disabling source map download. (@hainenber)Fix an issue where the default values of some component's arguments change
whenever that argument is explicitly configured. This issue only affected a
small subset of arguments across 15 components. (@erikbaranowski, @rfratto)
Fix panic when fanning out to invalid receivers. (@hainenber)
Fix a bug where a panic could occur when reloading custom components. (@wildum)
The
import.git
config block did not work with branches or tags this now fixes that behavior. (@mattdurham)Fix an issue on Windows where uninstalling Alloy did not remove it from the
Add/Remove programs list. (@rfratto)
Fix a bug where a topic was claimed by the wrong consumer type in
otelcol.receiver.kafka
. (@wildum)Update
prometheus.exporter.snowflake
with the latest version of the exporter as of May 28, 2024 (@StefanKurek)NULL
values from database could cause unexpected errors.Other changes
Clustering for Grafana Agent in Flow mode has graduated from beta to stable.
Resync defaults for
otelcol.processor.k8sattributes
with upstream. (@hainenber)Resync defaults for
otelcol.exporter.otlp
andotelcol.exporter.otlphttp
with upstream. (@hainenber)v0.40.5
Compare Source
Breaking changes
prometheus.exporter.postgres
has been updated to the latest upstreamversion which changes the set of exported metrics. The following metrics were
removed:
pg_stat_database_session_time
,pg_stat_database_sessions
,pg_stat_database_sessions_abandoned
,pg_stat_database_sessions_fatal
,pg_stat_database_sessions_killed
,pg_stat_database_idle_in_transaction_time
,pg_stat_database_checksum_failures
,pg_stat_database_checksum_last_failure
,pg_stat_database_active_time
. The following metrics wererenamed:
pg_stat_bgwriter_buffers_alloc
,pg_stat_bgwriter_buffers_backend
,pg_stat_bgwriter_buffers_backend_fsync
,pg_stat_bgwriter_buffers_checkpoint
,pg_stat_bgwriter_buffers_clean
,pg_stat_bgwriter_checkpoint_sync_time
,pg_stat_bgwriter_checkpoint_write_time
,pg_stat_bgwriter_checkpoints_req
,pg_stat_bgwriter_checkpoints_timed
,pg_stat_bgwriter_maxwritten_clean
,pg_stat_bgwriter_stats_reset
- the new names include the_total
suffix. (@thampiotr)Bugfixes
Fix an issue where the azure exporter was not correctly gathering subscription scoped metrics when only one region was configured (@kgeckhart)
Fixed an issue where creating a
prometheus.exporter.postgres
component withmultiple
data_source_names
would result in an error. (@thampiotr)Fix a bug with the logs pipeline in static mode which prevented it from shutting down cleanly.
Other changes
v0.40.4
Compare Source
Security fixes
Enhancements
Update
prometheus.exporter.kafka
with the following functionalities (@wildum):In
prometheus.exporter.kafka
, the interpolation table used to compute estimated lag metrics is now prunedon
metadata_refresh_interval
instead ofprune_interval_seconds
. (@wildum)Bugfixes
v0.40.3
Compare Source
Bugfixes
Fix a bug where structured metadata and parsed field are not passed further in
loki.source.api
(@marchellodev)Change
import.git
to use Git pulls rather than fetches to fix scenarios where the local code did not get updated. (@mattdurham)Other changes
Upgrade to Go 1.22.1 (@thampiotr)
Upgrade from OpenTelemetry Collector v0.87.0 to v0.96.0:
=
)https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/28511ll/28511
Before: 2023-07-10 12:34:39.740638 -0700 PDT m=+0.020184946
After: 2023-07-10T12:39https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/28817lector-contrib/pull/28817
upper_threshold_ms
argument for thelatency
policy.https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/26115ll/26115
events
metric.https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/27451es/27451
max_per_data_point
argument for exemplar generation.metrics_flush_interval
argument.https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/27679es/27679
silent
ErrorModehttps://github.com/open-telemetry/opentelemetry-collector-contrib/pull/29710ll/29710
resource_metrics_cache_size
argument.https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/27654es/27654
resource_metrics_key_attributes
argument to fix broken spanmetrics countersafter a span producing service restart, when resource attributes contain dynamic/ephemeral values (e.g. procehttps://github.com/open-telemetry/opentelemetry-collector-contrib/pull/29711ntrib/pull/29711
replace_pattern
editorshttps://github.com/open-telemetry/opentelemetry-collector-contrib/issues/27820es/27820
http2_read_idle_timeout
andhttp2_ping_timeout
arguments for HTTP clientshttps://github.com/open-telemetry/opentelemetry-collector/pull/9022ull/9022
https://github.com/open-telemetry/opentelemetry-collector/pull/95889588
retry_on_failure
strategy instead.https://github.com/open-telemetry/opentelemetry-collector/issues/8382ues/8382
Host
header is added automatically.https://github.com/open-telemetry/opentelemetry-collector/issues/9395ues/9395
encoding
argument.https://github.com/open-telemetry/opentelemetry-collector/issues/6945ues/6945
include_system_ca_certs_pool
argument for TLS config.https://github.com/open-telemetry/opentelemetry-collector/issues/7774ues/7774
resolve_canonical_bootstrap_servers_only
argumenthttps://github.com/open-telemetry/opentelemetry-collector-contrib/pull/26022ll/26022
k8s.cluster.name
resource attribute for AKS and EKS.https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/26794es/26794
host.ip
to system detector.https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24450ll/24450
host.mac
to system detector.https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29587es/29587
host.cpu.model.id
andhost.cpu.model.family
to string.https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29025es/29025
aws.ecs.task.id
attributehttps://github.com/open-telemetry/opentelemetry-collector-contrib/issues/8274ues/8274
rpc_client_duration_milliseconds
.rpc_server_duration_milliseconds
.v0.40.2
Compare Source
Bugfixes
Set permissions on the
Grafana Agent [Flow]
folder when installing via thewindows installer rather than relying on the parent folder permissions. (@erikbaranowski)
Set restricted viewing permissions on the
agent-config.yaml
(static mode) orconfig.river
(flow mode) when installing via the Windows installer if theconfiguration file does not already exist. (@erikbaranowski)
Fix an issue where the import config node would not run after a config reload. (@wildum)
Fix an issue where Loki could reject a batch of logs when structured metadata feature is used. (@thampiotr)
Fix a duplicate metrics registration panic when recreating static
mode metric instance's write handler. (@rfratto, @hainenber)
Other changes
public.ecr.aws/ubuntu/ubuntu:mantic
. (@hainenber)v0.40.1
Compare Source
Bugfixes
Fix an issues where the logging config block would trigger an error when trying to send logs to components that were not running. (@wildum)
Fix an issue where a custom component might be wired to a local declare instead of an import declare when they have the same label. (@wildum)
Fix an issue where flow mode panics if the
logging
config block is given anull
Loki receiver to write log entries to. (@rfratto)v0.40.0
Compare Source
Breaking changes
Prohibit the configuration of services within modules. (@wildum)
For
otelcol.exporter
components, change the default value ofdisable_high_cardinality_metrics
totrue
. (@ptodev)Rename component
prometheus.exporter.agent
toprometheus.exporter.self
to clear up ambiguity. (@hainenber)Deprecations
Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in a future release. (@wildum)
prometheus.exporter.vsphere
has been deprecated in favor ofotelcol.receiver.vcenter
. This deprecated component will be removed in a future release. (@rfratto)Features
Modules have been redesigned to split the import logic from the instantiation.
You can now define custom components via the
declare
config block and import modules viaimport.git
,import.http
,import.string
,import.file
. (@wildum)A new
discovery.process
component for discovering Linux OS processes on the current host. (@korniltsev)A new
pyroscope.java
component for profiling Java processes using async-profiler. (@korniltsev)A new
otelcol.processor.resourcedetection
component which inserts resource attributesto OTLP telemetry based on the host on which Grafana Agent is running. (@ptodev)
Expose track_timestamps_staleness on Prometheus scraping, to fix the issue where container metrics live for 5 minutes after the container disappears. (@ptodev)
Introduce the
remotecfg
service that enables loading configuration from aremote endpoint. (@tpaschalis)
Add
otelcol.connector.host_info
component to gather usage metrics for cloud users. (@rlankfo, @jcreixell)Add Windows boringcrypto build and executable. (@mattdurham)
Enhancements
Include line numbers in profiles produced by
pyrsocope.java
component. (@korniltsev)Add an option to the windows static mode installer for expanding environment vars in the yaml config. (@erikbaranowski)
Add authentication support to
loki.source.awsfirehose
(@sberz)Sort kubelet endpoint to reduce pressure on K8s's API server and watcher endpoints. (@hainenber)
Expose
physical_disk
collector fromwindows_exporter
v0.24.0 toFlow configuration. (@hainenber)
Renamed Grafana Agent Mixin's "prometheus.remote_write" dashboard to
"Prometheus Components" and added charts for
prometheus.scrape
success rateand duration metrics. (@thampiotr)
Removed
ClusterLamportClockDrift
andClusterLamportClockStuck
alerts fromGrafana Agent Mixin to focus on alerting on symptoms. (@thampiotr)
Increased clustering alert periods to 10 minutes to improve the
signal-to-noise ratio in Grafana Agent Mixin. (@thampiotr)
mimir.rules.kubernetes
has a newprometheus_http_prefix
argument to configurethe HTTP endpoint on which to connect to Mimir's API. (@hainenber)
service_name
label is inferred from discovery meta labels inpyroscope.java
(@korniltsev)Mutex and block pprofs are now available via the pprof endpoint. (@mattdurham)
Added an error log when the config fails to reload. (@kurczynski)
Added additional http client proxy configurations to components for
no_proxy
,proxy_from_environment
, andproxy_connect_header
. (@erikbaranowski)Batch staleness tracking to reduce mutex contention and increase performance. (@mattdurham)
Python profiling using eBPF is now aggregated now by kernel space. PR (@korniltsev)
Add Luhn filter to
loki.process
to filter PCI data from log dataBugfixes
Fix an issue in
remote.s3
where the exported content of an object would be an empty string ifremote.s3
failed to fully retrievethe file in a single read call. (@grafana/agent-squad)
Utilize the
instance
Argument ofprometheus.exporter.kafka
when set. (@akhmatov-s)Fix a duplicate metrics registration panic when sending metrics to an static
mode metric instance's write handler. (@tpaschalis)
Fix issue causing duplicate logs when a docker target is restarted. (@captncraig)
Fix an issue where blocks having the same type and the same label across
modules could result in missed updates. (@thampiotr)
Fix an issue with static integrations-next marshaling where non singletons
would cause
/-/config
to fail to marshal. (@erikbaranowski)Fix an issue where agent logs are emitted before the logging format
is correctly determined. (@hainenber)
Fix divide-by-zero issue when sharding targets. (@hainenber)
Fix bug where custom headers were not actually being set in loki client. (@captncraig)
Fix missing measurement type field in the KeyVal() conversion function for measurments. @vanugrah)
Fix
ResolveEndpointV2 not found
for AWS-related components. (@hainenber)Fix OTEL metrics not getting collected after reload. (@hainenber)
Fix bug in
pyroscope.ebpf
component when elf's PT_LOAD section is not page aligned. PR (@korniltsev)Pyroscope eBPF profiling now respects the PID namespace Grafana Agent is running in. PR (@simonswine)
Fix an issue where the configuration of the
http
andremotecfg
blocks get ignored after loading a module. (@erikbaranowski)Fix an issue where changing the configuration of
loki.write
would cause a panic. (@rfratto)Fix issue where registry was not being properly deleted. (@mattdurham)
Other changes
Removed support for Windows 2012 in line with Microsoft end of life. (@mattdurham)
Split instance ID and component groupings into separate panels for
remote write active series by component
in the Flow mixin. (@tristanburgess)Updated dependency to add support for Go 1.22 (@stefanb)
Use Go 1.22 for builds. (@rfratto)
Updated docs for MSSQL Integration to show additional authentication capabilities. (@StefanKurek)
grafana-agent
andgrafana-agent-flow
fallback to default X.509 trusted root certificateswhen the
GODEBUG=x509usefallbackroots=1
environment variable is set. (@hainenber)Migrate away from EoL'ed
github.com/aws-sdk-go
v1. (@hainenber)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.