Skip to content

Commit

Permalink
[otel-integration] fix operator and add new preset (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Apr 2, 2024
1 parent 2b4602d commit 35fa2c8
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
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.67 / 2024-04-02

- [FIX] Operator generate CRD missing environment variables
- [FEAT] Add new reduceResourceAttributes preset, which removes uids and other unnecessary resource attributes from metrics.

### v0.0.66 / 2024-03-26

- [FEAT] add spanMetricsMulti preset, which allows to specify histogram buckets per application.
Expand Down
10 changes: 5 additions & 5 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.66
version: 0.0.67
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand All @@ -11,22 +11,22 @@ keywords:
dependencies:
- name: opentelemetry-collector
alias: opentelemetry-agent
version: "0.81.6"
version: "0.81.8"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent.enabled
- name: opentelemetry-collector
alias: opentelemetry-agent-windows
version: "0.81.6"
version: "0.81.8"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent-windows.enabled
- name: opentelemetry-collector
alias: opentelemetry-cluster-collector
version: "0.81.6"
version: "0.81.8"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-cluster-collector.enabled
- name: opentelemetry-collector
alias: opentelemetry-gateway
version: "0.81.6"
version: "0.81.8"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-gateway.enabled
sources:
Expand Down
10 changes: 10 additions & 0 deletions otel-integration/k8s-helm/values-crd-override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ opentelemetry-agent:
generate: true
configMap:
create: false
# for some reason Operator automatically adds
# 4317, 6831, 14268 ports, which leads to duplicate errors
# Workaround - we remove them manually.
ports:
otlp:
enabled: false
jaeger-compact:
enabled: false
jaeger-thrift:
enabled: false

opentelemetry-cluster-collector:
collectorCRD:
Expand Down
6 changes: 5 additions & 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.66"
version: "0.0.67"

extensions:
kubernetesDashboard:
Expand Down Expand Up @@ -139,6 +139,10 @@ opentelemetry-agent:
# histogramBuckets: [1s, 2s]
# - selector: route() where attributes["service.name"] == "two"
# histogramBuckets: [5s, 10s]
# Removes uids and other uneeded attributes from metric resources.
# This reduces target_info cardinality.
reduceResourceAttributes:
enabled: false
config:
extensions:
zpages:
Expand Down

0 comments on commit 35fa2c8

Please sign in to comment.