chore(deps): update grafanaagent docker tag to v0.37.1
This MR contains the following updates:
Package | Update | Change |
---|---|---|
GrafanaAgent | minor |
v0.36.2 -> v0.37.1
|
⚠ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
grafana/agent (GrafanaAgent)
v0.37.1
Bugfixes
- Fix the initialization of the default namespaces map for the operator and the loki.source.kubernetes component. (@wildum)
v0.37.0
Breaking changes
-
Set
retry_on_http_429
totrue
by default in thequeue_config
block in static mode'sremote_write
. (@wildum) -
Renamed
non_indexed_labels
Loki processing stage tostructured_metadata
. (@vlad-diachenko) -
Include
otel_scope_name
andotel_scope_version
in all metrics forotelcol.exporter.prometheus
by default using a new argumentinclude_scope_labels
. (@erikbaranowski) -
Static mode Windows Certificate Filter no longer restricted to TLS 1.2 and specific cipher suites. (@mattdurham)
-
The
__meta_agent_integration*
and__meta_agent_hostname
labels have been removed from the targets exposed byprometheus.exporter.*
components and got replaced by the pair of__meta_component_name
and__meta_component_id
labels. (@tpaschalis) -
Flow: Allow
prometheus.exporter.unix
to be specified multiple times and used in modules. This now means allprometheus.exporter.unix
references will need a labelprometheus.exporter.unix "example"
. (@mattdurham)
Features
-
New Grafana Agent Flow components:
-
discovery.consulagent
discovers scrape targets from Consul Agent. (@wildum) -
discovery.dockerswarm
discovers scrape targets from Docker Swarm. (@wildum) -
discovery.ionos
discovers scrape targets from the IONOS Cloud API. (@wildum) -
discovery.kuma
discovers scrape targets from the Kuma control plane. (@tpaschalis) -
discovery.linode
discovers scrape targets from the Linode API. (@captncraig) -
discovery.marathon
discovers scrape targets from Marathon servers. (@wildum) -
discovery.nerve
discovers scrape targets from AirBnB's Nerve. (@tpaschalis) -
discovery.scaleway
discovers scrape targets from Scaleway virtual instances and bare-metal machines. (@rfratto) -
discovery.serverset
discovers Serversets stored in Zookeeper. (@thampiotr) -
discovery.triton
discovers scrape targets from Triton Container Monitor. (@erikbaranowski) -
faro.receiver
accepts Grafana Faro-formatted telemetry data over the network and forwards it to other components. (@megumish, @rfratto) -
otelcol.connector.servicegraph
creates service graph metrics from spans. It is the flow mode equivalent to static mode'sservice_graphs
processor. (@ptodev) -
otelcol.connector.spanlogs
creates logs from spans. It is the flow mode equivalent to static mode'sautomatic_logging
processor. (@ptodev) -
otelcol.processor.k8sattributes
adds Kubernetes metadata as resource attributes to spans, logs, and metrics. (@acr92) -
otelcol.processor.probabilistic_sampler
samples logs and traces based on configuration options. (@mar4uk) -
otelcol.processor.transform
transforms OTLP telemetry data using the OpenTelemetry Transformation Language (OTTL). It is most commonly used for transformations on attributes. -
prometheus.exporter.agent
exposes the agent's internal metrics. (@hainenber) -
prometheus.exporter.azure
collects metrics from Azure. (@wildum) -
prometheus.exporter.cadvisor
exposes cAdvisor metrics. (@tpaschalis) -
prometheus.exporter.vsphere
exposes vmware vsphere metrics. (@marctc) -
remote.kubernetes.configmap
loads a configmap's data for use in other components (@captncraig) -
remote.kubernetes.secret
loads a secret's data for use in other components (@captncraig)
-
-
Flow: allow the HTTP server to be configured with TLS in the config file using the new
http
config block. (@rfratto) -
Clustering: add new flag
--cluster.max-join-peers
to limit the number of peers the system joins. (@wildum) -
Clustering: add a new flag
--cluster.name
to prevent nodes without this identifier from joining the cluster. (@wildum) -
Clustering: add IPv6 support when using advertise interfaces to assign IP addresses. (@wildum)
-
Add a
file_watch
block inloki.source.file
to configure how often to poll files from disk for changes viamin_poll_frequency
andmax_poll_frequency
. In static mode it can be configured in the globalfile_watch_config
viamin_poll_frequency
andmax_poll_frequency
. (@wildum) -
Flow: In
prometheus.exporter.blackbox
, allow setting labels for individual targets. (@spartan0x117) -
Add optional
nil_to_zero
config flag forYACE
which can be set in thestatic
,discovery
, ormetric
config blocks. (@berler) -
The
cri
stage inloki.process
can now be configured to limit line size. -
Flow: Allow
grafana-agent run
to accept a path to a directory of*.river
files. This will load all River files in the directory as a single configuration; component names must be unique across all loaded files. (@rfratto, @hainenber) -
Added support for
static
configuration conversion ingrafana-agent convert
andgrafana-agent run
commands. (@erikbaranowski) -
Flow: the
prometheus.scrape
component can now configure the scraping of Prometheus native histograms. (@tpaschalis) -
Flow: the
prometheus.remote_write
component now supports SigV4 and AzureAD authentication. (@ptodev)
Enhancements
-
Clustering: allow advertise interfaces to be configurable, with the possibility to select all available interfaces. (@wildum)
-
Deleted series will now be removed from the WAL sooner, allowing Prometheus remote_write to free memory associated with removed series sooner. (@rfratto)
-
Added a
disable_high_cardinality_metrics
configuration flag tootelcol
exporters and receivers to switch high cardinality debug metrics off. (@glindstedt) -
loki.source.kafka
component now exposes internal label__meta_kafka_offset
to indicate offset of consumed message. (@hainenber) -
Add a
tail_from_end
attribute inloki.source.file
to have the option to start tailing a file from the end if a cached position is not found. This is valuable when you want to tail a large file without reading its entire content. (@wildum) -
Flow: improve river config validation step in
prometheus.scrape
by comparingscrape_timeout
withscrape_interval
. (@wildum) -
Flow: add
randomization_factor
andmultiplier
to retry settings inotelcol
components. (@rfratto) -
Add support for
windows_certificate_filter
under http tls config block. (@mattdurham) -
Add
openstack
config converter to convert OpenStack yaml config (static mode) to river config (flow mode). (@wildum) -
Some
otelcol
components will now display their debug metrics via the Agent's/metrics
endpoint. Those components includeotelcol.receiver.otlp
,otelcol.exporter.otlp
andotelcol.processor.batch
. There may also be metrics from other components which are not documented yet. (@ptodev) -
Agent Management: Honor 503 ServiceUnavailable
Retry-After
header. (@jcreixell) -
Bump opentelemetry-collector and opentelemetry-collector-contrib versions from v0.80 to v0.85 (@wildum):
- add
authoriy
attribute tootelcol.exporter.loadbalancing
to override the default value in gRPC requests. - add
exemplars
support tootelcol.connector.spanmetrics
. - add
exclude_dimensions
attribute tootelcol.connector.spanmetrics
to exclude dimensions from the default set. - add
authority
attribute tootelcol.receiver.otlp
to override the default value in gRPC requests. - add
disable_keep_alives
attribute tootelcol.receiver.otlp
to disable the HTTP keep alive feature. - add
traces_url_path
,metrics_url_path
andlogs_url_path
attributes tootelcol.receiver.otlp
to specify the URl path to respectively receive traces, metrics and logs on. - add the value
json
to theencoding
attribute ofotelcol.receiver.kafka
. The component is now able to decodejson
payload and to insert it into the body of a log record.
- add
-
Added
scrape
block to customize the default behavior ofprometheus.operator.podmonitors
,prometheus.operator.probes
, andprometheus.operator.servicemonitors
. (@sberz) -
The
instance
label of targets exposed byprometheus.exporter.*
components is now more representative of what is being monitored. (@tpaschalis) -
Promtail converter will now treat
global positions configuration is not supported
as a Warning instead of Error. (@erikbaranowski) -
Add new
agent_component_dependencies_wait_seconds
histogram metric and a dashboard panel that measures how long components wait to be evaluated after their dependency is updated (@thampiotr) -
Add additional endpoint to debug scrape configs generated inside
prometheus.operator.*
components (@captncraig) -
Components evaluation is now performed in parallel, reducing the impact of slow components potentially blocking the entire telemetry pipeline. The
agent_component_evaluation_seconds
metric now measures evaluation time of each node separately, instead of all the directly and indirectly dependant nodes. (@thampiotr) -
Update Prometheus dependency to v2.46.0. (@tpaschalis)
-
The
client_secret
config argument in theotelcol.auth.oauth2
component is now of typesecret
instead of typestring
. (@ptodev)
Bugfixes
-
Fixed
otelcol.exporter.prometheus
label names for theotel_scope_info
metric to match the OTLP Instrumentation Scope spec.name
is nowotel_scope_name
andversion
is nowotel_version_name
. (@erikbaranowski) -
Fixed a bug where converting
YACE
cloudwatch config to river skipped converting static jobs. (@berler) -
Fixed the
agent_prometheus_scrape_targets_gauge
incorrectly reporting all discovered targets instead of targets that belong to current instance when clustering is enabled. (@thampiotr) -
Fixed race condition in cleaning up metrics when stopping to tail files in static mode. (@thampiotr)
-
Fixed a bug where the BackOffLimit for the kubernetes tailer was always set to zero. (@anderssonw)
-
Fixed a bug where Flow agent fails to load
comment
statement inargument
block. (@hainenber) -
Fix initialization of the RAPL collector for the node_exporter integration and the prometheus.exporter.unix component. (@marctc)
-
Set instrumentation scope attribute for traces emitted by Flow component. (@hainenber)
Other changes
-
Use Go 1.21.1 for builds. (@rfratto)
-
Read contextual attributes from Faro measurements (@codecapitano)
-
Rename Grafana Agent service in windows app and features to not include the description
-
Correct YAML level for
multitenancy_enabled
option in Mimir's config in examples. (@hainenber) -
Operator: Update default config reloader version. (@captncraig)
-
Sorting of common fields in log messages emitted by the agent in Flow mode have been standardized. The first fields will always be
ts
,level
, andmsg
, followed by non-common fields. Previously, the position ofmsg
was not consistent. (@rfratto) -
Documentation updated to link discovery.http and prometheus.scrape advanced configs (@proffalken)
-
Bump SNMP exporter version to v0.24.1 (@marctc)
-
Switch to
IBM/sarama
module. (@hainenber) -
Bump
webdevops/go-commons
to version containingLICENSE
. (@hainenber) -
prometheus.operator.probes
no longer ignores relabelingrule
blocks. (@sberz) -
Documentation updated to correct default path from
prometheus.exporter.windows
text_file
block (@timo1707) -
Bump
redis_exporter
to v1.54.0 (@spartan0x117)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot. The local configuration can be found in the local Renovate Bot repository.