OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) hace 1 año
..
internal 0e12ba7b04 [chore]: update status for carbon exporter and receiver (#23834) hace 1 año
protocol f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) hace 1 año
testdata f343580ebb [chore] Change receiver config tests to unmarshal config only for that component. (#13383) hace 2 años
transport f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) hace 1 año
Makefile b64ac15335 Add Carbon receiver (#109) hace 4 años
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) hace 1 año
config.go 5133f4ccd6 [chore] use license shortform (#22052) hace 1 año
config_test.go 5133f4ccd6 [chore] use license shortform (#22052) hace 1 año
doc.go 5133f4ccd6 [chore] use license shortform (#22052) hace 1 año
factory.go f7f856ebb2 [receiver/carbon] do not expose method (#28872) hace 1 año
factory_test.go 5133f4ccd6 [chore] use license shortform (#22052) hace 1 año
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) hace 1 año
go.sum 40b485f08a Update core for v0.90.0 release (#29539) hace 1 año
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) hace 1 año
receiver.go f7f856ebb2 [receiver/carbon] do not expose method (#28872) hace 1 año
receiver_test.go f7f856ebb2 [receiver/carbon] do not expose method (#28872) hace 1 año
reporter.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) hace 1 año
reporter_test.go 20d872795d [chore] update core (#27082) hace 1 año

README.md

Carbon Receiver

Status
Stability beta: metrics
Distributions contrib, observiq, splunk, sumo
Issues Open issues Closed issues
Code Owners @aboguszewski-sumo

The Carbon receiver supports Carbon's plaintext protocol.

:information_source: The wavefront receiver is based on Carbon and binds to the same port by default. This means the carbon and wavefront receivers cannot both be enabled with their respective default configurations. To support running both receivers in parallel, change the endpoint port on one of the receivers.

Configuration

The following settings are required:

  • endpoint (default = 0.0.0.0:2003): Address and port that the receiver should bind to.
  • transport (default = tcp): Must be either tcp or udp.

The following setting are optional:

  • tcp_idle_timeout (default = 30s): The maximum duration that a tcp connection will idle wait for new data. This value is ignored if the transport is not tcp.

In addition, a parser section can be defined with the following settings:

  • type (default plaintext): Specifies the type of parser to be used and must be either plaintext or regex.
  • config: Specifies any special configuration of the selected parser.

Example:

receivers:
  carbon/receiver_settings:
    endpoint: localhost:8080
    transport: udp
  carbon/regex:
    parser:
      type: regex
      config:
        rules:
          - regexp: "(?P<key_base>test)\\.env(?P<key_env>[^.]*)\\.(?P<key_host>[^.]*)"
            name_prefix: "name-prefix"
            labels:
              dot.key: dot.value
              key: value
            type: cumulative
          - regexp: "(?P<key_just>test)\\.(?P<key_match>.*)"
        name_separator: "_"

The full list of settings exposed for this receiver are documented here with detailed sample configurations here.