Skip to content

Commit

Permalink
deploy ebpf agent without collector
Browse files Browse the repository at this point in the history
  • Loading branch information
NimrodAvni78 committed Dec 12, 2024
1 parent 5e2aba7 commit c0fac3a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.123
version: 0.0.124
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand Down Expand Up @@ -36,7 +36,7 @@ dependencies:
condition: opentelemetry-gateway.enabled
- name: coralogix-ebpf-agent
alias: coralogix-ebpf-agent
version: "0.1.5"
version: "0.1.7"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts
condition: coralogix-ebpf-agent.enabled
sources:
Expand Down
13 changes: 13 additions & 0 deletions otel-integration/k8s-helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,19 @@ coralogix-ebpf-agent:
A service is defined by the top owner of the specific container the performed the network request, in most cases a Deploymnet, StatefulSet, DaemonSet or CronJob.
the name of the service is the name of that owner resource.

#### Enabling Coralogix EBPF with existing OpenTelemetry Collector

If you already have an existing OpenTelemetry Collector deployment and you want to enable the Coralogix EBPF agent.
you can only deploy the ebpf agent and supply your existing OpenTelemetry Collector endpoint with this command:

```bash
helm repo add coralogix-charts-virtual https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
helm upgrade --install otel-coralogix-central-collector coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f values-ebpf-agent-existing-collector.yaml --set coralogix-ebpf-agent.ebpf_agent.otel.exporter.endpoint=<your-existing-collector-endpoint>
```


# How to use it

## Available Endpoints
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
global:
domain: "-"
clusterName: "-"

opentelemetry-agent:
enabled: false

opentelemetry-cluster-collector:
enabled: false

coralogix-ebpf-agent:
enabled: true
ebpf_agent:
otel:
exporter:
# configure the opentelemetry collector endpoint here
endpoint: "coralogix-opentelemetry-receiver:4317"

0 comments on commit c0fac3a

Please sign in to comment.