Skip to content

Commit e028f86

Browse files
authored
remove deprecation warning for clusterReceiver.eventsEnabled (#1725)
* remove deprecation warning * fix chlog
1 parent c88dc8b commit e028f86

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.chloggen/rm-warning-events.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: bug_fix
3+
# The name of the component, or a single word describing the area of concern, (e.g. agent, clusterReceiver, gateway, operator, chart, other)
4+
component: clusterReceiver
5+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
6+
note: Removes warning from chart when the clusterReceiver.eventsEnabled flag is set to true.
7+
# One or more tracking issues related to the change
8+
issues: [1725]
9+
# (Optional) One or more lines of additional information to render under the primary note.
10+
# These lines will be padded with 2 spaces and then inserted directly into the document.
11+
# Use pipe (|) for multiline entries.
12+
subtext: |
13+
The clusterReceiver.eventsEnabled option which used k8s_events receiver is not being deprecated.
14+
This change removes the warning that was previously displayed when this flag was set to true.

UPGRADING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,8 @@ operator:
366366
## 0.67.0 to 0.68.0
367367

368368
There is a new receiver: [Kubernetes Objects Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8sobjectsreceiver) that can pull or watch any object from Kubernetes API server.
369-
It will replace the [Kubernetes Events Receiver](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/k8seventsreceiver) in the future.
370369

371-
To migrate from Kubernetes Events Receiver to Kubernetes Object Receiver, configure `clusterReceiver` values.yaml section with:
370+
To use the Kubernetes Object Receiver instead of the Kubernetes Events Receiver to collect k8s events, configure `clusterReceiver` values.yaml section with:
372371

373372
```yaml
374373
k8sObjects:

helm-charts/splunk-otel-collector/templates/NOTES.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ Splunk OpenTelemetry Collector is installed and configured to send data to Splun
7171
[WARNING] "clusterReceiver.k8sEventsEnabled" parameter is deprecated. Please use clusterReceiver.eventsEnabled and splunkObservability.infrastructureMonitoringEventsEnabled.
7272
Upgrade guidelines: https://github.com/signalfx/splunk-otel-collector-chart/blob/main/UPGRADING.md#0532-to-0540
7373
{{ end }}
74-
{{- $crEventsEnabled := toString $clusterReceiver.eventsEnabled }}
75-
{{- if not (or (eq $crEventsEnabled "<nil>") (eq $crEventsEnabled "false")) }}
76-
[WARNING] "clusterReceiver.eventsEnabled" parameter is deprecated. Soon it will be replaced with "clusterReceiver.k8sObjects".
77-
Upgrade guidelines: https://github.com/signalfx/splunk-otel-collector-chart/blob/main/UPGRADING.md#0670-to-0680
78-
{{ end }}
7974
{{- if .Values.operator.enabled }}
8075
[INFO] You've enabled the operator's auto-instrumentation feature (operator.enabled=true)! The operator can automatically instrument Kubernetes hosted applications.
8176
- Status: Instrumentation language maturity varies. See `operator.instrumentation.spec` and documentation for utilized instrumentation details.

0 commit comments

Comments
 (0)