From 572c6a9bf6f806bbb7d987d81bfbcc32ee604183 Mon Sep 17 00:00:00 2001 From: Povilas Versockas Date: Thu, 19 Dec 2024 17:05:55 +0200 Subject: [PATCH] [otel-integration] add service.version to dbMetrics and spanMetrics --- otel-integration/CHANGELOG.md | 4 ++++ otel-integration/k8s-helm/Chart.yaml | 12 ++++++------ otel-integration/k8s-helm/values.yaml | 8 +++++++- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/otel-integration/CHANGELOG.md b/otel-integration/CHANGELOG.md index 8803115f..3dd9a188 100644 --- a/otel-integration/CHANGELOG.md +++ b/otel-integration/CHANGELOG.md @@ -2,6 +2,10 @@ ## OpenTelemtry-Integration +### v0.0.126 / 2024-12-19 + +- [Feat] add service.version to spanMetrics and dbMetrics + ### v0.0.125 / 2024-12-12 - [Feat] allow deploying of coralogix-ebpf-agent with existing collector diff --git a/otel-integration/k8s-helm/Chart.yaml b/otel-integration/k8s-helm/Chart.yaml index 4a0fd7f9..8d67a6a7 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.125 +version: 0.0.126 keywords: - OpenTelemetry Collector - OpenTelemetry Agent @@ -11,27 +11,27 @@ keywords: dependencies: - name: opentelemetry-collector alias: opentelemetry-agent - version: "0.99.0" + version: "0.100.0" repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual condition: opentelemetry-agent.enabled - name: opentelemetry-collector alias: opentelemetry-agent-windows - version: "0.99.0" + version: "0.100.0" repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual condition: opentelemetry-agent-windows.enabled - name: opentelemetry-collector alias: opentelemetry-cluster-collector - version: "0.99.0" + version: "0.100.0" repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual condition: opentelemetry-cluster-collector.enabled - name: opentelemetry-collector alias: opentelemetry-receiver - version: "0.99.0" + version: "0.100.0" repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual condition: opentelemetry-receiver.enabled - name: opentelemetry-collector alias: opentelemetry-gateway - version: "0.99.0" + version: "0.100.0" repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual condition: opentelemetry-gateway.enabled - name: coralogix-ebpf-agent diff --git a/otel-integration/k8s-helm/values.yaml b/otel-integration/k8s-helm/values.yaml index 63d123f8..581ddcea 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.125" + version: "0.0.126" extensions: kubernetesDashboard: @@ -138,12 +138,18 @@ opentelemetry-agent: collectionInterval: "{{.Values.global.collectionInterval}}" spanMetrics: enabled: false + # Configures collector to add service.version to spanMetrics dimensions + serviceVersion: + enabled: true # transformStatements: # - set(attributes["http.response.status_code"], attributes["http.status_code"]) where attributes["http.response.status_code"] == nil errorTracking: enabled: true dbMetrics: enabled: true + # Configures collector to add service.version to spanMetrics dimensions + serviceVersion: + enabled: true # transformStatements: # - set(attributes["db.namespace"], attributes["db.name"]) where attributes["db.namespace"] == nil # - set(attributes["db.namespace"], attributes["server.address"]) where attributes["db.namespace"] == nil