Live Workshop Recording - OpenTelemetry Deep Dive: Hands-On with the OTel Collector & BindplaneWatch Now

Bindplane Collector

Description

Monitor the logs and metrics of the Bindplane Collector the config is applied to.

Supported Platforms

Bindplane Collector: v1.40.0+

PlatformMetricsLogsTraces
Linux
Windows
macOS

Configuration

FieldDescription
Collector Log PathThe absolute path to the bindplane-agent log. Default is $OIQ_OTEL_COLLECTOR_HOME/log/collector.log.
Enable File Offset StorageWhen enabled, the current position into a file will be saved to disk, and reading will resume from where it left off after a collector restart.
Offset Storage DirectoryThe directory that the offset storage file will be created. Default is $OIQ_OTEL_COLLECTOR_HOME/storage.
Start AtWhere in the log file to begin reading logs from. Can be beginning or end.
Collection IntervalSets how often (seconds) to scrape for metrics.
Process MetricsWhen enabled, the source will collect process metrics. Default is true.
Receiver MetricsWhen enabled, the source will collect receiver metrics. Default is true.
Processor MetricsWhen enabled, the source will collect processor metrics. Default is true.
Exporter MetricsWhen enabled, the source will collect exporter metrics. Default is true.

Example Configuration

Basic Configuration

For basic configuration, the defaults are used.

Web Interface

observIQ docs - Bindplane Collector Source - image 1

Standalone Source

yaml
1apiVersion: bindplane.observiq.com/v1
2kind: Source
3metadata:
4  id: bindplane-agent
5  name: bindplane-agent
6spec:
7  type: bindplane-agent
8  parameters:
9    - name: log_path
10      value: '$OIQ_OTEL_COLLECTOR_HOME/log/collector.log'
11    - name: enable_offset_storage
12      value: true
13    - name: offset_storage_dir
14      value: '$OIQ_OTEL_COLLECTOR_HOME/storage'
15    - name: start_at
16      value: 'end'
17    - name: collection_interval
18      value: 60