What's Changed
We have improved the integration of Beyla with Kubernetes DaemonSets, ReplicaSets and StatefulSets.
Kubernetes discovery mechanism now accepts the following arguments:
k8s_statefulset_name
k8s_daemonset_name
Also, the metrics and traces can be decorated with the following metadata when it applies:
k8s.replicaset.name
k8s.statefulset.name
k8s.daemonset.name
Due to internal limitations in the way we use the Prometheus SDK (aiming for performance), metrics exported by our Prometheus exporter node will be decorated with all the k8s_statefulset_name
, k8s_daemonset_name
, k8s_deployment_name
, and k8s_replicaset_name
arguments, having empty values where it does not apply.
The above does not apply for OpenTelemetry-exported metrics that are later converted to Prometheus (e.g. in Grafana Cloud, Grafana Agent or an Opentelemetry Collector).
Full list of PRs
- retrigger documentation build by @mariomac in #559
- K8s tutorial: add extra steps for trace visualization (1.2 backport) by @mariomac in #563
- Support DaemonSet and StatefulSet in discovery and decoration (1.2 backport) by @mariomac in #572
- [release-1.2] Update K8s documentation with the daemonset/replicaset/statefulset selectors and labels by @github-actions in #576
Full Changelog: v1.2.0...v1.2.1