Skip to main content

Coroot-node-agent

Coroot-node-agent is a Prometheus- and OpenTelemetry-compatible agent that gathers comprehensive telemetry data about all containers running on a node and the node itself.

It collects and exports the following telemetry:

  • Metrics: Exported in Prometheus format or sent using the Prometheus Remote Write protocol.
  • Traces: eBPF-based network and application traces sent via OTLP/HTTP (OpenTelemetry protocol).
  • Logs: Discovers container logs and sends them via OTLP/HTTP.
  • Profiles: Uses the Pyroscope eBPF profiler to collect CPU profiles and sends them via a custom HTTP-based protocol.

Node Agent Configuration

You can configure coroot-node-agent using command-line flags or environment variables.

FlagEnv VariableDefaultDescription
--listenLISTEN0.0.0.0:80HTTP listen address
--cgroupfs-rootCGROUPFS_ROOT/sys/fs/cgroupPath to the host's cgroup filesystem root
--disable-log-parsingDISABLE_LOG_PARSINGfalseDisable container log parsing
--disable-pingerDISABLE_PINGERfalseDisable ICMP ping to upstreams
--disable-l7-tracingDISABLE_L7_TRACINGfalseDisable application-layer (L7) tracing
--container-allowlistCONTAINER_ALLOWLISTList of allowed containers (regex patterns)
--container-denylistCONTAINER_DENYLISTList of denied containers (regex patterns)
--exclude-http-requests-by-pathEXCLUDE_HTTP_REQUESTS_BY_PATHExclude HTTP paths from metrics/traces
--track-public-networkTRACK_PUBLIC_NETWORK0.0.0.0/0Public IP networks to track
--ephemeral-port-rangeEPHEMERAL_PORT_RANGE32768-60999TCP ports to exclude from tracking
--providerPROVIDERprovider label for node_cloud_info
--regionREGIONregion label for node_cloud_info
--availability-zoneAVAILABILITY_ZONEavailability_zone label for node_cloud_info
--instance-typeINSTANCE_TYPEinstance_type label for node_cloud_info
--instance-life-cycleINSTANCE_LIFE_CYCLEinstance_life_cycle label for node_cloud_info
--log-per-secondLOG_PER_SECOND10.0Rate limit for logs per second
--log-burstLOG_BURST100Max burst for log rate limiting
--max-label-lengthMAX_LABEL_LENGTH4096Max metric label length
--collector-endpointCOLLECTOR_ENDPOINTUnified base URL for telemetry export
--api-keyAPI_KEYCoroot API key
--metrics-endpointMETRICS_ENDPOINTCustom URL for metrics export
--traces-endpointTRACES_ENDPOINTCustom URL for traces export
--logs-endpointLOGS_ENDPOINTCustom URL for logs export
--profiles-endpointPROFILES_ENDPOINTCustom URL for profiles export
--insecure-skip-verifyINSECURE_SKIP_VERIFYfalseSkip TLS certificate verification
--scrape-intervalSCRAPE_INTERVAL15sHow often to collect internal metrics
--wal-dirWAL_DIR/tmp/coroot-node-agentDirectory for WAL storage
--max-spool-sizeMAX_SPOOL_SIZE500MBMax size for on-disk spool
Looking for 24/7 support from the Coroot team? Subscribe to Coroot Enterprise:Start free trial