Skip to main content

Carbon Exporter

Status Source: opentelemetry-collector-contrib

Overview

Status
Stabilitybeta
Supported pipeline typesmetrics
Distributionscontrib
The Carbon exporter supports Carbon’s plaintext protocol.

Configuration

The following settings are required:
  • endpoint (default = localhost:2003): Address and port that the exporter should send data to.
  • timeout (default = 5s): Maximum duration allowed to connect and send data to the configured endpoint.
Example:
exporters:
  carbon:
    # by default it will export to localhost:2003 using tcp
  carbon/allsettings:
    # use endpoint to specify alternative destinations for the exporter,
    # the default is localhost:2003
    endpoint: localhost:8080
    # timeout is the maximum duration allowed to connecting and sending the
    # data to the configured endpoint.
    # The default is 5 seconds.
    timeout: 10s
The full list of settings exposed for this receiver are documented here with detailed sample configurations here.

Configuration

Example Configuration

carbon:
# by default it will export to localhost:2003 using tcp
carbon/allsettings:
  # use endpoint to specify alternative destinations for the exporter,
  # the default is localhost:2003
  endpoint: localhost:8080
  # timeout is the maximum duration allowed to connecting and sending the
  # data to the Carbon/Graphite backend.
  # The default is 5 seconds.
  timeout: 10s

Last generated: 2026-04-14