Skip to content

Commit

Permalink
[otel-integration] add extraConfig (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv authored Jan 31, 2025
1 parent 19c11b4 commit 2be887a
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 9 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.138 / 2025-01-31

- [Feat] Add extraConfig to allow adding extra processors, receivers, exporters, and connectors to the collector.

### v0.0.137 / 2025-01-29

- [Feat] Enable hostEntity and kubernetesResource preset
Expand Down
12 changes: 6 additions & 6 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.137
version: 0.0.138
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand All @@ -11,27 +11,27 @@ keywords:
dependencies:
- name: opentelemetry-collector
alias: opentelemetry-agent
version: "0.105.1"
version: "0.105.2"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent.enabled
- name: opentelemetry-collector
alias: opentelemetry-agent-windows
version: "0.105.1"
version: "0.105.2"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent-windows.enabled
- name: opentelemetry-collector
alias: opentelemetry-cluster-collector
version: "0.105.1"
version: "0.105.2"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-cluster-collector.enabled
- name: opentelemetry-collector
alias: opentelemetry-receiver
version: "0.105.1"
version: "0.105.2"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-receiver.enabled
- name: opentelemetry-collector
alias: opentelemetry-gateway
version: "0.105.1"
version: "0.105.2"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-gateway.enabled
- name: coralogix-ebpf-agent
Expand Down
113 changes: 110 additions & 3 deletions 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.137"
version: "0.0.138"

extensions:
kubernetesDashboard:
Expand Down Expand Up @@ -47,7 +47,42 @@ opentelemetry-agent:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName

# Extra config for the collector
# This is used to add extra receivers, processors, exporters, and connectors
# to the "logs", "metrics", and "traces" pipelines and other pipelines managed by the chart.
# Processors are added at the end of the pipeline before batching.
# You cannot use this to add new pipelines, instead use the
# config.service.pipelines field to add new pipelines.
extraConfig: {}
# extraConfig:
# receivers:
# otlp/3:
# protocols:
# grpc:
# endpoint: ${env:MY_POD_IP}:4317
# http:
# endpoint: ${env:MY_POD_IP}:4318
# processors:
# batch: {}
# exporters:
# debug/2: {}
# connectors:
# spanmetrics/2:
# metrics:
# enabled: true
# service:
# pipelines:
# logs:
# receivers:
# - otlp/3
# processors:
# - batch/2
# exporters:
# - debug/2
# metrics:
# receivers:
# - otlp/3
# - spanmetrics/2
targetAllocator:
enabled: false
replicas: 1
Expand Down Expand Up @@ -464,7 +499,42 @@ opentelemetry-cluster-collector:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName

# Extra config for the collector
# This is used to add extra receivers, processors, exporters, and connectors
# to the "logs", "metrics", and "traces" pipelines and other pipelines managed by the chart.
# Processors are added at the end of the pipeline before batching.
# You cannot use this to add new pipelines, instead use the
# config.service.pipelines field to add new pipelines.
extraConfig: {}
# extraConfig:
# receivers:
# otlp/3:
# protocols:
# grpc:
# endpoint: ${env:MY_POD_IP}:4317
# http:
# endpoint: ${env:MY_POD_IP}:4318
# processors:
# batch: {}
# exporters:
# debug/2: {}
# connectors:
# spanmetrics/2:
# metrics:
# enabled: true
# service:
# pipelines:
# logs:
# receivers:
# - otlp/3
# processors:
# - batch/2
# exporters:
# - debug/2
# metrics:
# receivers:
# - otlp/3
# - spanmetrics/2
config:
extensions:
zpages:
Expand Down Expand Up @@ -741,6 +811,43 @@ opentelemetry-gateway:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
# Extra config for the collector
# This is used to add extra receivers, processors, exporters, and connectors
# to the "logs", "metrics", and "traces" pipelines and other pipelines managed by the chart.
# Processors are added at the end of the pipeline before batching.
# You cannot use this to add new pipelines, instead use the
# config.service.pipelines field to add new pipelines.
extraConfig: {}
# extraConfig:
# receivers:
# otlp/3:
# protocols:
# grpc:
# endpoint: ${env:MY_POD_IP}:4317
# http:
# endpoint: ${env:MY_POD_IP}:4318
# processors:
# batch: {}
# exporters:
# debug/2: {}
# connectors:
# spanmetrics/2:
# metrics:
# enabled: true
# service:
# pipelines:
# logs:
# receivers:
# - otlp/3
# processors:
# - batch/2
# exporters:
# - debug/2
# metrics:
# receivers:
# - otlp/3
# - spanmetrics/2

presets:
fleetManagement:
enabled: false
Expand Down

0 comments on commit 2be887a

Please sign in to comment.