Skip to content

Commit fb59fef

Browse files
authored
Prepare release 0.99.0 (#2914)
* Prepare release 0.99.0 Signed-off-by: Pavol Loffay <[email protected]> * Fix Signed-off-by: Pavol Loffay <[email protected]> * Fix Signed-off-by: Pavol Loffay <[email protected]> * Fix Signed-off-by: Pavol Loffay <[email protected]> --------- Signed-off-by: Pavol Loffay <[email protected]>
1 parent 2b7d4b3 commit fb59fef

17 files changed

+75
-228
lines changed

.chloggen/2603-part-one.yaml

-16
This file was deleted.

.chloggen/add-service-instance-id.yaml

-26
This file was deleted.

.chloggen/autoinstrumentation-java-cli-flag.yaml

-16
This file was deleted.

.chloggen/change-instrumentation-feature-gates.yaml

-16
This file was deleted.

.chloggen/chore_remove-ta-rewrite-flag.yaml

-16
This file was deleted.

.chloggen/featuregates-into-cli-go.yaml

-16
This file was deleted.

.chloggen/fix-hashing-bug.yaml

-16
This file was deleted.

.chloggen/fix-selector-bug.yaml

-16
This file was deleted.

.chloggen/fix-unescaping.yaml

-19
This file was deleted.

.chloggen/fix_drop-ta-config-backwards-compat.yaml

-19
This file was deleted.

.chloggen/v1beta1-remove-webhook.yaml

-16
This file was deleted.

.chloggen/v1beta1-webhook.yaml

-25
This file was deleted.

CHANGELOG.md

+64
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,70 @@
22

33
<!-- next version -->
44

5+
## 0.99.0
6+
7+
### 🛑 Breaking changes 🛑
8+
9+
- `operator`: change java instrumentation feature gate `operator.autoinstrumentation.java` into command line flag `--enable-java-instrumentation` (#2673, #2582)
10+
- `operator`: remove featuregate `operator.autoinstrumentation.nodejs`. Use command line flag `--enable-nodejs-instrumentation` instead (#2674)
11+
- `operator`: remove featuregate `operator.autoinstrumentation.go`. Use command line flag `--enable-go-instrumentation` instead (#2675)
12+
- `target allocator`: Remove `operator.collector.rewritetargetallocator` feature flag (#2796)
13+
- `target allocator`: Drop compatibility with older target allocator versions (#1907)
14+
We've made a breaking change to the target allocator configuration in 0.93.0. This change removes operator
15+
compatibility with target allocator versions older than that. Users running more recent target allocator versions
16+
are unaffected.
17+
18+
19+
### 🚀 New components 🚀
20+
21+
- `collector`: Enable reconciliation of Collector v1beta1 CRD. See [CRD changelog](./docs/crd-changelog.md) for detailed information. (#2620, #1907)
22+
Users are expected to migrate to `otelcol.v1beta1.opentelemetry.io`.
23+
The support for `otelcol.v1alpha1.opentelemetry.io` will be removed in the future.
24+
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.
25+
After all `otelcol.v1alpha1.opentelemetry.io` are stored as `v1beta1` update the collector CRD to store only `v1beta1`
26+
`kubectl patch customresourcedefinitions opentelemetrycollectors.opentelemetry.io --subresource='status' --type='merge' -p '{"status":{"storedVersions":["v1beta1"]}}'`.
27+
**Only `AllNamespaces` install mode is now supported** due to the conversion webhook from `v1beta1` to `v1alpha1`.
28+
See [OLM docs](https://olm.operatorframework.io/docs/tasks/install-operator-with-olm/) and
29+
[OLM operator groups docs](https://olm.operatorframework.io/docs/advanced-tasks/operator-scoping-with-operatorgroups/).
30+
31+
32+
### 💡 Enhancements 💡
33+
34+
- `collector`: Changes metric port logic to use intermediary struct. (#2603)
35+
- `collector`: Remove collector v1alpha1 defaulting and validating webhooks. (#2736)
36+
The functionality was moved to the collector v1beta1 webhooks.
37+
38+
### 🧰 Bug fixes 🧰
39+
40+
- `auto-instrumentation`: Add attribute `service.instance.id` while pod is mutated. (#2679)
41+
`service.instance.id` is expected to be `<namespace>.<podName>.<containerName>`
42+
43+
But while pod is created it may not have the `podName` yet at the podMutator webhooks.
44+
45+
This changed to use the env var `OTEL_RESOURCE_ATTRIBUTES_POD_NAME` which will be present at runtime.
46+
`<namespace>.$(OTEL_RESOURCE_ATTRIBUTES_POD_NAME).<containerName>`
47+
48+
Making a valid and complete value for `service.instance.id` to be added.
49+
50+
- `collector`: Fixes a bug that would cause errant rollouts on a non-config related change. (#2899)
51+
- `collector`: resolves a bug that would create a junk selector for the service by merging rather than overriding. (#2873)
52+
- `target allocator`: Fix a metric relabel config unescaping bug (#2867)
53+
If only metric relabel configs were present, without target relabel configs, unescaping wouldn't be applied, leading
54+
to invalid Target Allocator configuration.
55+
56+
57+
### Components
58+
59+
* [OpenTelemetry Collector - v0.99.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.99.0)
60+
* [OpenTelemetry Contrib - v0.99.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.99.0)
61+
* [Java auto-instrumentation - v1.32.1](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.32.1)
62+
* [.NET auto-instrumentation - v1.2.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.2.0)
63+
* [Node.JS - v0.49.1](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.49.1)
64+
* [Python - v0.44b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.44b0)
65+
* [Go - v0.12.0-alpha](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.12.0-alpha)
66+
* [ApacheHTTPD - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4)
67+
* [Nginx - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4)
68+
569
## 0.98.0
670

771
### 💡 Enhancements 💡

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range,
734734

735735
| OpenTelemetry Operator | Kubernetes | Cert-Manager |
736736
|------------------------| -------------- | ------------ |
737+
| v0.99.0 | v1.23 to v1.29 | v1 |
737738
| v0.98.0 | v1.23 to v1.29 | v1 |
738739
| v0.97.0 | v1.23 to v1.29 | v1 |
739740
| v0.96.0 | v1.23 to v1.29 | v1 |
@@ -756,7 +757,6 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range,
756757
| v0.79.0 | v1.19 to v1.27 | v1 |
757758
| v0.78.0 | v1.19 to v1.27 | v1 |
758759
| v0.77.0 | v1.19 to v1.26 | v1 |
759-
| v0.76.1 | v1.19 to v1.26 | v1 |
760760

761761
## Contributing and Developing
762762

RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ The operator should be released within a week after the [OpenTelemetry collector
4444

4545
| Version | Release manager |
4646
|----------|-----------------|
47-
| v0.99.0 | @yuriolisa |
4847
| v0.100.0 | @VineethReddy02 |
4948
| v0.101.0 | @TylerHelmuth |
5049
| v0.102.0 | @swiatekm-sumo |
5150
| v0.103.0 | @frzifus |
5251
| v0.104.0 | @jaronoff97 |
5352
| v0.105.0 | @pavolloffay |
53+
| v0.106.0 | @yuriolisa |

bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ metadata:
9999
categories: Logging & Tracing,Monitoring
100100
certified: "false"
101101
containerImage: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator
102-
createdAt: "2024-04-11T16:00:15Z"
102+
createdAt: "2024-04-30T12:37:39Z"
103103
description: Provides the OpenTelemetry components, including the Collector
104104
operators.operatorframework.io/builder: operator-sdk-v1.29.0
105105
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
106106
repository: github.com/open-telemetry/opentelemetry-operator
107107
support: OpenTelemetry Community
108-
name: opentelemetry-operator.v0.98.0
108+
name: opentelemetry-operator.v0.99.0
109109
namespace: placeholder
110110
spec:
111111
apiservicedefinitions: {}
@@ -499,7 +499,7 @@ spec:
499499
- --zap-log-level=info
500500
- --zap-time-encoding=rfc3339nano
501501
- --enable-nginx-instrumentation=true
502-
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.98.0
502+
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.99.0
503503
livenessProbe:
504504
httpGet:
505505
path: /healthz
@@ -607,7 +607,7 @@ spec:
607607
minKubeVersion: 1.23.0
608608
provider:
609609
name: OpenTelemetry Community
610-
version: 0.98.0
610+
version: 0.99.0
611611
webhookdefinitions:
612612
- admissionReviewVersions:
613613
- v1alpha1

versions.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# by default with the OpenTelemetry Operator. This would usually be the latest
33
# stable OpenTelemetry version. When you update this file, make sure to update the
44
# the docs as well.
5-
opentelemetry-collector=0.98.0
5+
opentelemetry-collector=0.99.0
66

77
# Represents the current release of the OpenTelemetry Operator.
8-
operator=0.98.0
8+
operator=0.99.0
99

1010
# Represents the current release of the Target Allocator.
11-
targetallocator=0.98.0
11+
targetallocator=0.99.0
1212

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

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

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

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

0 commit comments

Comments
 (0)