Skip to content

Commit eb82ae4

Browse files
authored
Upgrade to OpenTelemetry Collector 0.35.0 (open-telemetry#70)
Signed-off-by: Fangyi Zhou <[email protected]>
1 parent 5ada61a commit eb82ae4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This program generates a custom OpenTelemetry Collector binary based on a given
88
$ GO111MODULE=on go get github.com/open-telemetry/opentelemetry-collector-builder
99
$ cat > ~/.otelcol-builder.yaml <<EOF
1010
exporters:
11-
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.34.0"
11+
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.35.0"
1212
EOF
1313
$ opentelemetry-collector-builder --output-path=/tmp/dist
1414
$ cat > /tmp/otelcol.yaml <<EOF
@@ -73,16 +73,16 @@ dist:
7373
name: otelcol-custom # the binary name. Optional.
7474
description: "Custom OpenTelemetry Collector distribution" # a long name for the application. Optional.
7575
include_core: true # whether the core components should be included in the distribution. Optional.
76-
otelcol_version: "0.34.0" # the OpenTelemetry Collector version to use as base for the distribution. Optional.
76+
otelcol_version: "0.35.0" # the OpenTelemetry Collector version to use as base for the distribution. Optional.
7777
output_path: /tmp/otelcol-distributionNNN # the path to write the output (sources and binary). Optional.
7878
version: "1.0.0" # the version for your custom OpenTelemetry Collector. Optional.
7979
go: "/usr/bin/go" # which Go binary to use to compile the generated sources. Optional.
8080
exporters:
81-
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.34.0" # the Go module for the component. Required.
81+
- gomod: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.35.0" # the Go module for the component. Required.
8282
import: "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter" # the import path for the component. Optional.
8383
name: "alibabacloudlogserviceexporter" # package name to use in the generated sources. Optional.
8484
path: "./alibabacloudlogserviceexporter" # in case a local version should be used for the module, the path relative to the current dir, or a full path can be specified. Optional.
8585
replaces:
8686
# a list of "replaces" directives that will be part of the resulting go.mod
87-
- github.com/open-telemetry/opentelemetry-collector-contrib/internal/common => github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.34.0
87+
- github.com/open-telemetry/opentelemetry-collector-contrib/internal/common => github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.35.0
8888
```

internal/builder/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"go.uber.org/zap"
2828
)
2929

30-
const defaultOtelColVersion = "0.34.0"
30+
const defaultOtelColVersion = "0.35.0"
3131

3232
// ErrInvalidGoMod indicates an invalid gomod
3333
var ErrInvalidGoMod = errors.New("invalid gomod specification for module")

test/nocore.builder.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dist:
22
module: github.com/open-telemetry/opentelemetry-collector-builder/test/nocore
3-
otelcol_version: 0.34.0
3+
otelcol_version: 0.35.0
44
include_core: false
55

66
receivers:

test/replaces.builder.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
dist:
22
module: github.com/open-telemetry/opentelemetry-collector-builder/test/replaces
3-
otelcol_version: 0.34.0
3+
otelcol_version: 0.35.0
44

55
processors:
6-
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.34.0
7-
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.34.0
6+
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.35.0
7+
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.35.0
88

99
replaces:
10-
- github.com/open-telemetry/opentelemetry-collector-contrib/internal/common => github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.34.0
10+
- github.com/open-telemetry/opentelemetry-collector-contrib/internal/common => github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.35.0

0 commit comments

Comments
 (0)