Skip to content

Commit 251de12

Browse files
authored
Release 0.102.0 (#3013)
* oop * upgrades * oop * Fixes * Small fixes
1 parent 4cd4454 commit 251de12

File tree

8 files changed

+60
-62
lines changed

8 files changed

+60
-62
lines changed

.chloggen/fix-annot-again.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.chloggen/usage_metrics.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22

33
<!-- next version -->
44

5+
## 0.102.0
6+
7+
### 💡 Enhancements 💡
8+
9+
- `collector`: Add usage metrics for the collector (#2829)
10+
This change will add metrics to the OpenTelemetry operator about how the collector is used in the cluster,
11+
it will add the following metrics to the opentelemetry-operator metrics endpoint
12+
```
13+
opentelemetry_collector_receivers{collector_name="collector_name", namespace="ns", type="otlp"} 1
14+
opentelemetry_collector_exporters{collector_name="collector_name", namespace="ns", type="otlp"} 1
15+
opentelemetry_collector_processors{collector_name="collector_name", namespace="ns", type="otlp"} 1
16+
opentelemetry_collector_connectors{collector_name="collector_name", namespace="ns", type="myconnector"} 0
17+
opentelemetry_collector_info{collector_name="simplest",namespace="default", type="deployment"} 1
18+
```
19+
20+
21+
### 🧰 Bug fixes 🧰
22+
23+
- `collector`: Fixes a bug that was preventing regexes from being loaded correctly. Now the filter provide is exactly what's used. (#3007)
24+
This is technically a breaking change if a user relied on the previously broken regex functionality.
25+
This change will actually fix their regex to work where it didn't before. I expect that users would rather their
26+
regexes work than break silently.
27+
- `collector`: Upgrades to 0.102.1 which resolves a CVE in the configgrpc package. See [here](https://github.com/open-telemetry/opentelemetry-collector/pull/10323) for more details
28+
29+
30+
### Components
31+
32+
* [OpenTelemetry Collector - v0.102.1](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.102.1)
33+
* [OpenTelemetry Contrib - v0.102.1](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.102.1)
34+
* [Java auto-instrumentation - v1.32.1](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.32.1)
35+
* [.NET auto-instrumentation - v1.2.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.2.0)
36+
* [Node.JS - v0.51.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.51.0)
37+
* [Python - v0.45b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.45b0)
38+
* [Go - v0.13.0-alpha](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.13.0-alpha)
39+
* [ApacheHTTPD - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4)
40+
* [Nginx - 1.0.4](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv1.0.4)
41+
542
## 0.101.0
643

744
### 💡 Enhancements 💡

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ AUTO_INSTRUMENTATION_NGINX_VERSION ?= "$(shell grep -v '\#' versions.txt | grep
1616
COMMON_LDFLAGS ?= -s -w
1717
OPERATOR_LDFLAGS ?= -X ${VERSION_PKG}.version=${VERSION} -X ${VERSION_PKG}.buildDate=${VERSION_DATE} -X ${VERSION_PKG}.otelCol=${OTELCOL_VERSION} -X ${VERSION_PKG}.targetAllocator=${TARGETALLOCATOR_VERSION} -X ${VERSION_PKG}.operatorOpAMPBridge=${OPERATOR_OPAMP_BRIDGE_VERSION} -X ${VERSION_PKG}.autoInstrumentationJava=${AUTO_INSTRUMENTATION_JAVA_VERSION} -X ${VERSION_PKG}.autoInstrumentationNodeJS=${AUTO_INSTRUMENTATION_NODEJS_VERSION} -X ${VERSION_PKG}.autoInstrumentationPython=${AUTO_INSTRUMENTATION_PYTHON_VERSION} -X ${VERSION_PKG}.autoInstrumentationDotNet=${AUTO_INSTRUMENTATION_DOTNET_VERSION} -X ${VERSION_PKG}.autoInstrumentationGo=${AUTO_INSTRUMENTATION_GO_VERSION} -X ${VERSION_PKG}.autoInstrumentationApacheHttpd=${AUTO_INSTRUMENTATION_APACHE_HTTPD_VERSION} -X ${VERSION_PKG}.autoInstrumentationNginx=${AUTO_INSTRUMENTATION_NGINX_VERSION}
1818
ARCH ?= $(shell go env GOARCH)
19+
ifeq ($(shell uname), Darwin)
20+
SED_INPLACE := sed -i ''
21+
else
22+
SED_INPLACE := sed -i
23+
endif
1924

2025
# Image URL to use all building/pushing image targets
2126
DOCKER_USER ?= open-telemetry
@@ -527,14 +532,14 @@ chlog-insert-components:
527532
@echo "* [OpenTelemetry Collector - v${OTELCOL_VERSION}](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v${OTELCOL_VERSION})" >>components.md
528533
@echo "* [OpenTelemetry Contrib - v${OTELCOL_VERSION}](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v${OTELCOL_VERSION})" >>components.md
529534
@echo "* [Java auto-instrumentation - v${AUTO_INSTRUMENTATION_JAVA_VERSION}](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v${AUTO_INSTRUMENTATION_JAVA_VERSION})" >>components.md
530-
@echo "* [.NET auto-instrumentation - v${AUTO_INSTRUMENTATION_DOTNET_VERSION}](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/$v{AUTO_INSTRUMENTATION_DOTNET_VERSION})" >>components.md
535+
@echo "* [.NET auto-instrumentation - v${AUTO_INSTRUMENTATION_DOTNET_VERSION}](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v${AUTO_INSTRUMENTATION_DOTNET_VERSION})" >>components.md
531536
@echo "* [Node.JS - v${AUTO_INSTRUMENTATION_NODEJS_VERSION}](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv${AUTO_INSTRUMENTATION_NODEJS_VERSION})" >>components.md
532537
@echo "* [Python - v${AUTO_INSTRUMENTATION_PYTHON_VERSION}](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v${AUTO_INSTRUMENTATION_PYTHON_VERSION})" >>components.md
533538
@echo "* [Go - ${AUTO_INSTRUMENTATION_GO_VERSION}](https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/${AUTO_INSTRUMENTATION_GO_VERSION})" >>components.md
534539
@echo "* [ApacheHTTPD - ${AUTO_INSTRUMENTATION_APACHE_HTTPD_VERSION}](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv${AUTO_INSTRUMENTATION_APACHE_HTTPD_VERSION})" >>components.md
535540
@echo "* [Nginx - ${AUTO_INSTRUMENTATION_NGINX_VERSION}](https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/tag/webserver%2Fv${AUTO_INSTRUMENTATION_NGINX_VERSION})" >>components.md
536-
@sed -i '/<!-- next version -->/r ./components.md' CHANGELOG.md
537-
@sed -i '/<!-- next version -->/G' CHANGELOG.md
541+
@$(SED_INPLACE) '/<!-- next version -->/r ./components.md' CHANGELOG.md
542+
@$(SED_INPLACE) '/<!-- next version -->/G' CHANGELOG.md
538543
@rm components.md
539544

540545
.PHONY: opm

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,7 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range,
732732

733733
| OpenTelemetry Operator | Kubernetes | Cert-Manager |
734734
|------------------------|----------------| ------------ |
735+
| v0.102.0 | v1.23 to v1.30 | v1 |
735736
| v0.101.0 | v1.23 to v1.30 | v1 |
736737
| v0.100.0 | v1.23 to v1.29 | v1 |
737738
| v0.99.0 | v1.23 to v1.29 | v1 |
@@ -754,7 +755,6 @@ The OpenTelemetry Operator _might_ work on versions outside of the given range,
754755
| v0.82.0 | v1.19 to v1.27 | v1 |
755756
| v0.81.0 | v1.19 to v1.27 | v1 |
756757
| v0.80.0 | v1.19 to v1.27 | v1 |
757-
| v0.79.0 | v1.19 to v1.27 | v1 |
758758

759759
## Contributing and Developing
760760

RELEASE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ The operator should be released within a week after the [OpenTelemetry collector
4444

4545
| Version | Release manager |
4646
|----------|-----------------|
47-
| v0.102.0 | @swiatekm-sumo |
48-
| v0.103.0 | @frzifus |
49-
| v0.104.0 | @jaronoff97 |
47+
| v0.103.0 | @swiatekm-sumo |
48+
| v0.104.0 | @frzifus |
5049
| v0.105.0 | @pavolloffay |
5150
| v0.106.0 | @yuriolisa |
52-
| v0.107.0 | @TylerHelmuth |
51+
| v0.107.0 | @TylerHelmuth |
52+
| v0.108.0 | @jaronoff97 |

bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml

Lines changed: 4 additions & 4 deletions
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-05-28T16:20:50Z"
102+
createdAt: "2024-06-05T18:27:00Z"
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.101.0
108+
name: opentelemetry-operator.v0.102.0
109109
namespace: placeholder
110110
spec:
111111
apiservicedefinitions: {}
@@ -504,7 +504,7 @@ spec:
504504
valueFrom:
505505
fieldRef:
506506
fieldPath: spec.serviceAccountName
507-
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.101.0
507+
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.102.0
508508
livenessProbe:
509509
httpGet:
510510
path: /healthz
@@ -612,7 +612,7 @@ spec:
612612
minKubeVersion: 1.23.0
613613
provider:
614614
name: OpenTelemetry Community
615-
version: 0.101.0
615+
version: 0.102.0
616616
webhookdefinitions:
617617
- admissionReviewVersions:
618618
- v1alpha1

versions.txt

Lines changed: 6 additions & 6 deletions
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.101.0
5+
opentelemetry-collector=0.102.1
66

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

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

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

1616
# Represents the current release of Java instrumentation.
1717
# Should match autoinstrumentation/java/version.txt
@@ -23,14 +23,14 @@ autoinstrumentation-nodejs=0.51.0
2323

2424
# Represents the current release of Python instrumentation.
2525
# Should match value in autoinstrumentation/python/requirements.txt
26-
autoinstrumentation-python=0.44b0
26+
autoinstrumentation-python=0.45b0
2727

2828
# Represents the current release of DotNet instrumentation.
2929
# Should match autoinstrumentation/dotnet/version.txt
3030
autoinstrumentation-dotnet=1.2.0
3131

3232
# Represents the current release of Go instrumentation.
33-
autoinstrumentation-go=v0.12.0-alpha
33+
autoinstrumentation-go=v0.13.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)