v0.37.1 #5430
Replies: 2 comments 1 reply
-
|
Upgrade guide doesn't seem to cover how to change the targets value for a labeled And, I understand that means I need to change the targets (presumably to include the label), but I haven't found exactly how, thus far. |
Beta Was this translation helpful? Give feedback.
-
|
Hey there! Thanks for sharing the release notes for Grafana Agent v0.37.1! It's awesome to see the continuous improvements and new features being added. For those interested in upgrading, check out the relevant upgrade guides in the release notes. Following these guides is crucial for a smooth transition and to take advantage of all the new goodies! The addition of Flow mode achieving feature parity with Static mode is a significant milestone. Now, users can leverage Flow components for all Static mode use cases, providing more flexibility and options. And wow, the list of new features is impressive! With 23 (!) new Flow components and various improvements, Grafana Agent keeps improving. Check out the provided links for installation instructions to ensure you're setting up the right variant for your needs. Thanks again for sharing this update! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is release
v0.37.1of Grafana Agent.Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
NOTE: v0.37.1 fixes a bug that caused a panic when using the Operator
The biggest news is that Flow mode has now feature parity with Static mode! That means that you can use Flow components for all static mode use cases.
The v0.37 release contains some breaking changes:
Breaking changes
retry_on_http_429totrueby default in thequeue_configblock in static mode'sremote_write. (@wildum)non_indexed_labelsLoki processing stage tostructured_metadata. (@vlad-diachenko)otel_scope_nameandotel_scope_versionin all metrics forotelcol.exporter.prometheusby default using a new argument
include_scope_labels. (@erikbaranowski)__meta_agent_integration*and__meta_agent_hostnamelabels have beenremoved from the targets exposed by
prometheus.exporter.*components andgot replaced by the pair of
__meta_component_nameand__meta_component_idlabels. (@tpaschalis)
prometheus.exporter.unixto be specified multiple times and used in modules. This now means allprometheus.exporter.unixreferences will need a labelprometheus.exporter.unix "example". (@mattdurham)Also, it includes a number of new features, including 23 (!) new Flow components, improved evaluation of the Flow component graph, new config converters as well as the ability to run multiple River files at once.
Features
New Grafana Agent Flow components:
discovery.consulagentdiscovers scrape targets from Consul Agent. (@wildum)discovery.kumadiscovers scrape targets from the Kuma control plane. (@tpaschalis)discovery.linodediscovers scrape targets from the Linode API. (@captncraig)discovery.marathondiscovers scrape targets from Marathon servers. (@wildum)discovery.ionosdiscovers scrape targets from the IONOS Cloud API. (@wildum)discovery.tritondiscovers scrape targets from Triton Container Monitor. (@erikbaranowski)discovery.nervediscovers scrape targets from AirBnB's Nerve. (@tpaschalis)discovery.serversetdiscovers Serversets stored in Zookeeper. (@thampiotr)discovery.scalewaydiscovers scrape targets from Scaleway virtualinstances and bare-metal machines. (@rfratto)
faro.receiveraccepts Grafana Faro-formatted telemetry data over thenetwork and forwards it to other components. (@megumish, @rfratto)
prometheus.exporter.azurecollects metrics from Azure. (@wildum)discovery.dockerswarmdiscovers scrape targets from Docker Swarm. (@wildum)otelcol.connector.servicegraphcreates service graph metrics from spans. It is theflow mode equivalent to static mode's
service_graphsprocessor. (@ptodev)otelcol.connector.spanlogscreates logs from spans. It is the flow mode equivalentto static mode's
automatic_loggingprocessor. (@ptodev)otelcol.processor.k8sattributesadds Kubernetes metadata as resource attributesto spans, logs, and metrics. (@acr92)
otelcol.processor.probabilistic_samplersamples logs and traces based on configuration options. (@mar4uk)otelcol.processor.transformtransforms OTLP telemetry data using theOpenTelemetry Transformation Language (OTTL). It is most commonly used
for transformations on attributes.
remote.kubernetes.configmaploads a configmap's data for use in other components (@captncraig)remote.kubernetes.secretloads a secret's data for use in other components (@captncraig)prometheus.exporter.agentexposes the agent's internal metrics. (@hainenber)prometheus.exporter.azurecollects metrics from Azure. (@wildum)prometheus.exporter.cadvisorexposes cAdvisor metrics. (@tpaschalis)prometheus.exporter.vsphereexposes vmware vsphere metrics. (@marctc)Flow: allow the HTTP server to be configured with TLS in the config file
using the new
httpconfig block. (@rfratto)Clustering: add new flag
--cluster.max-join-peersto limit the number of peers the system joins. (@wildum)Clustering: add a new flag
--cluster.nameto 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_watchblock inloki.source.fileto configure how often to poll files from disk for changes viamin_poll_frequencyandmax_poll_frequency.In static mode it can be configured in the global
file_watch_configviamin_poll_frequencyandmax_poll_frequency. (@wildum)Flow: In
prometheus.exporter.blackbox, allow setting labels for individual targets. (@spartan0x117)Add optional
nil_to_zeroconfig flag forYACEwhich can be set in thestatic,discovery, ormetricconfig blocks. (@berler)The
cristage inloki.processcan now be configured to limit line size.Flow: Allow
grafana-agent runto accept a path to a directory of*.riverfiles.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
staticconfiguration conversion ingrafana-agent convertandgrafana-agent runcommands. (@erikbaranowski)Flow: the
prometheus.scrapecomponent can now configure the scraping ofPrometheus native histograms. (@tpaschalis)
Flow: the
prometheus.remote_writecomponent now supports SigV4 and AzureAD authentication. (@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:
This discussion was created from the release v0.37.1.
Beta Was this translation helpful? Give feedback.
All reactions