Skip to content

Commit

Permalink
deploy ebpf agent without collector (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
NimrodAvni78 authored Dec 12, 2024
1 parent 5e2aba7 commit 0a5f178
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 3 deletions.
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 @@

## OpenTelemtry-Integration

### v0.0.125 / 2024-12-12

- [Feat] allow deploying of coralogix-ebpf-agent with existing collector

### v0.0.124 / 2024-12-10

- [Feat] remove hostmetrics from the pipeline in default values.yaml, as it is added automatically by the preset
Expand Down
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.125
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
12 changes: 12 additions & 0 deletions otel-integration/k8s-helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,18 @@ 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"
2 changes: 1 addition & 1 deletion otel-integration/k8s-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
defaultSubsystemName: "integration"
logLevel: "warn"
collectionInterval: "30s"
version: "0.0.123"
version: "0.0.125"

extensions:
kubernetesDashboard:
Expand Down

0 comments on commit 0a5f178

Please sign in to comment.