add local build and run configs

main
William Perron 10 months ago
parent 27cda64d90
commit 1d48528ca3
Signed by: wperron
GPG Key ID: BFDB4EF72D73C5F2

@ -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

@ -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]
Loading…
Cancel
Save