influxdb3 loadcap start

Use influxdb3 loadcap start to capture write requests, query requests, or both on a query-capable InfluxDB 3 Enterprise node. Only one capture can run on a node at a time.

Load capture requires the performance upgrade preview, which uses the storage engine upgrade. Enable the preview with --use-pacha-tree and send requests to a node with an explicit --mode setting that includes query, for example, --mode query or --mode ingest --mode query --mode compact. Load capture isn’t available on a node that uses the default --mode all configuration.

Usage

influxdb3 loadcap start --type <TYPE> --duration <DURATION> [OPTIONS]

Options

OptionDescriptionDefaultEnvironment variable
--type <TYPE>Request types to capture: write, query, or both
--duration <DURATION>Capture duration, for example, 30s, 5m, or 1h. The maximum is one hour.
-H--host <HOST_URL>InfluxDB 3 Enterprise server URLhttp://127.0.0.1:8181INFLUXDB3_HOST_URL
--token <AUTH_TOKEN>Authentication tokenINFLUXDB3_AUTH_TOKEN
--tls-ca <CA_CERT>Path to a custom TLS certificate authorityINFLUXDB3_TLS_CA
--tls-no-verifyDisable TLS certificate verificationINFLUXDB3_TLS_NO_VERIFY
-h--helpPrint help information

Example

influxdb3 loadcap start \
  --host http://localhost:8181 \
  --token 
AUTH_TOKEN
\
--type both \ --duration 5m

Was this page helpful?

Thank you for your feedback!