source_connectors/

directory
v0.0.0-...-32cef00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: Apache-2.0

README

Stirling source connectors

SourceConnector subclasses pull data from specific sources, and export them into data tables.

Production connectors

The following source connectors are used in production deployments of Stirling/Pixie.

SocketTracer

SocketTraceConnector reads application network traffic and exports them into the corresponding tables for their protocols. It uses eBPF to capture application network traffic.

JVMStats

JVMStatsConnector reads performance metrics from Java HotSpot Performance data log.

ProcessStats

ProcessStatsConnector reports processes' CPU & memory usage metrics obtained from the Linux.

NetworkStats

NetworkStatsConnector reports network statistics obtained from from Linux.

PerfProfiler

PerfProfileConnector is a sampling-based profiler based on eBPF.

Non-production connectors

Source connectors that are not registered into Stirling's runtime by default. They are typically used as testing tools, or for demonstrative purposes.

PIDRuntime

PIDRuntimeConnector uses eBPF to track a process' running time (excluding system suspension), and its command line.

ProcStat

ProcStatConnector reads the system's overall CPU usage from the /proc file system.

SeqGen

SeqGenConnector generates predictable sequences of numbers and text into its output tables. It is used in tests.

CPUStatBPFTrace && PIDCPUUseBPFTrace

These 2 demonstrate how to implement a BPFTrace-based source connector, but are not used.

Directories

Path Synopsis
dynamic_tracer
perf_profiler
socket_tracer
testing/containers/pgsql
This file is adapted from README.md of https://github.com/jmoiron/sqlx.
This file is adapted from README.md of https://github.com/jmoiron/sqlx.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL