Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion base/comps/component-check-disablement.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ components = [
"golang-k8s-kube-openapi",
"golang-k8s-utils",
"golang-mongodb-mongo-driver",
"golang-opentelemetry-contrib",
"golang-opentelemetry-otel",
"golang-sigs-k8s-structured-merge-diff",
"golang-x-crypto",
Expand Down
2 changes: 0 additions & 2 deletions base/comps/components.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1050,8 +1050,6 @@ overlay-files = ["overlays/*.overlay.toml"]
[components.golang-modernc-memory]
[components.golang-modernc-sqlite]
[components.golang-opencensus]
Comment thread
miz060 marked this conversation as resolved.
[components.golang-opentelemetry-contrib]
[components.golang-opentelemetry-otel]
[components.golang-opentelemetry-proto]
[components.golang-rsc-pdf]
[components.golang-sigs-k8s-structured-merge-diff]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[components.golang-opentelemetry-otel]
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Azure Linux has no RPM consumers of these exporters, examples, or test
# helpers. Keeping them creates build cycles through OpenTelemetry contrib,
# gRPC, OpenCensus, Zipkin, and the retired Prometheus/conntrack chain.

[metadata]
category = "azl-pruning"
upstream-status = "inapplicable"

[[overlays]]
description = "Drop unused OpenTelemetry exporters and examples"
type = "spec-search-replace"
section = "%prep"
regex = '^%goprep -A$'
replacement = '''%goprep -A

rm -r \
bridge/opentracing/test \
example/dice \
example/otel-collector \
example/opencensus \
example/prometheus \
exporters/otlp \
exporters/prometheus \
exporters/zipkin'''
7 changes: 0 additions & 7 deletions locks/golang-opentelemetry-contrib.lock

This file was deleted.

2 changes: 1 addition & 1 deletion locks/golang-opentelemetry-otel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ version = 1
import-commit = '56d3a5ab53858473fc6eb30548bb1b3fa8b2bf66'
upstream-commit = '56d3a5ab53858473fc6eb30548bb1b3fa8b2bf66'
manual-bump = 2
input-fingerprint = 'sha256:447537c38d29cdf2d40fc35f6063a505bc91e4c48fb2ef7290e2c40644261829'
input-fingerprint = 'sha256:b184ac5b0fe566f3ed378d92f384ddb323444906323fac93673c61b7f64612a6'
resolution-input-hash = 'sha256:466421704711c4fd3c71f0b2ed715a0e61d49e3e26f3a2637fee755795849c8e'

This file was deleted.

1 change: 0 additions & 1 deletion specs/g/golang-opentelemetry-contrib/sources

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## (rpmautospec version 0.8.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 8;
release_number = 9;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
Expand Down Expand Up @@ -50,6 +50,16 @@ Patch: 0001-Restore-jaeger-for-otel-1.28-and-removed-from-1.17.patch

%prep
%goprep -A

rm -r \
bridge/opentracing/test \
example/dice \
example/otel-collector \
example/opencensus \
example/prometheus \
exporters/otlp \
exporters/prometheus \
exporters/zipkin
%autopatch -p1

# OpenCensus is deprecated upstream
Expand Down Expand Up @@ -81,6 +91,9 @@ done

%changelog
## START: Generated by rpmautospec
* Fri Aug 21 2026 Mitch Zhu <mitchzhu@microsoft.com> - 1.28.0-9
- fix(golang): prune unused OpenTelemetry packages

* Wed Aug 19 2026 reuben olinsky <reubeno@users.noreply.github.com> - 1.28.0-8
- build: mass rebuild auto-bumpable components

Expand Down
Loading