github grafana/agent v0.36.0

latest releases: v0.43.3, v0.43.2, v0.43.1...
14 months ago

This is release v0.36.0 of Grafana Agent.

Upgrading

Read the relevant upgrade guides for specific instructions on upgrading from older versions:

Notable changes:

Breaking changes

  • loki.source.file component will no longer automatically detect and
    decompress logs from compressed files. A new configuration block is available
    to enable decompression explicitly. See the [upgrade guide][] for migration
    instructions. (@thampiotr)

  • otelcol.exporter.prometheus: Set include_scope_info to false by default. You can set
    it to true to preserve previous behavior. (@gouthamve)

  • prometheus.remote_write: Set retry_on_http_429 to true by default in the queue_config block.
    You can set it to false to preserve previous behavior. (@wildum)

Features

  • Add godeltaprof profiling types (godeltaprof_memory, godeltaprof_mutex, godeltaprof_block) to pyroscope.scrape component

  • Flow: Allow the logging configuration block to tee the Agent's logs to one
    or more loki.* components. (@tpaschalis)

  • Added support for promtail configuration conversion in grafana-agent convert and grafana-agent run commands. (@thampiotr)

  • Flow: Add a new stage non_indexed_labels to attach non-indexed labels from extracted data to log line entry. (@vlad-diachenko)

  • loki.write now exposes basic WAL support. (@thepalbi)

  • Flow: Users can now define additional_fields in loki.source.cloudflare (@wildum)

  • Flow: Added exemplar support for the otelcol.exporter.prometheus. (@wildum)

  • Add a labels argument in loki.source.windowsevent to associate additional labels with incoming logs. (@wildum)

  • New Grafana Agent Flow components:

    • prometheus.exporter.gcp - scrape GCP metrics. (@tburgessdev)
    • otelcol.processor.span - accepts traces telemetry data from other otelcol
      components and modifies the names and attributes of the spans. (@ptodev)
    • discovery.uyuni discovers scrape targets from a Uyuni Server. (@sparta0x117)
    • discovery.eureka discovers targets from a Eureka Service Registry. (@spartan0x117)
    • discovery.openstack - service discovery for OpenStack. (@marctc)
    • discovery.hetzner - service discovery for Hetzner Cloud. (@marctc)
    • discovery.nomad - service discovery from Nomad. (@captncraig)
    • discovery.puppetdb - service discovery from PuppetDB. (@captncraig)
    • otelcol.processor.discovery adds resource attributes to spans, where the attributes
      keys and values are sourced from discovery.* components. (@ptodev)
    • otelcol.connector.spanmetrics - creates OpenTelemetry metrics from traces. (@ptodev)

For a full list of changes, please refer to the CHANGELOG!

Installation

Refer to our installation guides for how to install the variants of Grafana Agent:

Don't miss a new agent release

NewReleases is sending notifications on new releases.