Skip to content

Commit c4424f6

Browse files
committed
Add chart for instrumentation webhook
Signed-off-by: Israel Blancas <iblancasa@gmail.com>
1 parent 6a7ea03 commit c4424f6

12 files changed

Lines changed: 677 additions & 64 deletions

File tree

.github/workflows/otel-integration-e2e-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Go
1919
uses: actions/setup-go@v6
2020
with:
21-
go-version: 1.23.x
21+
go-version: 1.25.x
2222
- name: Setup cluster
2323
uses: ./.github/actions/setup
2424
with:
@@ -78,7 +78,7 @@ jobs:
7878
- name: Install Go
7979
uses: actions/setup-go@v6
8080
with:
81-
go-version: 1.23.x
81+
go-version: 1.25.x
8282
- name: Setup cluster
8383
uses: ./.github/actions/setup
8484
with:
@@ -108,7 +108,7 @@ jobs:
108108
- name: Install Go
109109
uses: actions/setup-go@v6
110110
with:
111-
go-version: 1.23.x
111+
go-version: 1.25.x
112112
- name: Setup cluster
113113
uses: ./.github/actions/setup
114114
with:
@@ -188,7 +188,7 @@ jobs:
188188
- name: Install Go
189189
uses: actions/setup-go@v6
190190
with:
191-
go-version: 1.23.x
191+
go-version: 1.25.x
192192
- name: Setup cluster
193193
uses: ./.github/actions/setup
194194
with:
@@ -250,7 +250,7 @@ jobs:
250250
- name: Install Go
251251
uses: actions/setup-go@v6
252252
with:
253-
go-version: 1.23.x
253+
go-version: 1.25.x
254254
- name: Setup cluster
255255
uses: ./.github/actions/setup
256256
with:
@@ -310,7 +310,7 @@ jobs:
310310
- name: Install Go
311311
uses: actions/setup-go@v6
312312
with:
313-
go-version: 1.23.x
313+
go-version: 1.25.x
314314
- name: Setup cluster
315315
uses: ./.github/actions/setup
316316
with:

otel-integration/CHANGELOG.md

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

33
## OpenTelemetry-Integration
44

5+
### v0.0.320 / 2026-06-24
6+
7+
- [Feat] Add optional `instrumentationWebhook` support for Java, Python, and .NET workload auto-instrumentation.
8+
59
### v0.0.319 / 2026-06-23
610

711
- [Chore] Bump chart dependency to opentelemetry-collector 0.134.0

otel-integration/k8s-helm/Chart.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: otel-integration
33
description: OpenTelemetry Integration
4-
version: 0.0.319
4+
version: 0.0.320
55
keywords:
66
- OpenTelemetry Collector
77
- OpenTelemetry Agent
@@ -14,6 +14,11 @@ dependencies:
1414
version: "0.134.0"
1515
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
1616
condition: opentelemetry-agent.enabled
17+
- name: opentelemetry-operator
18+
alias: instrumentationWebhook
19+
version: "0.115.1"
20+
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
21+
condition: instrumentationWebhook.enabled
1722
- name: opentelemetry-collector
1823
alias: opentelemetry-agent-windows
1924
version: "0.134.0"

otel-integration/k8s-helm/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,31 @@ helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-
188188
--render-subchart-notes -f values-crd-override.yaml --set global.clusterName=<cluster_name> --set global.domain=<domain>
189189
```
190190

191+
### Auto-instrumentation webhook without Instrumentation CRDs
192+
193+
The chart can deploy an instrumentation webhook that injects OpenTelemetry auto-instrumentation into annotated application pods without requiring `Instrumentation` CRDs. This mode uses one static instrumentation configuration from Helm values and sends traces to the `opentelemetry-agent` DaemonSet on the same node as the application pod.
194+
195+
Enable it with:
196+
197+
```yaml
198+
instrumentationWebhook:
199+
enabled: true
200+
```
201+
202+
Supported annotations:
203+
204+
```yaml
205+
instrumentation.opentelemetry.io/inject-java: "true"
206+
instrumentation.opentelemetry.io/inject-python: "true"
207+
instrumentation.opentelemetry.io/inject-dotnet: "true"
208+
```
209+
210+
Java and .NET use OTLP/gRPC to `http://$(OTEL_NODE_IP):4317`. Python uses OTLP HTTP/protobuf to `http://$(OTEL_NODE_IP):4318`.
211+
212+
> [!IMPORTANT]
213+
>
214+
> Do not enable `instrumentationWebhook` in a cluster that already has another OpenTelemetry Operator webhook installed, unless the webhook names and selectors are configured to avoid collisions.
215+
191216
### Troubleshooting
192217

193218
During installation, you may encounter warning messages about missing namespace rules (`get`, `list`, `watch`). This is a known issue in OpenTelemetry (see [issue #2685](https://github.com/open-telemetry/opentelemetry-operator/issues/2685)) and does not impact the successful installation of the chart.

0 commit comments

Comments
 (0)