Custom

Custom Processor

The Custom processor can be used to inject a custom processor configuration into a pipeline. A list of supported processors can be found here.

The Custom processor is useful for solving use cases not covered by Bindplane's other processor types.

Supported Types

Metrics
Logs
Traces

The custom processor type can support all telemetry types, however, it is up to the user to enable / disable the correct types based on the processor being used.

Configuration Table

Parameter
Type
Default
Description

telemetry_types

telemetrySelector

["Logs", "Metrics", "Traces"]

The list of telemetry types the processor will act on.

configuration

yaml

required

Enter any supported Processor and the YAML will be inserted into the configuration.

Example Configuration

Inject the following resource processor configuration:

resource:
  attributes:
    - action: upsert
      key: custom
      value: true

Web Interface

Bindplane docs - Custom - image 1

Standalone Processor

apiVersion: bindplane.observiq.com/v1
kind: Processor
metadata:
  id: custom
  name: custom
spec:
  type: custom
  parameters:
    - name: configuration
      value: |
        resource:
          attributes:
            - action: upsert
              key: custom
              value: true
    - name: telemetry_types
      value:
        - Metrics
        - Traces
        - Logs

Configuration with Embedded Processor

apiVersion: bindplane.observiq.com/v1
kind: Configuration
metadata:
  id: custom
  name: custom
  labels:
    platform: linux
spec:
  sources:
    - type: journald
      parameters:
        - name: units
          value: []
        - name: directory
          value: ''
        - name: priority
          value: info
        - name: start_at
          value: end
      processors:
        - type: custom
          parameters:
            - name: configuration
              value: |
                resource:
                  attributes:
                    - action: upsert
                      key: custom
                      value: true
            - name: telemetry_types
              value:
                - Metrics
                - Traces
                - Logs
  selector:
    matchLabels:
      configuration: custom

Last updated

Was this helpful?