Skip to content

build(deps): Upgrade otelcollector to v0.145.0#1419

Closed
azure-monitor-assistant[bot] wants to merge 1 commit intomainfrom
bot/otelcollector-upgrade-v0.145.0
Closed

build(deps): Upgrade otelcollector to v0.145.0#1419
azure-monitor-assistant[bot] wants to merge 1 commit intomainfrom
bot/otelcollector-upgrade-v0.145.0

Conversation

@azure-monitor-assistant
Copy link
Contributor

This PR upgrades the otelcollector to the latest version available for the opentelemetry-collector and opentelemetry-operator.

It was automatically generated by the GitHub Actions workflow.

The summary of the OSS changelog is below:

Prometheusreceiver Changes

v0.144.0 to v0.145.0

Generated on: 2026-02-19 07:24:34


v0.145.0

  • [BREAKING] receiver/prometheus: Promote receiver.prometheusreceiver.RemoveReportExtraScrapeMetricsConfig feature gate to beta (#44181) The report_extra_scrape_metrics configuration option is now ignored by default. Extra scrape metrics are instead controlled by the receiver.prometheusreceiver.EnableReportExtraScrapeMetrics feature gate and the Prometheus upstream configuration available in promconfig (either globally or per-scrape config).
  • [FEATURE] receiver/prometheus: Support removable Prometheus service discoveries via Go build tags. (#44406) Prometheus service discoveries can now be removed at build time when building the collector with OCB (OpenTelemetry Collector Builder). Use the build_tags option in the builder configuration to pass Go build tags such as remove_all_sd to exclude optional service discoveries. See the Prometheus documentation for available build tags to customize which service discoveries are included.

Summary

Category Count
Breaking Changes 1
Features 1
Bug Fixes 0
Other Changes 0
Total 2

Target-allocator Changes

v0.144.0 to v0.145.0

Generated on: 2026-02-19 07:24:50


0.145.0

  • [FEATURE] target allocator: Add readiness and liveness probe configurations for target allocator CRD (#4639)
  • [FEATURE] target allocator: Make the least-weighted target allocation strategy take job name into account. (#3128) Uses job name instead of "first match" to when number of targets is equal. The effect is to spread out targets with the same job name across collectors.
  • [BUG FIX] target allocator: Fix TLS certificate hot-reload for mTLS connections (#4368) The Target Allocator now automatically reloads TLS certificates when they are renewed by cert-manager. Previously, certificate renewals required a pod restart because certificates were only loaded once at startup. The fix uses fsnotify to watch the certificate directory and dynamically reloads certificates via the GetCertificate callback, enabling seamless certificate rotation without downtime.
  • [BUG FIX] collector: Configure collector to reload client certificate periodically (#4657) When the collector connects to the target allocator over mTLS, certificates were not automatically reloaded after expiration. This adds reload_interval to the TLS configuration, enabling the Prometheus receiver to periodically reload certificates from disk. The default interval of 5 minutes provides a good balance between picking up renewed certificates promptly and avoiding unnecessary overhead.

Summary

Category Count
Breaking Changes 0
Features 2
Bug Fixes 2
Other Changes 0
Total 4

@azure-monitor-assistant azure-monitor-assistant bot requested a review from a team as a code owner February 19, 2026 07:25
@azure-monitor-assistant
Copy link
Contributor Author

⚠️ Building the otelcollector failed. Manual review for breaking changes is required. View build errors below.

View build errors
rm -rf otelcollector
go get
go: warning: google.golang.org/api@v0.258.0: retracted by module author: due to https://github.com/googleapis/google-cloud-go/issues/13503
go: to switch to the latest unretracted version, run:
	go get google.golang.org/api@latest
go build -buildmode=pie -ldflags '-linkmode external -extldflags=-Wl,-z,now' -o otelcollector .
make -C ../fluent-bit/src
make[1]: Entering directory '/home/runner/work/prometheus-collector/prometheus-collector/otelcollector/fluent-bit/src'
========================= Building  out_appinsights plugin go code  =========================
#export BUILDVERSION=..-
#export BUILDDATE=
#@echo 
#@echo 
========================= cleanup existing .so and .h file  =========================
rm -rf *.so *.h *~
========================= go get  =========================
go get
go: downloading github.com/fluent/fluent-bit-go v0.0.0-20220311094233-780004bf5562
go: downloading github.com/microsoft/ApplicationInsights-Go v0.4.4
go: downloading github.com/shirou/gopsutil/v4 v4.26.1
go: downloading github.com/ugorji/go/codec v1.3.0
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: downloading k8s.io/apimachinery v0.34.2
go: downloading k8s.io/client-go v0.34.2
go: downloading code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c
go: downloading github.com/gofrs/uuid v3.3.0+incompatible
go: downloading github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0
go: downloading k8s.io/api v0.34.2
go: downloading golang.org/x/time v0.9.0
========================= go build  =========================
go build -race -buildmode=c-shared -ldflags '-extldflags=-Wl,-z,now' -o out_appinsights.so .
make[1]: Leaving directory '/home/runner/work/prometheus-collector/prometheus-collector/otelcollector/fluent-bit/src'
make -C ../prom-config-validator-builder
make[1]: Entering directory '/home/runner/work/prometheus-collector/prometheus-collector/otelcollector/prom-config-validator-builder'
========================= Building prom config validator =========================
========================= cleanup existing promconfigvalidator =========================
rm -rf promconfigvalidator
========================= go get  =========================
go get
go: warning: google.golang.org/api@v0.258.0: retracted by module author: due to https://github.com/googleapis/google-cloud-go/issues/13503
go: to switch to the latest unretracted version, run:
	go get google.golang.org/api@latest
========================= go build  =========================
go build -buildmode=pie -ldflags '-linkmode external -extldflags=-Wl,-z,now' -o promconfigvalidator .
make[1]: Leaving directory '/home/runner/work/prometheus-collector/prometheus-collector/otelcollector/prom-config-validator-builder'
make -C ../otel-allocator
make[1]: Entering directory '/home/runner/work/prometheus-collector/prometheus-collector/otelcollector/otel-allocator'
========================= Building targetallocator =========================
========================= cleanup existing targetallocator =========================
rm -rf targetallocator
========================= go get  =========================
go get
========================= go build  =========================
go build -buildmode=pie -ldflags '-linkmode external -extldflags=-Wl,-z,now' -o targetallocator .
# github.com/prometheus-operator/prometheus-operator/pkg/operator
/home/runner/go/pkg/mod/github.com/rashmichandrashekar/prometheus-operator@v0.0.0-20250715221118-b55ea6d3c138/pkg/operator/rules.go:188:27: not enough arguments in call to rulefmt.Parse
	have ([]byte)
	want ([]byte, bool, model.ValidationScheme)
make[1]: *** [Makefile:9: targetallocator] Error 1
make[1]: Leaving directory '/home/runner/work/prometheus-collector/prometheus-collector/otelcollector/otel-allocator'
make: *** [Makefile:20: targetallocator] Error 2

@github-actions
Copy link
Contributor

This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

This PR was closed because it has been stalled for 12 days with no activity.

@github-actions github-actions bot closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants