diff --git a/otel-integration/CHANGELOG.md b/otel-integration/CHANGELOG.md index bc82a6ec..f3c92abb 100644 --- a/otel-integration/CHANGELOG.md +++ b/otel-integration/CHANGELOG.md @@ -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 diff --git a/otel-integration/k8s-helm/Chart.yaml b/otel-integration/k8s-helm/Chart.yaml index f6387b01..ee3ef5d3 100644 --- a/otel-integration/k8s-helm/Chart.yaml +++ b/otel-integration/k8s-helm/Chart.yaml @@ -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 diff --git a/otel-integration/k8s-helm/README.md b/otel-integration/k8s-helm/README.md index 33553431..57e5fe97 100644 --- a/otel-integration/k8s-helm/README.md +++ b/otel-integration/k8s-helm/README.md @@ -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: @@ -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 @@ -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= ``` diff --git a/otel-integration/k8s-helm/values-ebpf-agent.yaml b/otel-integration/k8s-helm/values-ebpf-agent.yaml new file mode 100644 index 00000000..4675a3da --- /dev/null +++ b/otel-integration/k8s-helm/values-ebpf-agent.yaml @@ -0,0 +1,7 @@ +opentelemetry-agent: + presets: + spanMetrics: + enabled: true + +coralogix-ebpf-agent: + enabled: true \ No newline at end of file diff --git a/otel-integration/k8s-helm/values.yaml b/otel-integration/k8s-helm/values.yaml index 6d18746d..6216464e 100644 --- a/otel-integration/k8s-helm/values.yaml +++ b/otel-integration/k8s-helm/values.yaml @@ -5,7 +5,7 @@ global: defaultSubsystemName: "integration" logLevel: "warn" collectionInterval: "30s" - version: "0.0.128" + version: "0.0.129" extensions: kubernetesDashboard: