Skip to content

chore(deps): update grafanaagent docker tag to v0.37.1

Tortoise caretaker requested to merge renovate/grafanaagent-0.x into next

This MR contains the following updates:

Package Update Change
GrafanaAgent minor v0.36.2 -> v0.37.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

grafana/agent (GrafanaAgent)

v0.37.1

Compare Source

Bugfixes
  • Fix the initialization of the default namespaces map for the operator and the loki.source.kubernetes component. (@​wildum)

v0.37.0

Compare Source

Breaking changes
  • Set retry_on_http_429 to true by default in the queue_config block in static mode's remote_write. (@​wildum)

  • Renamed non_indexed_labels Loki processing stage to structured_metadata. (@​vlad-diachenko)

  • Include otel_scope_name and otel_scope_version in all metrics for otelcol.exporter.prometheus by default using a new argument include_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 by prometheus.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 all prometheus.exporter.unix references will need a label prometheus.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's service_graphs processor. (@​ptodev)
    • otelcol.connector.spanlogs creates logs from spans. It is the flow mode equivalent to static mode's automatic_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 in loki.source.file to configure how often to poll files from disk for changes via min_poll_frequency and max_poll_frequency. In static mode it can be configured in the global file_watch_config via min_poll_frequency and max_poll_frequency. (@​wildum)

  • Flow: In prometheus.exporter.blackbox, allow setting labels for individual targets. (@​spartan0x117)

  • Add optional nil_to_zero config flag for YACE which can be set in the static, discovery, or metric config blocks. (@​berler)

  • The cri stage in loki.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 in grafana-agent convert and grafana-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 to otelcol 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 atail_from_end attribute in loki.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 comparing scrape_timeout with scrape_interval. (@​wildum)

  • Flow: add randomization_factor and multiplier to retry settings in otelcol 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 include otelcol.receiver.otlp, otelcol.exporter.otlp and otelcol.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 to otelcol.exporter.loadbalancing to override the default value in gRPC requests.
    • add exemplars support to otelcol.connector.spanmetrics.
    • add exclude_dimensions attribute to otelcol.connector.spanmetrics to exclude dimensions from the default set.
    • add authority attribute to otelcol.receiver.otlp to override the default value in gRPC requests.
    • add disable_keep_alives attribute to otelcol.receiver.otlp to disable the HTTP keep alive feature.
    • add traces_url_path, metrics_url_path and logs_url_path attributes to otelcol.receiver.otlp to specify the URl path to respectively receive traces, metrics and logs on.
    • add the value json to the encoding attribute of otelcol.receiver.kafka. The component is now able to decode json payload and to insert it into the body of a log record.
  • Added scrape block to customize the default behavior of prometheus.operator.podmonitors, prometheus.operator.probes, and prometheus.operator.servicemonitors. (@​sberz)

  • The instance label of targets exposed by prometheus.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 the otelcol.auth.oauth2 component is now of type secret instead of type string. (@​ptodev)

Bugfixes
  • Fixed otelcol.exporter.prometheus label names for the otel_scope_info metric to match the OTLP Instrumentation Scope spec. name is now otel_scope_name and version is now otel_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 in argument 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, and msg, followed by non-common fields. Previously, the position of msg 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 containing LICENSE. (@​hainenber)

  • prometheus.operator.probes no longer ignores relabeling rule 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

📅 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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

Edited by Tortoise caretaker

Merge request reports

Loading