Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 37 additions & 7 deletions .github/workflows/otel-integration-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.23.x
go-version: 1.25.x
- name: Setup cluster
uses: ./.github/actions/setup
with:
Expand Down Expand Up @@ -58,7 +58,37 @@ jobs:
run: |
cd ./otel-integration/k8s-helm/e2e-test/
go clean -testcache
go test -v -run='^TestE2E.*' -skip='^TestE2E_TargetAllocator_ServiceMonitorMetrics$' $(go list ./... | rg -v '/supervisor$')
go test -v -run='^TestE2E.*' -skip='^(TestE2E_TargetAllocator_ServiceMonitorMetrics|TestE2E_InstrumentationWebhookNoCRDs)$' $(go list ./... | rg -v '/supervisor$')
- name: Pods logs
if: failure()
run: |
for pod in $(kubectl get pods -l "app.kubernetes.io/instance=otel-integration-agent-e2e" -o jsonpath='{.items[*].metadata.name}'); do
echo "===== Last 25 log lines for pod: $pod ====="
kubectl logs --tail=25 $pod
echo
done

otel-integration-instrumentation-webhook-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.25.x
- name: Setup cluster
uses: ./.github/actions/setup
with:
create-kind-cluster: "true"
cluster-name: "otel-integration-agent-e2e"
- name: Run Instrumentation Webhook E2E test
run: |
cd ./otel-integration/k8s-helm/e2e-test/
chmod +x ./run-all.sh
./run-all.sh --test TestE2E_InstrumentationWebhookNoCRDs
- name: Pods logs
if: failure()
run: |
Expand All @@ -78,7 +108,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.23.x
go-version: 1.25.x
- name: Setup cluster
uses: ./.github/actions/setup
with:
Expand Down Expand Up @@ -108,7 +138,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.23.x
go-version: 1.25.x
- name: Setup cluster
uses: ./.github/actions/setup
with:
Expand Down Expand Up @@ -188,7 +218,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.23.x
go-version: 1.25.x
- name: Setup cluster
uses: ./.github/actions/setup
with:
Expand Down Expand Up @@ -250,7 +280,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.23.x
go-version: 1.25.x
- name: Setup cluster
uses: ./.github/actions/setup
with:
Expand Down Expand Up @@ -310,7 +340,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.23.x
go-version: 1.25.x
- name: Setup cluster
uses: ./.github/actions/setup
with:
Expand Down
4 changes: 4 additions & 0 deletions otel-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## OpenTelemetry-Integration

### v0.0.320 / 2026-06-24

- [Feat] Add optional `instrumentationWebhook` support for Java, Python, and .NET workload auto-instrumentation.

### v0.0.319 / 2026-06-23

- [Chore] Bump chart dependency to opentelemetry-collector 0.134.0
Expand Down
7 changes: 6 additions & 1 deletion otel-integration/k8s-helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: otel-integration
description: OpenTelemetry Integration
version: 0.0.319
version: 0.0.320
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand All @@ -14,6 +14,11 @@ dependencies:
version: "0.134.0"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent.enabled
- name: opentelemetry-operator
alias: instrumentationWebhook
version: "0.115.1"
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
condition: instrumentationWebhook.enabled
- name: opentelemetry-collector
alias: opentelemetry-agent-windows
version: "0.134.0"
Expand Down
25 changes: 25 additions & 0 deletions otel-integration/k8s-helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,31 @@ helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-
--render-subchart-notes -f values-crd-override.yaml --set global.clusterName=<cluster_name> --set global.domain=<domain>
```

### Auto-instrumentation webhook without Instrumentation CRDs

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.

Enable it with:

```yaml
instrumentationWebhook:
enabled: true
```

Supported annotations:

```yaml
instrumentation.opentelemetry.io/inject-java: "true"
instrumentation.opentelemetry.io/inject-python: "true"
instrumentation.opentelemetry.io/inject-dotnet: "true"
```

Java and .NET use OTLP/gRPC to `http://$(OTEL_NODE_IP):4317`. Python uses OTLP HTTP/protobuf to `http://$(OTEL_NODE_IP):4318`.

> [!IMPORTANT]
>
> 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.

### Troubleshooting

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.
Expand Down
Loading
Loading