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

default span metrics in ebpf agent deployment #491

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
5 changes: 5 additions & 0 deletions otel-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## OpenTelemtry-Integration


### v0.0.129 / 2024-12-25

- [Feat] default to span metrics enable for ebpf agent deployment

### v0.0.128 / 2024-12-23

- [Feat] add k8s ipv6 only support
Expand Down
2 changes: 1 addition & 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.128
version: 0.0.129
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand Down
18 changes: 11 additions & 7 deletions otel-integration/k8s-helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ Componentes:
- k8s-watcher - The agent that watches for changes in k8s resources and publishes them to redis pubsub for coralogix-ebpf-agent to consume them, running as a deployment with 1 replica.
- redis - Redis Pubsub is used for communication between k8s-watcher and coralogix-ebpf-agent, running as a sts with 1 replica.

to enable the coralogix-ebpf-agent deployment, set `coralogix-ebpf-agent.enabled` to `true` in the `values.yaml` file.

# Prerequisites

Make sure you have at least these version of the following installed:
Expand Down Expand Up @@ -438,9 +436,17 @@ helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-
--render-subchart-notes -f values.yaml -f ipv6-values.yaml
```

### Enabling Coralogix EBPF Agent
### Deploying Coralogix EBPF Agent

```bash
helm upgrade --install otel-coralogix coralogix-charts-virtual/otel-integration \
--render-subchart-notes -f values-ebpf-agent.yaml
```

To enable the coralogix EBPF agent, set `coralogix-ebpf-agent.enabled` to `true` in the `values.yaml` file.
By default, coralogix ebpf agent will be deployed with the [span metrics preset](#about-span-metrics) enabled.
since due to the usual high volume of spans collected by the ebpf agent, it is recommended to use
[Coralogix APM with span metrics](https://coralogix.com/docs/user-guides/apm/getting-started/span-metrics/)
to disable this, you can edit to the `values-ebpf-agent.yaml` file and set `presets.spanMetrics.enabled` to `false`.

#### Filtering Specific Services For Coralogix EBPF Agent

Expand Down Expand Up @@ -481,9 +487,7 @@ If you already have an existing OpenTelemetry Collector deployment and you want
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 \
helm upgrade --install otel-coralogix 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>
```

Expand Down
7 changes: 7 additions & 0 deletions otel-integration/k8s-helm/values-ebpf-agent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
opentelemetry-agent:
presets:
spanMetrics:
enabled: true

coralogix-ebpf-agent:
enabled: true
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.128"
version: "0.0.129"

extensions:
kubernetesDashboard:
Expand Down
Loading