From 2a79e8b3a80965b27c4fb4306667bb3e365cf115 Mon Sep 17 00:00:00 2001
From: Povilas Versockas
Date: Thu, 24 Oct 2024 14:27:12 +0300
Subject: [PATCH] [opentelemetry-integration] update collector and target
allocator
---
otel-integration/CHANGELOG.md | 4 ++++
otel-integration/k8s-helm/Chart.yaml | 12 ++++++------
.../k8s-helm/e2e-test/expected_test.go | 2 +-
otel-integration/k8s-helm/values.yaml | 14 ++++----------
4 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/otel-integration/CHANGELOG.md b/otel-integration/CHANGELOG.md
index fc45d5e2..5216ec21 100644
--- a/otel-integration/CHANGELOG.md
+++ b/otel-integration/CHANGELOG.md
@@ -2,6 +2,10 @@
## OpenTelemtry-Integration
+### v0.0.110 / 2024-10-25
+- [Feat] Bump collector version to `0.112.0`
+- [Fix] Generated Opentelemetry CRDs for hostmetrics
+
### v0.0.109 / 2024-10-23
- [Feat] E2E Testing: Populated hostmetrics maps and enable process metrics
diff --git a/otel-integration/k8s-helm/Chart.yaml b/otel-integration/k8s-helm/Chart.yaml
index 6f7d27bb..5f4fc354 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.109
+version: 0.0.110
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
@@ -11,27 +11,27 @@ keywords:
dependencies:
- name: opentelemetry-collector
alias: opentelemetry-agent
- version: "0.95.4"
+ version: "0.96.1"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent.enabled
- name: opentelemetry-collector
alias: opentelemetry-agent-windows
- version: "0.95.4"
+ version: "0.96.1"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent-windows.enabled
- name: opentelemetry-collector
alias: opentelemetry-cluster-collector
- version: "0.95.4"
+ version: "0.96.1"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-cluster-collector.enabled
- name: opentelemetry-collector
alias: opentelemetry-receiver
- version: "0.95.4"
+ version: "0.96.1"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-receiver.enabled
- name: opentelemetry-collector
alias: opentelemetry-gateway
- version: "0.95.4"
+ version: "0.96.1"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-gateway.enabled
sources:
diff --git a/otel-integration/k8s-helm/e2e-test/expected_test.go b/otel-integration/k8s-helm/e2e-test/expected_test.go
index 815d8283..203214e9 100644
--- a/otel-integration/k8s-helm/e2e-test/expected_test.go
+++ b/otel-integration/k8s-helm/e2e-test/expected_test.go
@@ -5,7 +5,7 @@ var expectedSchemaURL = map[string]bool{
"https://opentelemetry.io/schemas/1.9.0": false,
}
-const expectedScopeVersion = "0.111.0"
+const expectedScopeVersion = "0.112.0"
var expectedScopeNames = map[string]bool{
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper": false,
diff --git a/otel-integration/k8s-helm/values.yaml b/otel-integration/k8s-helm/values.yaml
index f6e42fde..91520323 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.109"
+ version: "0.0.110"
extensions:
kubernetesDashboard:
@@ -42,6 +42,8 @@ opentelemetry-agent:
key: PRIVATE_KEY
- name: OTEL_RESOURCE_ATTRIBUTES
value: "k8s.node.name=$(K8S_NODE_NAME)"
+ - name: HOST_PROC_MOUNTINFO
+ value: "/hostfs/proc/1/"
- name: KUBE_NODE_NAME
valueFrom:
fieldRef:
@@ -58,12 +60,10 @@ opentelemetry-agent:
scrapeInterval: 30s
image:
repository: ghcr.io/open-telemetry/opentelemetry-operator/target-allocator
- tag: v0.105.0
+ tag: v0.111.0
- # Temporary feature gates to prevent breaking changes. Please see changelog for version 0.0.85 for more information.
command:
name: otelcol-contrib
- extraArgs: ["--feature-gates=component.UseLocalHostAsDefaultHost"]
serviceAccount:
# Specifies whether a service account should be created
@@ -441,10 +441,8 @@ opentelemetry-cluster-collector:
kubernetesResources:
enabled: false
- # Temporary feature gates to prevent breaking changes. Please see changelog for version 0.0.85 for more information.
command:
name: otelcol-contrib
- extraArgs: ["--feature-gates=component.UseLocalHostAsDefaultHost"]
extraEnvs:
- name: CORALOGIX_PRIVATE_KEY
@@ -745,10 +743,8 @@ opentelemetry-gateway:
enabled: true
clusterName: "{{.Values.global.clusterName}}"
integrationName: "coralogix-integration-helm"
- # Temporary feature gates to prevent breaking changes. Please see changelog for version 0.0.85 for more information.
command:
name: otelcol-contrib
- extraArgs: ["--feature-gates=component.UseLocalHostAsDefaultHost"]
config:
extensions:
@@ -940,10 +936,8 @@ opentelemetry-receiver:
enabled: true
clusterName: "{{.Values.global.clusterName}}"
integrationName: "coralogix-integration-helm"
- # Temporary feature gates to prevent breaking changes. Please see changelog for version 0.0.85 for more information.
command:
name: otelcol-contrib
- extraArgs: ["--feature-gates=component.UseLocalHostAsDefaultHost"]
config:
extensions: