Commit 1d8962b
build(deps): Upgrade otelcollector to v0.148.0 (#1473)
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.148.0
Generated on: 2026-03-24 07:26:22
---
### v0.148.0
- [**OTHER**] `receiver/prometheus_remote_write`: Introduce new snake
case compliant name `prometheus_remote_write`
([#46726](open-telemetry/opentelemetry-collector-contrib#46726))
- [**FEATURE**] `receiver/prometheus`: Graduate
`receiver.prometheusreceiver.RemoveReportExtraScrapeMetricsConfig`
feature gate to stable; deprecate
`receiver.prometheusreceiver.EnableReportExtraScrapeMetrics` feature
gate
([#44181](open-telemetry/opentelemetry-collector-contrib#44181))
The `report_extra_scrape_metrics` configuration option is now fully
ignored; remove it from your configuration to avoid crashes. The
`receiver.prometheusreceiver.EnableReportExtraScrapeMetrics` feature
gate is deprecated and will be removed in v0.148.0; use the
`extra_scrape_metrics` Prometheus scrape configuration option instead.
- [**BUG FIX**] `receiver/prometheus`: receiver/prometheusreceiver:
return stable SeriesRef from AppendHistogram for correct per-series
staleness tracking
([#44528](open-telemetry/opentelemetry-collector-contrib#44528))
- [**BUG FIX**] `receiver/prometheus`: Validate target allocator
interval during configuration to prevent runtime panic when interval is
set to 0 or a negative value.
([#46700](open-telemetry/opentelemetry-collector-contrib#46700))
Previously, setting `interval` to 0s or a negative value would cause a
runtime panic when `time.NewTicker()` was called with an invalid
duration. The configuration is now validated early to prevent this panic
and provide a clear error message.
### v0.147.0
- [**FEATURE**] `receiver/prometheusremotewrite`: Add support for
extracting exemplars from Prometheus counters
([#46145](open-telemetry/opentelemetry-collector-contrib#46145))
### v0.146.0
- [**FEATURE**] `receiver/prometheusremotewrite`: Improved performance
when parsing Remote Write v2 requests.
([#45623](open-telemetry/opentelemetry-collector-contrib#45623))
- [**FEATURE**] `receiver/prometheusremotewrite`: Add exemplar support
to the Prometheus Remote Write receiver
([#44983](open-telemetry/opentelemetry-collector-contrib#44983))
### v0.145.0
- [**BREAKING**] `receiver/prometheus`: Promote
`receiver.prometheusreceiver.RemoveReportExtraScrapeMetricsConfig`
feature gate to beta
([#44181](open-telemetry/opentelemetry-collector-contrib#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](open-telemetry/opentelemetry-collector-contrib#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 | 5 |
| Bug Fixes | 2 |
| Other Changes | 1 |
| **Total** | **9** |
# Target-allocator Changes
## v0.144.0 to v0.148.0
Generated on: 2026-03-24 07:26:38
---
### 0.147.0
- [**BUG FIX**] `target allocator`: Fix Service Monitor/Pod Monitor in
TargetAllocator doesnt pick up updates to secrets
([#4091](open-telemetry/opentelemetry-operator#4091))
Fixes issue where service/pod Monitors don't pick up updates to secrets.
### 0.146.0
- [**FEATURE**] `target allocator`: Expose missing Prometheus CR fields
in the Operator API
([#1934](open-telemetry/opentelemetry-operator#1934))
Added `podMonitorNamespaceSelector`, `serviceMonitorNamespaceSelector`,
`scrapeConfigNamespaceSelector`, `probeNamespaceSelector`,
`evaluationInterval`, and `scrapeProtocols` to the `prometheusCR`
configuration within the `TargetAllocator` and `OpenTelemetryCollector`
APIs to achieve feature parity with the underlying Target Allocator.
### 0.145.0
- [**FEATURE**] `target allocator`: Add readiness and liveness probe
configurations for target allocator CRD
([#4639](open-telemetry/opentelemetry-operator#4639))
- [**FEATURE**] `target allocator`: Make the least-weighted target
allocation strategy take job name into account.
([#3128](open-telemetry/opentelemetry-operator#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](open-telemetry/opentelemetry-operator#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](open-telemetry/opentelemetry-operator#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 | 3 |
| Bug Fixes | 3 |
| Other Changes | 0 |
| **Total** | **6** |
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rashmi Chandrashekar <rashmy@microsoft.com>
Co-authored-by: Grace Wehner <grace.wehner@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent bf05d52 commit 1d8962b
File tree
85 files changed
+4956
-3737
lines changed- internal
- docs
- otel-upgrade-scripts
- otelcollector
- opentelemetry-collector-builder
- otel-allocator
- internal
- allocation
- collector
- config
- diff
- prehook
- server
- target
- watcher
- prom-config-validator-builder
- prometheus-ui
- prometheusreceiver
- internal
- apiserver
- metadata
- targetallocator
- testdata
- test/ginkgo-e2e
- configprocessing
- prometheusui
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
85 files changed
+4956
-3737
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 6 | | |
11 | | - | |
12 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 74 | | |
290 | 75 | | |
291 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | 612 | | |
0 commit comments