From d554edffa475fa23b8e088020912e77a6c97362d Mon Sep 17 00:00:00 2001
From: Povilas Versockas
Date: Thu, 23 May 2024 06:12:12 +0300
Subject: [PATCH] [otel-integration] add status_code dimension to spanmetrics
preset
---
otel-integration/CHANGELOG.md | 3 +++
otel-integration/k8s-helm/Chart.yaml | 2 +-
otel-integration/k8s-helm/values.yaml | 4 +++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/otel-integration/CHANGELOG.md b/otel-integration/CHANGELOG.md
index ff651768..71e4aa2f 100644
--- a/otel-integration/CHANGELOG.md
+++ b/otel-integration/CHANGELOG.md
@@ -2,6 +2,9 @@
## OpenTelemtry-Integration
+### v0.0.75 / 2024-06-03
+- [FEAT] Add status_code to spanmetrics preset
+
### v0.0.74 / 2024-05-28
- [FEAT] Bump Collector to 0.101.0
- [FEAT] Allow setting dimensions to spanMetricsMulti preset
diff --git a/otel-integration/k8s-helm/Chart.yaml b/otel-integration/k8s-helm/Chart.yaml
index 81da6ece..f3f9ef69 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.74
+version: 0.0.75
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
diff --git a/otel-integration/k8s-helm/values.yaml b/otel-integration/k8s-helm/values.yaml
index 12e04c17..2fa43089 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.74"
+ version: "0.0.75"
extensions:
kubernetesDashboard:
@@ -128,6 +128,7 @@ opentelemetry-agent:
- name: http.method
- name: cgx.transaction
- name: cgx.transaction.root
+ - name: status_code
# Configures the collector to export span metrics with different histogram bucket options
# for different applications. Applications are selected and routed to different pipelines
# using OTTL. For more information see https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/connector/routingconnector
@@ -140,6 +141,7 @@ opentelemetry-agent:
- name: http.method
- name: cgx.transaction
- name: cgx.transaction.root
+ - name: status_code
defaultHistogramBuckets:
[1ms, 4ms, 10ms, 20ms, 50ms, 100ms, 200ms, 500ms, 1s, 2s, 5s]
configs: []