roundrobinconnector

package module
v0.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

README

Round-Robin Connector

Status
Distributions contrib, k8s
Issues Open issues Closed issues
Code Owners @bogdandrutu

Supported Pipeline Types

Exporter Pipeline Type Receiver Pipeline Type Stability Level
traces traces beta
metrics metrics beta
logs logs beta

The roundrobin connector can fork pipelines of the same type and equally split the load between them.

Configuration

If you are not already familiar with connectors, you may find it helpful to first visit the Connectors README.

The roundrobin connector does not have any configuration settings.

receivers:
  otlp:
exporters:
  prometheusremotewrite/1:
  prometheusremotewrite/2:
connectors:
  roundrobin:

Preprocess data, then export using multiple exporter instances to scale the throughput if the exporter does not support scale well (e.g. prometheusremotewrite).

receivers:
  otlp:
processors:
  resourcedetection:
  batch:
exporters:
  prometheusremotewrite/1:
  prometheusremotewrite/2:
connectors:
  roundrobin:
service:
  pipelines:
    metrics:
      receivers: [otlp]
      processors: [resourcedetection, batch]
      exporters: [roundrobin]
    metrics/1:
      receivers: [roundrobin]
      exporters: [prometheusremotewrite/1]
    metrics/2:
      receivers: [roundrobin]
      exporters: [prometheusremotewrite/2]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() connector.Factory

NewFactory returns a ConnectorFactory.

Types

type Config

type Config struct{}

Config for the connector

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL