Skip to content

Commit

Permalink
Prepare release 0.99.0 (#2914)
Browse files Browse the repository at this point in the history
* Prepare release 0.99.0

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

---------

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay committed May 1, 2024
1 parent 2b7d4b3 commit fb59fef
Show file tree
Hide file tree
Showing 17 changed files with 75 additions and 228 deletions.
16 changes: 0 additions & 16 deletions .chloggen/2603-part-one.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions .chloggen/add-service-instance-id.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/autoinstrumentation-java-cli-flag.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/change-instrumentation-feature-gates.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/chore_remove-ta-rewrite-flag.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/featuregates-into-cli-go.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/fix-hashing-bug.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/fix-selector-bug.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions .chloggen/fix-unescaping.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions .chloggen/fix_drop-ta-config-backwards-compat.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/v1beta1-remove-webhook.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions .chloggen/v1beta1-webhook.yaml

This file was deleted.

64 changes: 64 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,70 @@

<!-- next version -->

## 0.99.0

### 🛑 Breaking changes 🛑

- `operator`: change java instrumentation feature gate `operator.autoinstrumentation.java` into command line flag `--enable-java-instrumentation` (#2673, #2582)
- `operator`: remove featuregate `operator.autoinstrumentation.nodejs`. Use command line flag `--enable-nodejs-instrumentation` instead (#2674)
- `operator`: remove featuregate `operator.autoinstrumentation.go`. Use command line flag `--enable-go-instrumentation` instead (#2675)
- `target allocator`: Remove `operator.collector.rewritetargetallocator` feature flag (#2796)
- `target allocator`: Drop compatibility with older target allocator versions (#1907)
We've made a breaking change to the target allocator configuration in 0.93.0. This change removes operator
compatibility with target allocator versions older than that. Users running more recent target allocator versions
are unaffected.


### 🚀 New components 🚀

- `collector`: Enable reconciliation of Collector v1beta1 CRD. See [CRD changelog](./docs/crd-changelog.md) for detailed information. (#2620, #1907)
Users are expected to migrate to `otelcol.v1beta1.opentelemetry.io`.
The support for `otelcol.v1alpha1.opentelemetry.io` will be removed in the future.
Follow [migration guide](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#upgrade-existing-objects-to-a-new-stored-version) for upgrading already created collector instances.
After all `otelcol.v1alpha1.opentelemetry.io` are stored as `v1beta1` update the collector CRD to store only `v1beta1`
`kubectl patch customresourcedefinitions opentelemetrycollectors.opentelemetry.io --subresource='status' --type='merge' -p '{"status":{"storedVersions":["v1beta1"]}}'`.
**Only `AllNamespaces` install mode is now supported** due to the conversion webhook from `v1beta1` to `v1alpha1`.
See [OLM docs](https://olm.operatorframework.io/docs/tasks/install-operator-with-olm/) and
[OLM operator groups docs](https://olm.operatorframework.io/docs/advanced-tasks/operator-scoping-with-operatorgroups/).


### 💡 Enhancements 💡

- `collector`: Changes metric port logic to use intermediary struct. (#2603)
- `collector`: Remove collector v1alpha1 defaulting and validating webhooks. (#2736)
The functionality was moved to the collector v1beta1 webhooks.

### 🧰 Bug fixes 🧰

- `auto-instrumentation`: Add attribute `service.instance.id` while pod is mutated. (#2679)
`service.instance.id` is expected to be `<namespace>.<podName>.<containerName>`

But while pod is created it may not have the `podName` yet at the podMutator webhooks.

This changed to use the env var `OTEL_RESOURCE_ATTRIBUTES_POD_NAME` which will be present at runtime.
`<namespace>.$(OTEL_RESOURCE_ATTRIBUTES_POD_NAME).<containerName>`

Making a valid and complete value for `service.instance.id` to be added.

- `collector`: Fixes a bug that would cause errant rollouts on a non-config related change. (#2899)
- `collector`: resolves a bug that would create a junk selector for the service by merging rather than overriding. (#2873)
- `target allocator`: Fix a metric relabel config unescaping bug (#2867)
If only metric relabel configs were present, without target relabel configs, unescaping wouldn't be applied, leading
to invalid Target Allocator configuration.


### Components

* [OpenTelemetry Collector - v0.99.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.99.0)
* [OpenTelemetry Contrib - v0.99.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.99.0)
* [Java auto-instrumentation - v1.32.1](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.32.1)
* [.NET auto-instrumentation - v1.2.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.2.0)
* [Node.JS - v0.49.1](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.49.1)
* [Python - v0.44b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.44b0)
* [Go - v0.12.0-alpha](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.12.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.98.0

### 💡 Enhancements 💡
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -734,6 +734,7 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range,

| OpenTelemetry Operator | Kubernetes | Cert-Manager |
|------------------------| -------------- | ------------ |
| v0.99.0 | v1.23 to v1.29 | v1 |
| v0.98.0 | v1.23 to v1.29 | v1 |
| v0.97.0 | v1.23 to v1.29 | v1 |
| v0.96.0 | v1.23 to v1.29 | v1 |
Expand All @@ -756,7 +757,6 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range,
| v0.79.0 | v1.19 to v1.27 | v1 |
| v0.78.0 | v1.19 to v1.27 | v1 |
| v0.77.0 | v1.19 to v1.26 | v1 |
| v0.76.1 | v1.19 to v1.26 | v1 |

## Contributing and Developing

Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Expand Up @@ -44,10 +44,10 @@ The operator should be released within a week after the [OpenTelemetry collector

| Version | Release manager |
|----------|-----------------|
| v0.99.0 | @yuriolisa |
| v0.100.0 | @VineethReddy02 |
| v0.101.0 | @TylerHelmuth |
| v0.102.0 | @swiatekm-sumo |
| v0.103.0 | @frzifus |
| v0.104.0 | @jaronoff97 |
| v0.105.0 | @pavolloffay |
| v0.106.0 | @yuriolisa |
Expand Up @@ -99,13 +99,13 @@ metadata:
categories: Logging & Tracing,Monitoring
certified: "false"
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
createdAt: "2024-04-11T16:00:15Z"
createdAt: "2024-04-30T12:37: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.98.0
name: opentelemetry-operator.v0.99.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -499,7 +499,7 @@ spec:
- --zap-log-level=info
- --zap-time-encoding=rfc3339nano
- --enable-nginx-instrumentation=true
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.98.0
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.99.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -607,7 +607,7 @@ spec:
minKubeVersion: 1.23.0
provider:
name: OpenTelemetry Community
version: 0.98.0
version: 0.99.0
webhookdefinitions:
- admissionReviewVersions:
- v1alpha1
Expand Down
10 changes: 5 additions & 5 deletions versions.txt
Expand Up @@ -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.98.0
opentelemetry-collector=0.99.0

# Represents the current release of the OpenTelemetry Operator.
operator=0.98.0
operator=0.99.0

# Represents the current release of the Target Allocator.
targetallocator=0.98.0
targetallocator=0.99.0

# Represents the current release of the Operator OpAMP Bridge.
operator-opamp-bridge=0.98.0
operator-opamp-bridge=0.99.0

# Represents the current release of Java instrumentation.
# Should match autoinstrumentation/java/version.txt
Expand All @@ -30,7 +30,7 @@ autoinstrumentation-python=0.44b0
autoinstrumentation-dotnet=1.2.0

# Represents the current release of Go instrumentation.
autoinstrumentation-go=v0.10.1-alpha
autoinstrumentation-go=v0.12.0-alpha

# Represents the current release of Apache HTTPD instrumentation.
# Should match autoinstrumentation/apache-httpd/version.txt
Expand Down

0 comments on commit fb59fef

Please sign in to comment.