Create Configurations with Custom Resources via the API
Create custom sources, destinations, processors, and extensions with the Bindplane API.
Prerequisites
Step 1 - Define custom sources and destinations
Custom source (hostmetrics receiver)
apiVersion: bindplane.observiq.com/v1
kind: Source
metadata:
id: hostmetrics-id
name: hostmetrics
spec:
type: custom
parameters:
- name: telemetry_types
value:
- Metrics
- name: configuration
value: |-
hostmetrics:
collection_interval: 1m0s
scrapers:
filesystem:
metrics:
system.filesystem.utilization:
enabled: true
load:
metrics: null
memory:
metrics:
system.memory.utilization:
enabled: true
network:
metrics:
system.network.conntrack.count:
enabled: true
system.network.conntrack.max:
enabled: true
Custom destination (OTLP exporter)

Step 2 - Apply resources with the API
Step 3 - Create and apply a configuration
YAML
JSON for /v1/apply
/v1/apply
Processors
Standalone processor resource (YAML)
JSON for /v1/apply
/v1/applyAttach a processor to a configuration
Extensions
Next Steps
Last updated
Was this helpful?