diff --git a/builder-config.yaml b/builder-config.yaml index 4d7c003..a549390 100644 --- a/builder-config.yaml +++ b/builder-config.yaml @@ -2,4 +2,23 @@ dist: name: otelcol-dev description: Basic Otel Collector for development + otelcol_version: 0.92.0 + version: 0.1.0-rc0 output_path: ./bin/otelcol-dev + +exporters: + - gomod: + # NOTE: Prior to v0.86.0 use the `loggingexporter` instead of `debugexporter`. + go.opentelemetry.io/collector/exporter/debugexporter v0.92.0 + - gomod: + go.opentelemetry.io/collector/exporter/otlpexporter v0.92.0 + - gomod: + go.wperron.io/sqliteexporter v0.1.0-rc0 # use the exporter from this repo + +processors: + - gomod: + go.opentelemetry.io/collector/processor/batchprocessor v0.92.0 + +receivers: + - gomod: + go.opentelemetry.io/collector/receiver/otlpreceiver v0.92.0 diff --git a/otelcol-dev-config.yaml b/otelcol-dev-config.yaml new file mode 100644 index 0000000..7fe6a5d --- /dev/null +++ b/otelcol-dev-config.yaml @@ -0,0 +1,20 @@ +receivers: + otlp: + protocols: + grpc: + http: + +processors: + batch: + +exporters: + debug: + sqlite: + path: local.db + +service: + pipelines: + traces: + receivers: [otlp] + processors: [batch] + exporters: [debug, sqlite]