Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.33 KB

Configuration.md

File metadata and controls

54 lines (40 loc) · 1.33 KB

Configuration

Configuration is stored in a file in the data directory named conduit.yml. Use ./conduit -h for command options.

conduit.yml

There are several top level configurations for configuring behavior of the conduit process. Most detailed configuration is made on a per-plugin basis. These are split between Importer, Processor and Exporter plugins.

Here is an example configuration which shows the general format:

# optional: hide the startup banner.
hide-banner: true|false

# optional: level to use for logging.
log-level: "INFO, WARN, ERROR"

# optional: path to log file
log-file: "<path>"

# optional: if present perform runtime profiling and put results in this file.
cpu-profile: "path to cpu profile file."

# optional: maintain a pidfile for the life of the conduit process.
pid-filepath: "path to pid file."

# optional: setting to turn on Prometheus metrics server
metrics: 
  mode: "ON, OFF"
  addr: ":<server-port>"
  prefix: "promtheus_metric_prefix"

# Define one importer.
importer:
    name:
    config:

# Define one or more processors.
processors:
  - name:
    config:
  - name:
    config:

# Define one exporter.
exporter:
    name:
    config:

Plugin configuration

Each plugin is identified by a name, and provided the config during initialization. See plugins documentation for details.