Skip to content

Changelog

This document records EdgeFlow's major feature changes, issue fixes, and upgrade notes. For integration and deployment steps, see Tail Sampling with EdgeFlow.

2.0.0

New Features

  • Tail sampling slot handover: When explicitly enabled, during scaling the old node continues processing accepted traces, while new traces are received by the new node after handover confirmation. Planned scale-in requires completing the handover first, then waiting for the node to drain.
  • Durable receive acknowledgments: For the same tail sampling data packet carrying X-Pkg-Id, it is enqueued only once within the acknowledgment validity period under the same Workspace and shard key. The replay response includes X-EdgeFlow-Tail-Replay: true; reusing a packet ID to send different content in the same scope returns 409. In durable mode, after a restart using the original volume, replays within the validity period can still be identified. When falling back to regular trace writes, a separate packet ID is used, and this is outside the deduplication scope.
  • Direct reporting of operational metrics: Disabled by default; a token for a specified Workspace can be used to report metrics such as receive acknowledgments, WAL, backlog, forwarding, and replays to DataWay.

Improvements

  • Optimized batching for durable writes, sampling commits, and delivery acknowledgments. The durable ingress acknowledges receipt after WAL synchronization; when capacity is insufficient or a commit times out, it returns a retryable response.

Upgrade Notes

  • The HTTP /metrics endpoint has been removed. Existing Prometheus scrape configurations must be migrated to the new metrics reporting method, and reporting must be explicitly enabled.
  • During the upgrade, preserve the StatefulSet name, Pod ordinals, the original PVCs of each node, and advertised addresses; upgrade all nodes first, then enable and initialize slot handover. Before rolling back, pause writes and drain, and restore state volumes and configuration consistent with those before the upgrade.
  • The current Helm Chart 2.0.0 deploys application 2.0.0 by default. This release republished the Chart under the same name; users who previously cached Chart 2.0.0 must first run helm repo update guance-edgeflow to refresh the index, then verify the actual application version.

1.1.0

New Features

  • Dynamic cluster routing: Supports static nodes, Kubernetes Headless DNS, and Gossip topology discovery, reducing the need to modify the DataKit static node list when scaling.
  • Topology discovery and misrouted-request forwarding: Access is available through a fixed Seed entry point, and misrouted requests are forwarded by a node to the owning node; with the corresponding DataKit adaptation, a direct connection to the owning node can be made based on the topology.
  • Rule coordination: New nodes synchronize rules before joining the cluster, supporting coordinated rule publishing, drift detection, and cluster-level adaptive tail sampling.
  • Cluster operations: Added the cluster status, drain, and undrain commands, a cluster readiness probe, as well as a PodDisruptionBudget and optional NetworkPolicy.

Upgrade Notes

  • Dynamic cluster capabilities are disabled by default; set cluster.enabled = true to enable them. When enabled, ensure network reachability between nodes and configure consistent inter-node authentication information. The DSL continues to use version 1.
  • The release notes for this version correspond to application 1.1.0 and Chart 2.1.0. For the mapping between the current Chart version and the default application, refer to the 2.0.0 release notes.

1.0.3

New Features

  • Kubernetes multi-replica deployment: Provides a StatefulSet with three replicas by default, a separate PVC per replica, and stable Pod DNS, and supports deployment via Helm or native YAML.
  • Durable deployment configuration: Uses durable state mode by default and provides resource and storage limits, Secret, scheduling, and probe configurations; PVCs are retained when the application is uninstalled.

Upgrade Notes

  • When migrating from the old single-replica Deployment to a StatefulSet, stop the service and back up first, then restore the state to the corresponding replica. Multiple replicas running normally cannot share the same PVC.
  • This version uses a static node pool; scaling requires synchronously adjusting the DataKit node list and delivering rules to each replica. For dynamic routing and rule coordination, see 1.1.0.

1.0.2

Improvements

  • Optimized state reads/writes and durable checkpoints to reduce the impact of slow disks on data ingestion and rule execution.
  • Optimized retries for large packets upon expiration, reserving in-flight capacity for large packets under sustained small-packet traffic to reduce long blocking caused by retries.

Bug Fixes

  • Fixed edge cases in state quotas, spill space reuse, rule version reclamation, and restart recovery, and unified metadata memory headroom during runtime and recovery.
  • Limited the depth of DSL, expression trees, and persisted JSON; decoding capability during recovery is checked before a rule is published.
  • Improved handling of protocol anomalies, numeric precision, decoding budgets, background task failures, and shutdown waits.

1.0.1

This version mainly adjusts the build and release process for Linux AMD64; feature usage remains the same as in 1.0.0.

1.0.0

New Features

  • Data processing gateway: Processes data between DataKit and DataWay and manages and applies local DSL rules by Workspace.
  • Aggregation, sampling, and routing: Supports event-time window aggregation, derived metrics and logs, as well as tail sampling, per-point filtering, routing, and probabilistic sampling.
  • Rule management: Provides commands for rule validation, publishing, and sample testing, as well as a rule reading API, and supports rule version management.
  • State and recovery: Supports in-memory plus spill and durable state, shutdown snapshots, offline backup and recovery, retries, and dead-letter handling.

Feedback

Is this page helpful?