What's changed
- Add
hostMetrics.linuxHosts.source(node-exporter(default) oralloy). Withalloy, Linux host metrics are collected directly by the assigned collector viaprometheus.exporter.unix, requiring no Node Exporter deployment. This needs a privileged DaemonSet that mounts the host filesystem, configured with the newpresets: [linux-host-monitor, daemonset]. ThenodeLabelsenrichment is not yet supported withsource: alloy. (#2660) (@petewall) - Introduce Data Processors, a method for transforming data between features and destinations. Initial processors include the
customprocessor. - Add the
kubernetesEnrichmentdata processor, which copies Kubernetes namespace and pod labels and annotations onto metrics, logs, traces, and profiles across all supported ecosystems. (@petewall) - Add the
ec2Enrichmentdata processor, which usesdiscovery.ec2to copy AWS EC2 instance tags onto Prometheus metrics, Loki logs, and Pyroscope profiles, matching telemetry to its instance by thenodelabel. (#2678) (@petewall) - Deprecate the
metricEnrichmentoption on the Prometheus destination in favor of thekubernetesEnrichmentdata processor. The option remains functional. (@petewall) - Add a
source="spanmetrics"resource attribute to metrics generated by the span metrics connector, making it easier to identify and filter span-derived metrics. (@rlankfo) - Include Grafana Beyla's Kubernetes cache as deployable from
telemetryServices. This is distinct from the Beyla inside theautoInstrumentationfeature. (@petewall) - Fix Prometheus destinations dropping the
service.name,service.namespace, andservice.instance.idresource attributes from thetarget_infometric during OTLP to Prometheus conversion.openTelemetryConversion.keepIdentifyingResourceAttributesnow defaults totrue, so these are retained as theservice_name,service_namespace, andservice_instance_idlabels. Set it tofalseto restore the previous behavior. (#2722) (@rlankfo)* Include the Grafana SDK Injector, which complements Grafana Beyla's ability to automatically instrument applications. (@petewall)
Chart released at https://github.com/grafana/helm-charts/releases/tag/k8s-monitoring-4.2.0
Full changelog: CHANGELOG.md