docs/en/setup/backend/backend-k8s-network-monitoring.md
SkyWalking leverages SkyWalking Rover network profiling feature to measure network performance for particular pods on-demand, including metrics of L4(TCP) and L7(HTTP) traffic and raw data of HTTP requests and responses. Underlying, SkyWalking Rover converts data from socket data to metrics using eBPF technology.
API Server to fetch meta info and parses the expression with MAL to aggregate.agent-analyzer:
selector: ${SW_AGENT_ANALYZER:default}
default:
meterAnalyzerActiveFiles: ${SW_METER_ANALYZER_ACTIVE_FILES:network-profiling}
Notice the precondition, the HTTP request must have the trace header in SkyWalking(sw8 header) or Zipkin(b3 header(s)) format.
The sampling configurations define the sampling boundaries for the HTTP traffic. When a HTTP calling is sampled, the SkyWalking Rover could collect the HTTP request/response raw data and upload it to the span attached event.
The sampling config contains multiple rules, and each of rules has the following configurations:
URI Regex: The match pattern for HTTP requests is HTTP URI-oriented. Match all requests if the URI regex is not set.Minimal Request Duration (ms): Sample the HTTP requests with slower latency than this threshold.Sample HTTP requests and responses with tracing when the response code is between 400 and 499: This is OFF by default.Sample HTTP requests and responses with tracing when the response code is between 500 and 599: This is ON by default.After SkyWalking OAP server receives the metrics from the SkyWalking Rover, it supports to analysis the following data: