diff --git a/.chloggen/2726-non-root-nginx-autoinstrumentation.yaml b/.chloggen/2726-non-root-nginx-autoinstrumentation.yaml deleted file mode 100755 index 04310f0375..0000000000 --- a/.chloggen/2726-non-root-nginx-autoinstrumentation.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: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "Fix file copy for NGINX auto-instrumentation for non-root workloads." - -# One or more tracking issues related to the change -issues: [2726] - -# (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/3165-python-otlp-protocol-env-var.yaml b/.chloggen/3165-python-otlp-protocol-env-var.yaml deleted file mode 100755 index cba8188516..0000000000 --- a/.chloggen/3165-python-otlp-protocol-env-var.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: set OTEL_EXPORTER_OTLP_PROTOCOL instead of signal specific env vars in python instrumentation - -# One or more tracking issues related to the change -issues: [3165] - -# (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/3216-ta-retry-namespace-informer-creation.yaml b/.chloggen/3216-ta-retry-namespace-informer-creation.yaml deleted file mode 100644 index 2db25c9caa..0000000000 --- a/.chloggen/3216-ta-retry-namespace-informer-creation.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: target allocator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: "Retrying failed namespace informer creation in promOperator CRD watcher, then exit if creation issue cannot be resolved" - -# One or more tracking issues related to the change -issues: [3216] - -# (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/3242-rollback-of-3187.yaml b/.chloggen/3242-rollback-of-3187.yaml deleted file mode 100644 index 1fd2ea2f95..0000000000 --- a/.chloggen/3242-rollback-of-3187.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: target allocator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Rollback 3187 - -# One or more tracking issues related to the change -issues: [3242] - -# (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: This Rollsback 3187 which breaks TargetAllocator config for clusters with custom domains. diff --git a/.chloggen/3258-autoscaler-utilization-greater-than-99.yaml b/.chloggen/3258-autoscaler-utilization-greater-than-99.yaml deleted file mode 100755 index f32bb996bd..0000000000 --- a/.chloggen/3258-autoscaler-utilization-greater-than-99.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: "Allow autoscaler targetCPUUtilization and TargetMemoryUtilization to be greater than 99" - -# One or more tracking issues related to the change -issues: [3258] - -# (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/feature_3090.yaml b/.chloggen/feature_3090.yaml deleted file mode 100755 index ad1f98094d..0000000000 --- a/.chloggen/feature_3090.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: "Not ignore the `instrumentation.opentelemetry.io/container-names` annotation when the multi-instrumentation is enabled" - -# One or more tracking issues related to the change -issues: [3090] - -# (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/fix-managed-by-gross-2.yaml b/.chloggen/fix-managed-by-gross-2.yaml deleted file mode 100755 index b06808183e..0000000000 --- a/.chloggen/fix-managed-by-gross-2.yaml +++ /dev/null @@ -1,20 +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: auto-instrumentation - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Fixes a bug that was preventing auto instrumentation from getting correct images. - -# One or more tracking issues related to the change -issues: [3014] - -# (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: | - This PR removes the restriction on the operator to only upgrade manually applied CRDs. This meant - that resources applied by helm were not upgraded at all. The solution was to remove the restriction - we had on querying the label app.kubernetes.io/managed-by=opentelemetry-operator, thereby upgrading - ALL CRDs in the cluster. diff --git a/.chloggen/fix-managed-by-gross.yaml b/.chloggen/fix-managed-by-gross.yaml deleted file mode 100755 index d733674d9d..0000000000 --- a/.chloggen/fix-managed-by-gross.yaml +++ /dev/null @@ -1,18 +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: Fixes a bug that was preventing upgrade patches from reliably applying. - -# One or more tracking issues related to the change -issues: [3074] - -# (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: | - A bug was discovered in the process of testing the PR that was failing to remove the environment - variables introduced in the 0.104.0 upgrade. The fix was to take a deepcopy of the object and update that. diff --git a/.chloggen/fix_dont-own-volumes.yaml b/.chloggen/fix_dont-own-volumes.yaml deleted file mode 100755 index 5430eaa680..0000000000 --- a/.chloggen/fix_dont-own-volumes.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: Don't unnecessarily take ownership of PersistentVolumes and PersistentVolumeClaims - -# One or more tracking issues related to the change -issues: [3042] - -# (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/operator31.yaml b/.chloggen/operator31.yaml deleted file mode 100644 index 0e52ea95cb..0000000000 --- a/.chloggen/operator31.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. operator, target allocator, github action) -component: operator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Support for Kubernetes `1.31` version. - -# One or more tracking issues related to the change -issues: [3247] - -# (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/propagate-global-scrape-protocols.yaml b/.chloggen/propagate-global-scrape-protocols.yaml deleted file mode 100755 index c9606ca18a..0000000000 --- a/.chloggen/propagate-global-scrape-protocols.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: introduces the global field in the TA config to allow for setting scrape protocols - -# One or more tracking issues related to the change -issues: [3160] - -# (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/xray-receiver-udp-port.yaml b/.chloggen/xray-receiver-udp-port.yaml deleted file mode 100755 index 3bc036e841..0000000000 --- a/.chloggen/xray-receiver-udp-port.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: awsxray-receiver - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Switched the protocol of awsxray-receiver to UDP from TCP - -# One or more tracking issues related to the change -issues: [3261] - -# (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 3fc4a7db93..02547f0fbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,47 @@ +## 0.108.0 + +### 💡 Enhancements 💡 + +- `auto-instrumentation`: set OTEL_EXPORTER_OTLP_PROTOCOL instead of signal specific env vars in python instrumentation (#3165) +- `collector`: Allow autoscaler targetCPUUtilization and TargetMemoryUtilization to be greater than 99 (#3258) +- `auto-instrumentation`: Not ignore the `instrumentation.opentelemetry.io/container-names` annotation when the multi-instrumentation is enabled (#3090) +- `operator`: Support for Kubernetes `1.31` version. (#3247) +- `target allocator`: introduces the global field in the TA config to allow for setting scrape protocols (#3160) + +### 🧰 Bug fixes 🧰 + +- `auto-instrumentation`: Fix file copy for NGINX auto-instrumentation for non-root workloads. (#2726) +- `target allocator`: Retrying failed namespace informer creation in promOperator CRD watcher, then exit if creation issue cannot be resolved (#3216) +- `target allocator`: Rollback #3187 (#3242) + This Rollsback 3187 which breaks TargetAllocator config for clusters with custom domains. +- `auto-instrumentation`: Fixes a bug that was preventing auto instrumentation from getting correct images. (#3014) + This PR removes the restriction on the operator to only upgrade manually applied CRDs. This meant + that resources applied by helm were not upgraded at all. The solution was to remove the restriction + we had on querying the label app.kubernetes.io/managed-by=opentelemetry-operator, thereby upgrading + ALL CRDs in the cluster. + +- `collector`: Fixes a bug that was preventing upgrade patches from reliably applying. (#3074) + A bug was discovered in the process of testing the PR that was failing to remove the environment + variables introduced in the 0.104.0 upgrade. The fix was to take a deepcopy of the object and update that. + +- `collector`: Don't unnecessarily take ownership of PersistentVolumes and PersistentVolumeClaims (#3042) +- `awsxray-receiver`: Switched the protocol of awsxray-receiver to UDP from TCP (#3261) + +### Components + +* [OpenTelemetry Collector - v0.108.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.108.0) +* [OpenTelemetry Contrib - v0.108.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.108.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.52.1](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.52.1) +* [Python - v0.48b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.48b0) +* [Go - v0.14.0-alpha](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.14.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.107.0 ### 💡 Enhancements 💡 diff --git a/README.md b/README.md index c1323ce287..ba115fbe5d 100644 --- a/README.md +++ b/README.md @@ -759,6 +759,7 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range, | OpenTelemetry Operator | Kubernetes | Cert-Manager | Prometheus-Operator | |------------------------|----------------| ------------ |---------------------| +| v0.108.0 | v1.23 to v1.31 | v1 | v0.76.0 | | v0.107.0 | v1.23 to v1.30 | v1 | v0.75.0 | | v0.106.0 | v1.23 to v1.30 | v1 | v0.75.0 | | v0.105.0 | v1.23 to v1.30 | v1 | v0.74.0 | @@ -781,7 +782,6 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range, | v0.88.0 | v1.23 to v1.28 | v1 | v0.68.0 | | v0.87.0 | v1.23 to v1.28 | v1 | v0.68.0 | | v0.86.0 | v1.23 to v1.28 | v1 | v0.68.0 | -| v0.85.0 | v1.19 to v1.28 | v1 | v0.67.1 | ## Contributing and Developing diff --git a/RELEASE.md b/RELEASE.md index c7c8fde3cd..4463902ce1 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -42,11 +42,11 @@ In order to have more people comfortable with the release process, and in order The operator should be released within a week after the [OpenTelemetry collector release](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/release.md#release-schedule). -| Version | Release manager | -|-----------|-----------------| -| v0.108.0 | @TylerHelmuth | -| v0.109.0 | @jaronoff97 | -| v0.110.0 | @swiatekm | -| v0.111.0 | @frzifus | -| v0.112.0 | @yuriolisa | -| v0.113.0 | @pavolloffay | +| Version | Release manager | +|----------|-----------------| +| v0.109.0 | @jaronoff97 | +| v0.110.0 | @swiatekm | +| v0.111.0 | @frzifus | +| v0.112.0 | @yuriolisa | +| v0.113.0 | @pavolloffay | +| v0.114.0 | @TylerHelmuth | diff --git a/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/community/manifests/opentelemetry-operator.clusterserviceversion.yaml index 6875f49a6c..6737e75c56 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-09-03T20:25:40Z" + createdAt: "2024-09-05T15:16:50Z" 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.107.0 + name: opentelemetry-operator.v0.108.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -479,7 +479,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.serviceAccountName - image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.107.0 + image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.108.0 livenessProbe: httpGet: path: /healthz @@ -587,7 +587,7 @@ spec: minKubeVersion: 1.23.0 provider: name: OpenTelemetry Community - version: 0.107.0 + version: 0.108.0 webhookdefinitions: - admissionReviewVersions: - v1alpha1 diff --git a/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/openshift/manifests/opentelemetry-operator.clusterserviceversion.yaml index b6ec3f9ac0..89e840e466 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-09-03T20:25:47Z" + createdAt: "2024-09-05T15:16:58Z" 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.107.0 + name: opentelemetry-operator.v0.108.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.107.0 + image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.108.0 livenessProbe: httpGet: path: /healthz @@ -591,7 +591,7 @@ spec: minKubeVersion: 1.23.0 provider: name: OpenTelemetry Community - version: 0.107.0 + version: 0.108.0 webhookdefinitions: - admissionReviewVersions: - v1alpha1 diff --git a/versions.txt b/versions.txt index 6194fd3099..9842d16e59 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.107.0 +opentelemetry-collector=0.108.0 # Represents the current release of the OpenTelemetry Operator. -operator=0.107.0 +operator=0.108.0 # Represents the current release of the Target Allocator. -targetallocator=0.107.0 +targetallocator=0.108.0 # Represents the current release of the Operator OpAMP Bridge. -operator-opamp-bridge=0.107.0 +operator-opamp-bridge=0.108.0 # Represents the current release of Java instrumentation. # Should match autoinstrumentation/java/version.txt @@ -23,7 +23,7 @@ autoinstrumentation-nodejs=0.52.1 # Represents the current release of Python instrumentation. # Should match value in autoinstrumentation/python/requirements.txt -autoinstrumentation-python=0.47b0 +autoinstrumentation-python=0.48b0 # Represents the current release of DotNet instrumentation. # Should match autoinstrumentation/dotnet/version.txt