-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
otel-collector: add otel-collector config and Makefile
Signed-off-by: Hank Donnay <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
_build | ||
otelcollector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
otelcollector: builder.yaml | ||
go run go.opentelemetry.io/collector/cmd/[email protected] --config=builder.yaml | ||
cp _build/otelcollector . | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf _build otelcollector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
dist: | ||
name: otelcollector | ||
description: Clair-flavored OpenTelemetry Collector binary | ||
output_path: ./_build | ||
version: '0.1.0' | ||
exporters: | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter v0.109.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.109.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusremotewriteexporter v0.109.0 | ||
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sentryexporter v0.109.0 | ||
- gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.109.0 | ||
|
||
receivers: | ||
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.109.0 | ||
|
||
processors: | ||
- gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.109.0 | ||
|
||
providers: | ||
- gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v1.15.0 | ||
- gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v1.15.0 | ||
- gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.109.0 | ||
- gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.109.0 | ||
- gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.109.0 |