From 99b6c6fc4c472fd6b54080f9e2737fdf38573ae9 Mon Sep 17 00:00:00 2001 From: Pavol Loffay Date: Fri, 8 Nov 2024 17:16:12 +0100 Subject: [PATCH] Prepare release 0.113.0 (#3437) * Prepare release 0.113.0 Signed-off-by: Pavol Loffay * Fix Signed-off-by: Pavol Loffay --------- Signed-off-by: Pavol Loffay --- ...779-kubeletstatsreiver-inject-en-vars.yaml | 16 ---------- .../2947-updating-ds-sf-depl-mutation.yaml | 16 ---------- .../3332-musl-python-autoinstrumentation.yaml | 16 ---------- .chloggen/3370-create-dynamic-sm.yaml | 19 ------------ .chloggen/3420.yaml | 16 ---------- .../issue-3412-support-http-protocol.yaml | 16 ---------- .chloggen/scrape-config-probe.yaml | 16 ---------- CHANGELOG.md | 30 +++++++++++++++++++ RELEASE.md | 4 +-- ...emetry-operator.clusterserviceversion.yaml | 8 ++--- ...emetry-operator.clusterserviceversion.yaml | 8 ++--- docs/compatibility.md | 2 +- versions.txt | 10 +++---- 13 files changed, 46 insertions(+), 131 deletions(-) delete mode 100755 .chloggen/2779-kubeletstatsreiver-inject-en-vars.yaml delete mode 100755 .chloggen/2947-updating-ds-sf-depl-mutation.yaml delete mode 100644 .chloggen/3332-musl-python-autoinstrumentation.yaml delete mode 100755 .chloggen/3370-create-dynamic-sm.yaml delete mode 100755 .chloggen/3420.yaml delete mode 100755 .chloggen/issue-3412-support-http-protocol.yaml delete mode 100755 .chloggen/scrape-config-probe.yaml diff --git a/.chloggen/2779-kubeletstatsreiver-inject-en-vars.yaml b/.chloggen/2779-kubeletstatsreiver-inject-en-vars.yaml deleted file mode 100755 index eb48092056..0000000000 --- a/.chloggen/2779-kubeletstatsreiver-inject-en-vars.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: collector - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Inject environment K8S_NODE_NAME environment variable for the Kubelet Stats Receiver. - -# One or more tracking issues related to the change -issues: [2779] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/2947-updating-ds-sf-depl-mutation.yaml b/.chloggen/2947-updating-ds-sf-depl-mutation.yaml deleted file mode 100755 index e5b2f62a44..0000000000 --- a/.chloggen/2947-updating-ds-sf-depl-mutation.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: bug_fix - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: collector - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "Fix mutation of deployments, statefulsets, and daemonsets allowing to remove fields on update" - -# One or more tracking issues related to the change -issues: [2947] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/3332-musl-python-autoinstrumentation.yaml b/.chloggen/3332-musl-python-autoinstrumentation.yaml deleted file mode 100644 index 72fa4598ba..0000000000 --- a/.chloggen/3332-musl-python-autoinstrumentation.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: add config for installing musl based auto-instrumentation for Python - -# One or more tracking issues related to the change -issues: [2264] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/3370-create-dynamic-sm.yaml b/.chloggen/3370-create-dynamic-sm.yaml deleted file mode 100755 index 4f6264744a..0000000000 --- a/.chloggen/3370-create-dynamic-sm.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Programmatically create the `ServiceMonitor` for the operator metrics endpoint, ensuring correct namespace handling and dynamic configuration. - -# One or more tracking issues related to the change -issues: [3370] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: | - Previously, the `ServiceMonitor` was created statically from a manifest file, causing failures when the - operator was deployed in a non-default namespace. This enhancement ensures automatic adjustment of the - `serverName` and seamless metrics scraping. diff --git a/.chloggen/3420.yaml b/.chloggen/3420.yaml deleted file mode 100755 index 23d617a484..0000000000 --- a/.chloggen/3420.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: collector - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Create RBAC rules for the k8s_events receiver automatically. - -# One or more tracking issues related to the change -issues: [3420] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/issue-3412-support-http-protocol.yaml b/.chloggen/issue-3412-support-http-protocol.yaml deleted file mode 100755 index 6237be1212..0000000000 --- a/.chloggen/issue-3412-support-http-protocol.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Support `http/json` and `http/protobuf` via OTEL_EXPORTER_OTLP_PROTOCOL environment variable in addition to default `grpc` for exporting traces - -# One or more tracking issues related to the change -issues: [3412] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/.chloggen/scrape-config-probe.yaml b/.chloggen/scrape-config-probe.yaml deleted file mode 100755 index 4320d62a40..0000000000 --- a/.chloggen/scrape-config-probe.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) -component: target allocator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: enables support for pulling scrape config and probe CRDs in the target allocator - -# One or more tracking issues related to the change -issues: [1842] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/CHANGELOG.md b/CHANGELOG.md index 50bfb30e5d..1c3ee367ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ +## 0.113.0 + +### 💡 Enhancements 💡 + +- `operator`: Programmatically create the `ServiceMonitor` for the operator metrics endpoint, ensuring correct namespace handling and dynamic configuration. (#3370) + Previously, the `ServiceMonitor` was created statically from a manifest file, causing failures when the + operator was deployed in a non-default namespace. This enhancement ensures automatic adjustment of the + `serverName` and seamless metrics scraping. +- `collector`: Create RBAC rules for the k8s_events receiver automatically. (#3420) +- `collector`: Inject environment K8S_NODE_NAME environment variable for the Kubelet Stats Receiver. (#2779) +- `auto-instrumentation`: add config for installing musl based auto-instrumentation for Python (#2264) +- `auto-instrumentation`: Support `http/json` and `http/protobuf` via OTEL_EXPORTER_OTLP_PROTOCOL environment variable in addition to default `grpc` for exporting traces (#3412) +- `target allocator`: enables support for pulling scrape config and probe CRDs in the target allocator (#1842) + +### 🧰 Bug fixes 🧰 + +- `collector`: Fix mutation of deployments, statefulsets, and daemonsets allowing to remove fields on update (#2947) + +### Components + +* [OpenTelemetry Collector - v0.113.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.113.0) +* [OpenTelemetry Contrib - v0.113.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.113.0) +* [Java auto-instrumentation - v1.33.5](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.33.5) +* [.NET auto-instrumentation - v1.2.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.2.0) +* [Node.JS - v0.53.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.53.0) +* [Python - v0.48b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.48b0) +* [Go - v0.17.0-alpha](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.17.0-alpha) +* [ApacheHTTPD - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4) +* [Nginx - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4) + ## 0.112.0 ### 💡 Enhancements 💡 diff --git a/RELEASE.md b/RELEASE.md index e0fd0222ec..495072523c 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -44,10 +44,10 @@ The operator should be released within a week after the [OpenTelemetry collector | Version | Release manager | |----------|-----------------| -| v0.113.0 | @pavolloffay | | v0.114.0 | @TylerHelmuth | | v0.115.0 | @jaronoff97 | | v0.116.0 | @swiatekm | | v0.117.0 | @iblancasa | | v0.118.0 | @frzifus | -| v0.119.0 | @yuriolisa | \ No newline at end of file +| v0.119.0 | @yuriolisa | +| v0.120.0 | @pavolloffay | diff --git a/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml index 26dfd36044..e7b58fec20 100644 --- a/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml +++ b/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml @@ -99,13 +99,13 @@ metadata: categories: Logging & Tracing,Monitoring certified: "false" containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator - createdAt: "2024-10-31T08:49:00Z" + createdAt: "2024-11-08T09:36:39Z" description: Provides the OpenTelemetry components, including the Collector operators.operatorframework.io/builder: operator-sdk-v1.29.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: github.com/open-telemetry/opentelemetry-operator support: OpenTelemetry Community - name: opentelemetry-operator.v0.112.0 + name: opentelemetry-operator.v0.113.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -483,7 +483,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.serviceAccountName - image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.112.0 + image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.113.0 livenessProbe: httpGet: path: /healthz @@ -591,7 +591,7 @@ spec: minKubeVersion: 1.23.0 provider: name: OpenTelemetry Community - version: 0.112.0 + version: 0.113.0 webhookdefinitions: - admissionReviewVersions: - v1alpha1 diff --git a/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml index a11637c21a..cae664cb52 100644 --- a/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml +++ b/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml @@ -99,13 +99,13 @@ metadata: categories: Logging & Tracing,Monitoring certified: "false" containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator - createdAt: "2024-10-31T08:49:04Z" + createdAt: "2024-11-08T09:36:43Z" description: Provides the OpenTelemetry components, including the Collector operators.operatorframework.io/builder: operator-sdk-v1.29.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: github.com/open-telemetry/opentelemetry-operator support: OpenTelemetry Community - name: opentelemetry-operator.v0.112.0 + name: opentelemetry-operator.v0.113.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -487,7 +487,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.serviceAccountName - image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.112.0 + image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.113.0 livenessProbe: httpGet: path: /healthz @@ -606,7 +606,7 @@ spec: minKubeVersion: 1.23.0 provider: name: OpenTelemetry Community - version: 0.112.0 + version: 0.113.0 webhookdefinitions: - admissionReviewVersions: - v1alpha1 diff --git a/docs/compatibility.md b/docs/compatibility.md index 4a38633f7e..b1b68893e8 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -46,6 +46,7 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range, | OpenTelemetry Operator | Kubernetes | Cert-Manager | Prometheus-Operator | |------------------------|----------------| ------------ |---------------------| +| v0.113.0 | v1.23 to v1.31 | v1 | v0.76.0 | | v0.112.0 | v1.23 to v1.31 | v1 | v0.76.0 | | v0.111.0 | v1.23 to v1.31 | v1 | v0.76.0 | | v0.110.0 | v1.23 to v1.31 | v1 | v0.76.0 | @@ -69,7 +70,6 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range, | v0.92.0 | v1.23 to v1.29 | v1 | v0.71.0 | | v0.91.0 | v1.23 to v1.29 | v1 | v0.70.0 | | v0.90.0 | v1.23 to v1.28 | v1 | v0.69.1 | -| v0.89.0 | v1.23 to v1.28 | v1 | v0.69.1 | [kubernetes_releases]: https://kubernetes.io/releases/ [openshift_support]: https://access.redhat.com/support/policy/updates/openshift diff --git a/versions.txt b/versions.txt index dc2ee9b67d..c6d0531a58 100644 --- a/versions.txt +++ b/versions.txt @@ -2,16 +2,16 @@ # by default with the OpenTelemetry Operator. This would usually be the latest # stable OpenTelemetry version. When you update this file, make sure to update the # the docs as well. -opentelemetry-collector=0.112.0 +opentelemetry-collector=0.113.0 # Represents the current release of the OpenTelemetry Operator. -operator=0.112.0 +operator=0.113.0 # Represents the current release of the Target Allocator. -targetallocator=0.112.0 +targetallocator=0.113.0 # Represents the current release of the Operator OpAMP Bridge. -operator-opamp-bridge=0.112.0 +operator-opamp-bridge=0.113.0 # Represents the current release of Java instrumentation. # Should match autoinstrumentation/java/version.txt @@ -30,7 +30,7 @@ autoinstrumentation-python=0.48b0 autoinstrumentation-dotnet=1.2.0 # Represents the current release of Go instrumentation. -autoinstrumentation-go=v0.15.0-alpha +autoinstrumentation-go=v0.17.0-alpha # Represents the current release of Apache HTTPD instrumentation. # Should match autoinstrumentation/apache-httpd/version.txt