You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: Add AI-driven Network Anomaly Detection Plugin and OpenTelemetry Export for Pixie #2271
Pixie provides deep, eBPF-based visibility into Kubernetes clusters, automatically capturing
network and application telemetry without manual instrumentation. However, while Pixie
offers powerful query and visualization capabilities (via PxL and Vizier), it currently lacks
a built-in mechanism for automated anomaly detection or OpenTelemetry-native export
of detected network irregularities.
This limits the ability of operators to detect and correlate real-time operational anomalies
(such as unexpected service-to-service communication, latency spikes, or throughput drops)
directly within Pixie’s observability workflow or external telemetry pipelines.
Problem Statement
Existing open-source tools like Zeek or Suricata perform deep packet inspection but are not
optimized for the dynamic, container-based nature of cloud-native microservices. Pixie already
solves visibility at scale but does not yet provide AI-assisted detection or direct integration with the OpenTelemetry ecosystem.
Proposed Solution
Introduce a lightweight, optional plugin for Pixie that performs operational anomaly detection
on network traffic metrics and exports the results through OpenTelemetry.
AI-driven Anomaly Detection Layer
Implement a Pixie plugin or PxL script extension that computes simple
streaming anomaly scores on traffic metrics (latency, request rate, error rate, byte count).
Techniques: EWMA, robust z-scores, Isolation Forest, or simple autoencoders
(depending on available library support and compute limits).
Tag anomalies with metadata such as service_a, service_b, namespace, and anomaly.score.
OpenTelemetry Export Integration
Extend Pixie’s existing OpenTelemetry export capabilities to include these anomaly events
as metrics or logs.
Allow configuration of anomaly thresholds and export frequency via Pixie’s plugin interface.
Activity