Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy ebpf agent without collector #486

Merged
merged 1 commit into from
Dec 12, 2024
Merged
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
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
Loading