Skip to content

Commit

Permalink
chore(deps): update otel-collector upstream dependencies (#109)
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
  • Loading branch information
renovate[bot] and jpkrohling authored Dec 4, 2024
1 parent d0a36a6 commit 115beab
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 90 deletions.
24 changes: 7 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
GO ?= go
GORELEASER ?= goreleaser

OTELCOL_BUILDER_VERSION ?= 0.111.0
OTELCOL_BUILDER_VERSION ?= 0.115.0
OTELCOL_BUILDER_DIR ?= ${HOME}/bin
OTELCOL_BUILDER ?= ${OTELCOL_BUILDER_DIR}/ocb

Expand All @@ -10,19 +9,19 @@ DISTRIBUTIONS ?= $(shell echo $(notdir $(wildcard ./distributions/*)) | tr " " "
ci: check build
check: test ensure-goreleaser-up-to-date

build: go ocb
@./scripts/build.sh -d "${DISTRIBUTIONS}" -b ${OTELCOL_BUILDER} -g ${GO}
build: ocb
@./scripts/build.sh -d "${DISTRIBUTIONS}" -b ${OTELCOL_BUILDER}

test: build
@./test/test-all.sh -d "${DISTRIBUTIONS}"

generate: generate-sources generate-goreleaser

generate-goreleaser: go
@./scripts/generate-goreleaser.sh -d "${DISTRIBUTIONS}" -g ${GO}
generate-goreleaser:
@./scripts/generate-goreleaser.sh -d "${DISTRIBUTIONS}"

generate-sources: go ocb
@./scripts/build.sh -d "${DISTRIBUTIONS}" -s true -b ${OTELCOL_BUILDER} -g ${GO}
generate-sources: ocb
@./scripts/build.sh -d "${DISTRIBUTIONS}" -s true -b ${OTELCOL_BUILDER}

goreleaser-verify: goreleaser
@${GORELEASER} release --snapshot --clean
Expand All @@ -49,15 +48,6 @@ else
OTELCOL_BUILDER=$(shell command -v ocb)
endif

.PHONY: go
go:
@{ \
if ! command -v '$(GO)' >/dev/null 2>/dev/null; then \
echo >&2 '$(GO) command not found. Please install golang. https://go.dev/doc/install'; \
exit 1; \
fi \
}

.PHONY: goreleaser
goreleaser:
@{ \
Expand Down
27 changes: 13 additions & 14 deletions distributions/otelcol-kafka/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ dist:
module: github.com/jpkrohling/otelcol-distributions/kafka
name: otelcol
description: A distribution of the OpenTelemetry Collector with Kafka receiver and exporter
version: 0.111.0
version: 0.115.0
output_path: ./_build
otelcol_version: 0.108.1

extensions:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.115.0
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.108.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.108.0
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.115.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.108.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.108.0
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.115.0
25 changes: 12 additions & 13 deletions distributions/otelcol-loadbalancer/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ dist:
module: github.com/jpkrohling/otelcol-distributions/otelcol-loadbalancer
name: otelcol
description: Load-balancer distribution of the OpenTelemetry Collector
version: 0.111.0
version: 0.115.0
output_path: ./_build
otelcol_version: 0.108.1

extensions:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.115.0
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.108.1
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.115.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.108.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.108.0
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.115.0
23 changes: 11 additions & 12 deletions distributions/otelcol-otlp/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@ dist:
module: github.com/jpkrohling/otelcol-distributions/otelcol-otlp
name: otelcol
description: OTLP distribution of the OpenTelemetry Collector
version: 0.111.0
version: 0.115.0
output_path: ./_build
otelcol_version: 0.108.1

extensions:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.115.0
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.108.1
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.115.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.115.0
27 changes: 13 additions & 14 deletions distributions/otelcol-sampling/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@ dist:
module: github.com/jpkrohling/otelcol-distributions/otelcol-sampling
name: otelcol
description: OpenTelemetry Collector distribution with sampling processors
version: 0.111.0
version: 0.115.0
output_path: ./_build
otelcol_version: 0.108.1

extensions:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.115.0
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.108.1
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.115.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.115.0
processors:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.115.0
27 changes: 13 additions & 14 deletions distributions/otelcol-tracing/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ dist:
module: github.com/jpkrohling/otelcol-distributions/tracing
name: otelcol
description: Distributed tracing distribution of the OpenTelemetry Collector
version: 0.111.0
version: 0.115.0
output_path: ./_build
otelcol_version: 0.108.1

extensions:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.115.0
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.108.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.108.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.108.0
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.115.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.115.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.108.1
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.115.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.115.0
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
{
"matchSourceUrls": [
"https://github.com/open-telemetry/opentelemetry-collector",
"https://github.com/open-telemetry/opentelemetry-collector-contrib"
"https://github.com/open-telemetry/opentelemetry-collector-contrib",
"https://github.com/open-telemetry/opentelemetry-collector-releases"
],
"groupName": "otel-collector upstream dependencies"
}
Expand Down
7 changes: 2 additions & 5 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@

REPO_DIR="$( cd "$(dirname $( dirname "${BASH_SOURCE[0]}" ))" &> /dev/null && pwd )"
BUILDER=''
GO=''

# default values
skipcompilation=false

while getopts d:s:b:g: flag
while getopts d:s:b: flag
do
case "${flag}" in
d) distributions=${OPTARG};;
s) skipcompilation=${OPTARG};;
b) BUILDER=${OPTARG};;
g) GO=${OPTARG};;
esac
done

Expand All @@ -39,9 +37,8 @@ do

echo "Building: $distribution"
echo "Using Builder: $(command -v "$BUILDER")"
echo "Using Go: $(command -v "$GO")"

if "$BUILDER" --skip-compilation=${skipcompilation} --go "$GO" --config manifest.yaml > _build/build.log 2>&1; then
if "$BUILDER" --skip-compilation=${skipcompilation} --config manifest.yaml > _build/build.log 2>&1; then
echo "✅ SUCCESS: distribution '${distribution}' built."
else
echo "❌ ERROR: failed to build the distribution '${distribution}'."
Expand Down

0 comments on commit 115beab

Please sign in to comment.